Page 1 of 2

package check

Posted: 30. Sep 2009, 11:15
by ajaykumar.mysore
Do I have any package to check the packages built like zenpkgcheck in zenwalk..??
Can any 1 please help me..??

Re: package check

Posted: 30. Sep 2009, 17:05
by thenktor
Just use slkbuild and you won't need a check tool :P ;)

Re: package check

Posted: 30. Sep 2009, 18:32
by Shador
You do. ;) I just packaged a program (lablgtk) whose developer kept his non-root permissions. SLKBUILD didn't fix it but zen-pkgcheck.pl detected it, so I could fix it manually. xD

Re: package check

Posted: 30. Sep 2009, 19:42
by gapan
You can use the zenpkgcheck package from zenwalk for now...

Re: package check

Posted: 1. Oct 2009, 09:39
by thenktor
Shador wrote:You do. ;) I just packaged a program (lablgtk) whose developer kept his non-root permissions. SLKBUILD didn't fix it but zen-pkgcheck.pl detected it, so I could fix it manually. xD
Use fakeroot ;)

Re: package check

Posted: 1. Oct 2009, 10:57
by Shador
thenktor wrote:
Shador wrote:You do. ;) I just packaged a program (lablgtk) whose developer kept his non-root permissions. SLKBUILD didn't fix it but zen-pkgcheck.pl detected it, so I could fix it manually. xD
Use fakeroot ;)
I do: ;)
alias build="fakeroot slkbuild -X"

Re: package check

Posted: 1. Oct 2009, 11:26
by gapan
fakeroot has nothing to do with it. If the makefile incorrectly does a chown that it shouldn't do, it will end up with bad ownerships in the package. Except zen-pkgcheck.pl, you can view the ownerships in the slkbuild build log by the way.

Re: package check

Posted: 1. Oct 2009, 11:30
by ajaykumar.mysore
gapan wrote:fakeroot has nothing to do with it. If the makefile incorrectly does a chown that it shouldn't do, it will end up with bad ownerships in the package. Except zen-pkgcheck.pl, you can view the ownerships in the slkbuild build log by the way.
Yes slkbuild log helps a lot to identify the ownerships. Still zen-pkgcheck is a good tool for the beginners to learn the packaging and its debugging

Re: package check

Posted: 1. Oct 2009, 15:52
by Shador
I usually run zen-pkgcheck directly after the build (another alias :D), so that I see such errors early. Additionally I manually more extensively check (the final) package.

Re: package check

Posted: 1. Oct 2009, 21:37
by thenktor
BTW: Why does slkbuild not check for such wrong ownerships and ask if it should correct it?