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 » 30. Sep 2009, 11:15

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 » 30. Sep 2009, 17:05

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 » 30. Sep 2009, 18:32

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: 5536
Joined: 6. Jun 2009, 17:40

Re: package check

Post by gapan » 30. Sep 2009, 19:42

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 » 1. Oct 2009, 09:39

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 » 1. Oct 2009, 10:57

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: 5536
Joined: 6. Jun 2009, 17:40

Re: package check

Post by gapan » 1. Oct 2009, 11:26

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 » 1. Oct 2009, 11:30

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 » 1. Oct 2009, 15:52

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 » 1. Oct 2009, 21:37

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