[pacman-dev] makepkg: package splitting

Allan McRae allan at archlinux.org
Tue Dec 9 06:57:41 EST 2008


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





More information about the pacman-dev mailing list