On Tue, 2008-05-13 at 13:50 +1200, Laszlo (Laca) Peter wrote:
> On Mon, 2008-05-12 at 16:17 -0700, Rodney wrote:
> > As well as giving myself "Primary Administrator" and "Software
> > Installation" profiles I tried changing my group to "root" and it made
> > no difference.
> 
> pkgtool currently requires Software Installation.
> I'll update the script in the next version to accept Primary
> Administrator too.  The group doesn't matter.
> 
> > I still see builds reach the stage of installing the compiled files
> > but the "mkinstalldirs" script crashes out when it tries to "mkdir",
> > apparently not having authorisation to run mkdir (I'm guessing this
> > because although it complains that it can't find mkdir, I can manually
> > run make install).
> 
> I suspect that the spec file you are trying to build is broken.
> Which one is it?  It shouldn't create files during the build in
> directories where it has no permission to do so.
> 
> > In fact, even with the profiles and group set as above I have to run
> > "pfexec -P all /opt/pkgbuild/bin/pktool" not just "pkgtool" or the
> > spec file build halts right at the start. It halts if I don't use the
> > fully pathname (even though I've symlinked
> > to /opt/pkgbuild/bin/pkgtool in /usr/bin) and it halts if I don't use
> > "pfexec -P all".
> 
> You don't need to run pkgtool via pfexec.  pkgtool calls pfexec when
> needed (for installing/uninstalling packages).  Otherwise the build
> should run as a non-privileged user to avoid accidentally messing
> up your system.

I have to admit, I've had the same problem as well, even when Software
Installation is selected, it still doesn't compile. Worse, I think is
when all the compiling and things are hidden from view, or the links to
downloading source code are always broken. Its a nightmare from top to
bottom.

With that being said, I'd sooner see JDS stable being rebuilt every week
to allow people to update their JDS installations - because right now I
have a frankenstein setup of various versions of Firefox running because
the one included with JDS is old, out of date and a giant security risk.

Matthew


Reply via email to