Re: [pacman-dev] makepkg: package splitting
Am Montag, den 08.12.2008, 12:35 +1000 schrieb Allan McRae:
I have finished implementing the basics of package splitting in makepkg. Everything works as expected when just making packages and capturing logs but there is some small output issues that need tidying up and checking that other functionality work (e.g. repackaging is an issue....)
Hello Allan, i've tested the script and found some bugs: The sourcing of makepkg.conf is in a wrong location (far to late). If you display the usage via --help you get no PKGBUILD mentioned in usages output. If you specify another buildscript via -p you get that mentioned in usage but it gets overwritten by the contents of makepkg.conf when it gets sourced in later before the actual build is done. If you give -c to makepkg the pkgdirs of the splitpackages don't get erased. But the actual build and logging went fine, thank you :) Hope that helps, Marc
Marc - A. Dahlhaus [ Administration | Westermann GmbH ] wrote:
Am Montag, den 08.12.2008, 12:35 +1000 schrieb Allan McRae:
I have finished implementing the basics of package splitting in makepkg. Everything works as expected when just making packages and capturing logs but there is some small output issues that need tidying up and checking that other functionality work (e.g. repackaging is an issue....)
Hello Allan,
i've tested the script and found some bugs:
The sourcing of makepkg.conf is in a wrong location (far to late). If you display the usage via --help you get no PKGBUILD mentioned in usages output. If you specify another buildscript via -p you get that mentioned in usage but it gets overwritten by the contents of makepkg.conf when it gets sourced in later before the actual build is done.
Good catch.... I have no idea what caused that! Should not be herd to track down though.
If you give -c to makepkg the pkgdirs of the splitpackages don't get erased.
Someone is either running makepkg as root or without fakeroot... Anyway, thats an easy fix.
But the actual build and logging went fine, thank you :)
Good to see the bits I tested actually working! Thanks for your help. Allan
Allan McRae wrote:
Marc - A. Dahlhaus [ Administration | Westermann GmbH ] wrote:
Am Montag, den 08.12.2008, 12:35 +1000 schrieb Allan McRae:
I have finished implementing the basics of package splitting in makepkg. Everything works as expected when just making packages and capturing logs but there is some small output issues that need tidying up and checking that other functionality work (e.g. repackaging is an issue....)
Hello Allan,
i've tested the script and found some bugs:
The sourcing of makepkg.conf is in a wrong location (far to late). If you display the usage via --help you get no PKGBUILD mentioned in usages output. If you specify another buildscript via -p you get that mentioned in usage but it gets overwritten by the contents of makepkg.conf when it gets sourced in later before the actual build is done.
Good catch.... I have no idea what caused that! Should not be herd to track down though.
This was actually not my fault! It is an issue with the current master branch. Separate post on its way...
If you give -c to makepkg the pkgdirs of the splitpackages don't get erased.
Someone is either running makepkg as root or without fakeroot... Anyway, thats an easy fix.
Fixed. Allan
participants (2)
-
Allan McRae
-
Marc - A. Dahlhaus [ Administration | Westermann GmbH ]