Tinderbox quirks
Joe Marcus Clarke
marcus at marcuscom.com
Fri Nov 25 13:30:34 EST 2005
On Fri, 2005-11-25 at 15:10 +1100, Edwin Groothuis wrote:
> > > - phase 2 build still goes on even if phase 1 has failed. Specially
> > > for ports which takes seven days to compile, this is a waste of
> > > time.
> >
> > This is by design. The phase 2 build is there to catch transient build
> > problems that may have occurred in phase 1. A patch to conditionally
> > disable phase 2 would be entertained.
>
> What kind of transient build errors are you thinking about?
ccache errors relating to NFS, coredumps, etc. On my i386 box on which
I use NFS, phase 2 comes in very handy.
>
> > > - /proc and /compat/linux/proc filesystem. One works, one doesn't.
> >
> > What do you mean? Which works and which does not? What does it mean to
> > not work?
>
> /proc - when trying to build a port which which required /proc
> (can't remember which one, was commited in the last two days),
> explicity checked for /proc/curproc and complained that it procfs
> wasn't mounted.
Hmm, I'd have to look into this. Both proc file systems are mounted
into the Build, and should be functional.
>
> > > - echo ^G required when the build is finished. Specially with long
> > > builds and virtual desktops.
> > That can be added.
>
> Thank you.
I added this to HEAD.
>
> > > - ports and dependencies which are IGNORED don't show up in the
> > > current build page, hard to find reasons why builds fail.
> >
> > Yeah, this is a byproduct of the pointyhat stuff. I can probably fix
> > this.
>
> Would be very appreciated.
>
> > > - with left-over files, it's hard to re-run because you have to
> > > delete the file from /spaces/packets/xxx-freebsd/All/xxxx. Option
> > > for buildport?
> >
> > Any change to the plist should include a PORTREVISION change. However,
> > if your port is in the database, and you run a tinderbuild specifically
> > for that port, it will force a rebuild.
>
> Hmmm... I normally use:
>
> tc addPort -b ${OSVERSION}-FreeBSD -r -d ${PORT}
> tinderbuild -nullfs -b ${OSVERSION}-FreeBSD ${PORT}
>
> That should be enough, not?
Yes.
>
> > > - enterjail script should be supported. nothing beats being able
> > > to run a make configure yourself.
> >
> > I have integrated this support into HEAD, and I will merge it into the
> > 2.x branch for 2.2.0.
>
> Cool!
>
> I have a remark about it:
>
> Absence of a proper shell kills the usability. For example,
> /work/a/usr/ports/foo/bar/work/bar-x.y.z is not a string you
> want to have to enter three times. After the enterjail stops
> sleeping, I have added a call to a script which copies a lot
> of useful(YMMV) things to /opt, for example bash and friends
> and my makediff script. Then calling /opt/bash and /opt/makediff
> will give you the powers you need while not poluting /usr/local
> and others.
I thought about using another shell other than sh. What about just
using tcsh from the build? This would not require any additional things
to be installed on the host, and would work regardless of Jail version.
Joe
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://marcuscom.com/pipermail/tinderbox-list/attachments/20051125/f4366c13/attachment.bin
More information about the tinderbox-list
mailing list