Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Oct 2013 21:51:29 +0700
From:      Alexey Dokuchaev <danfe@nsu.ru>
To:        Chris Rees <crees@bayofrum.net>
Cc:        ports@freebsd.org, decke@freebsd.org, marcus@freebsd.org, tinderbox-list@marcuscom.com
Subject:   Re: 10.0-hosted tinderbox: 8.4 builds broken?
Message-ID:  <20131020145129.GA11372@regency.nsu.ru>
In-Reply-To: <4ABC4095-7230-4C69-92D4-756057C46296@bayofrum.net>
References:  <20131009110955.GA75075@regency.nsu.ru> <CAE-m3X2CBJochmozViCHKg34ec2eByQuE6ju00Q8ZQD1=8=SXQ@mail.gmail.com> <4d21dc12-2fb5-43a7-a0fd-8ea13c6ebf5a.maildroid@localhost> <20131009212710.GA7998@regency.nsu.ru> <a79af119e97e026884867f2797b059e2@www.bayofrum.net> <4ABC4095-7230-4C69-92D4-756057C46296@bayofrum.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Oct 13, 2013 at 01:36:45PM +0100, Chris Rees wrote:
> It appears that really weird SRCBASE assumptions are made throughout the
> code.  I'll have to put a temporary hack in to just make SRCBASE appear
> inside the chroot whatever it's set to.  Setting and unsetting SRCBASE
> just breaks different things in weird ways, and this is the only reliable
> fix I've found.

I've just setup another tinderbox here on 11-CURRENT and did a fresh
checkout from CVS; I confirm that I can build packages for both 9.2 and
10.0-BETA just fine now, thanks!

However I've noticed another regression: doing chmod g+w /usr/ports/distfiles
in the middle of the tinder run totally confuses it: all build attempts
after chmod fail with identical tiny log files:

  building lcms2-2.5 in directory /usr/home/danfe/tb/9.2-wip
  make: cannot open /a/ports/Mk/bsd.port.mk.
  cd: /usr/ports/graphics/lcms2: No such file or directory

The reason for a chmod: I normally build ports from a user, and to allow
it to fetch distfiles, give write permissions to wheel group.  I also do
./tc configDistfile -c /usr/ports/distfiles, and it always changed perms
back.  It's annoying, but I can live with it: just chmod the damn directory
again.

chmod'ing in the middle of tinder run is because I often do the runs while
installing something from ports manually at the same time.

Previously tinderbox simply complained like this in the end of the build
log:

================================================================
Fatal error: filesystem was touched prior to 'make install' phase
distcache changed
        permissions expected 0755 found 0775
================================================================

But this (and subsequent) packages were still built successfully.

Now chmod'ing totally screws up the whole (remaining) build.

BTW, would it be possible to prevent forcing 0755 perms?  I don't really
see any point for doing this in the first place...

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131020145129.GA11372>