slkbuild doesn't generate build log

General talk about packaging procedures and packages.
Post Reply
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

slkbuild doesn't generate build log

Post by mimosa »

I'm trying to get my head round packaging, and I think I've successfully built my first one (upgrading a very simple package of Shador's, boot_info_script, for current). But the instructions say slkbuild will generate a build log, and I can't find it. slkbuild-postgen lists it.

I downloaded the source, adjusted the SLKBUILD file from 13.37, and ran slkbuild. This produced a script build-boot-info-script.sh which, when executed, produced the package and associated files - but no build log that I can see.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: slkbuild doesn't generate build log

Post by gapan »

Well.. actually no.

If you run the generated buildscript manually, you also have to create the buildlog manually. Something like:

Code: Select all

./build-foo.sh 2>&1 | tee build.log
If you run slkbuild -X or slkbuild -x (so that the buildscript is run for you by slkbuild), then a log is automatically generated.
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: slkbuild doesn't generate build log

Post by thenktor »

gapan wrote:If you run slkbuild -X or slkbuild -x (so that the buildscript is run for you by slkbuild), then a log is automatically generated.
Of course... I've deleted my post.
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
mimosa
Salix Warrior
Posts: 3311
Joined: 25. May 2010, 17:02
Contact:

Re: slkbuild doesn't generate build log

Post by mimosa »

Got it :!:
Post Reply