package check

General talk about packaging procedures and packages.
ajaykumar.mysore
Posts: 21
Joined: 24. Sep 2009, 06:24

package check

Post by ajaykumar.mysore »

Do I have any package to check the packages built like zenpkgcheck in zenwalk..??
Can any 1 please help me..??
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: package check

Post by thenktor »

Just use slkbuild and you won't need a check tool :P ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: package check

Post 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
Image
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: package check

Post by gapan »

You can use the zenpkgcheck package from zenwalk for now...
Image
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: package check

Post 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 ;)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: package check

Post 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"
Image
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: package check

Post 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.
Image
Image
ajaykumar.mysore
Posts: 21
Joined: 24. Sep 2009, 06:24

Re: package check

Post 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
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: package check

Post 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.
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: package check

Post by thenktor »

BTW: Why does slkbuild not check for such wrong ownerships and ask if it should correct it?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply