Page 1 of 1

slkbuild doesn't generate build log

Posted: 6. Aug 2012, 19:41
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.

Re: slkbuild doesn't generate build log

Posted: 7. Aug 2012, 07:43
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.

Re: slkbuild doesn't generate build log

Posted: 7. Aug 2012, 09:32
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.

Re: slkbuild doesn't generate build log

Posted: 7. Aug 2012, 11:15
by mimosa
Got it :!: