From owner-freebsd-current@freebsd.org Sat Nov 14 01:48:10 2015 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CB462A2F8F6 for ; Sat, 14 Nov 2015 01:48:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id AE3031FF7; Sat, 14 Nov 2015 01:48:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id A1F751A3F; Sat, 14 Nov 2015 01:48:10 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 6664516341; Sat, 14 Nov 2015 01:48:10 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id UwmNIGf6K6Bi; Sat, 14 Nov 2015 01:48:07 +0000 (UTC) Subject: Re: buildworld broken DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 8D4C91633B To: Konstantin Belousov , Ian Lepore References: <20151101164707.GA5847@troutmask.apl.washington.edu> <20151108182817.GA49944@troutmask.apl.washington.edu> <1447091772.91534.483.camel@freebsd.org> <20151110063106.GJ2257@kib.kiev.ua> Cc: Chris H , freebsd-current@freebsd.org From: Bryan Drewery X-Enigmail-Draft-Status: N1110 Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <564692D4.3050307@FreeBSD.org> Date: Fri, 13 Nov 2015 17:48:04 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151110063106.GJ2257@kib.kiev.ua> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="txSBvx3dOHCajQCrXSs2INPp78bdjO3xh" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Nov 2015 01:48:11 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --txSBvx3dOHCajQCrXSs2INPp78bdjO3xh Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 11/9/2015 10:31 PM, Konstantin Belousov wrote: >> In 19 years of using freebsd, I have never once needed to chflags on a= n >> obj directory. Nothing in the build process sets any non-standard >> flags in the obj dirs, and a simple rm -rf will remove everything just= >> fine (you would need to sudo the rm -rf if you built as root). > You do not build amd64 as root, do you ? >=20 > pooma% ls -lo obj-amd64/usr/home/kostik/work/build/bsd/DEV/src/lib32/us= r/lib32/libc.so.7 > -r--r--r-- 1 root wheel schg 1429600 Oct 24 23:23 obj-amd64/usr/home= /kostik/work/build/bsd/DEV/src/lib32/usr/lib32/libc.so.7 >=20 > This is an annoyance with COMPAT32 build which existed forewer. r290812 should fix this. I was not able to reproduce though. Do you have INSTALL defined in your /etc/make.conf? Before the fix I had during buildworld: sh /root/svn/base/tools/install.sh -o root -g wheel -m 444 -fschg -S libthr.so.3 /usr/obj/root/svn/base/lib32/usr/lib32/ It does pass the -fschg flag to install, but it is also using the install.sh script which just eats the -f flag. The result is: -rwxr-xr-x 1 root wheel uarch 122069 Nov 13 16:36 /usr/obj/root/svn/base/lib32/usr/lib32/libthr.so.3* I find no schg on libc.so.7 either: > ~/svn/base # find /usr/obj/root/svn/base -name libc.so.7 -exec ls -alo = {} + > -rw-r--r-- 1 root wheel uarch 1872397 Nov 13 16:13 /usr/obj/root/svn= /base/lib/libc/libc.so.7 > -rwxr-xr-x 1 root wheel uarch 1604846 Nov 13 16:35 /usr/obj/root/svn= /base/lib32/usr/lib32/libc.so.7 > -rwxr-xr-x 1 root wheel uarch 1872397 Nov 13 16:13 /usr/obj/root/svn= /base/tmp/lib/libc.so.7 > -rw-r--r-- 1 root wheel uarch 1604846 Nov 13 16:35 /usr/obj/root/svn= /base/world32/root/svn/base/lib/libc/libc.so.7 With the fix the -fschg is removed for the objtree install: sh /root/svn/base/tools/install.sh -o root -g wheel -m 444 -S libc.so.7 /usr/obj/root/svn/base/lib32/usr/lib32/ All is fine in the DESTDIR still: ~/svn/base # make installworld -j15 DESTDIR=3D/tmp/blah =2E.. ~/svn/base # ls -alo /tmp/blah/{usr/,}lib*/libc.so.7 -r--r--r-- 1 root wheel schg 1872397 Nov 13 17:41 /tmp/blah/lib/libc.s= o.7 -r--r--r-- 1 root wheel schg 1604846 Nov 13 17:42 /tmp/blah/usr/lib32/libc.so.7 --=20 Regards, Bryan Drewery --txSBvx3dOHCajQCrXSs2INPp78bdjO3xh Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJWRpLUAAoJEDXXcbtuRpfPnGIIAIWOMaUmzIEUB6mtlBMaUhUa uL1f7K6HkPl2zGzg0n860DMp3muQ95T6AQSNJYBTulBwc+oL/bZY47xy2mVcKtAJ 5rHoxlawQLSK5TH95tsrfqqzJZOYR6XXVuSc0wNodq5F5Ro71WUDEX4bu5xjK4ek 7hNqcab5GHOtw9zKS1mo13oOq+kmRomq7xW2DRd/K4MmWA0QHvfGizjbo8f723kr 6W042wRWqBVT0YZ2VbLxkyKoGbMLVj5ixDuagFMmWXDyBEWEJnvUI6H2sWu2YXsn 4nYBc+7Lq7nKPK3DkzsUnI3nQ+dVLmPOHooGc/N3kTAv1gcXjEYJenf4Fpsl2bI= =00q8 -----END PGP SIGNATURE----- --txSBvx3dOHCajQCrXSs2INPp78bdjO3xh--