[pacman-dev] makepkg: package splitting

Marc - A. Dahlhaus [ Administration | Westermann GmbH ] mad at wol.de
Tue Dec 9 07:23:07 EST 2008


Am Dienstag, den 09.12.2008, 21:57 +1000 schrieb Allan McRae:
> 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.

I'll tested that again and i forgot to change two of the DESTDIR
locations to the new home of the pkgdirs... So the missing cleanup was
actually a stupid user error...

> > 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