Date: Tue, 20 Feb 2018 14:36:16 -0800 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Peter Jeremy <peter@rulingia.com>, freebsd-stable@FreeBSD.org Subject: Re: Problems building 11-stable/i386 with readonly /usr/src Message-ID: <9504c66a-b6ad-d6d1-e811-2b9d54303dc8@FreeBSD.org> In-Reply-To: <20180218091204.GR3353@server.rulingia.com> References: <20180218091204.GR3353@server.rulingia.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --0T39lSV6Jd9KeSKBYGCvtBauIzpi7sAKT Content-Type: multipart/mixed; boundary="w3HSXXIhYefCU8NVxTXPFEDPQiRLskieZ"; protected-headers="v1" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Peter Jeremy <peter@rulingia.com>, freebsd-stable@FreeBSD.org Message-ID: <9504c66a-b6ad-d6d1-e811-2b9d54303dc8@FreeBSD.org> Subject: Re: Problems building 11-stable/i386 with readonly /usr/src References: <20180218091204.GR3353@server.rulingia.com> In-Reply-To: <20180218091204.GR3353@server.rulingia.com> --w3HSXXIhYefCU8NVxTXPFEDPQiRLskieZ Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2/18/18 1:12 AM, Peter Jeremy wrote: > Sometime between r329122 and r329157, my 11-stable i386 box stopped > being able to buildworld with a readonly /usr/src. I've been updating > regularly but the problem still remains at r329450. I don't have any > problems building the same tree on amd64 or building head on i386 or > amd64. Does anyone have any ideas? >=20 > Starting from an empty /usr/obj, the failure is: > ... >>>> stage 4.3: building everything > ... > =3D=3D=3D> stand/zfs (all) > Building /usr/obj/usr/src/stand/zfs/machine > machine -> /usr/src/sys/i386/include > Building /usr/obj/usr/src/stand/zfs/x86 > x86 -> /usr/src/sys/x86/include > Building /usr/obj/usr/src/stand/zfs/zfs.o > Building /usr/obj/usr/src/stand/zfs/skein.o > Building /usr/obj/usr/src/stand/zfs/skein_block.o > Building /usr/obj/usr/src/stand/zfs/libzfsboot.a > building static zfsboot library > =3D=3D=3D> stand/efi (all) > machine -> /usr/src/sys/i386/include > ln: machine: Read-only file system > *** Error code 1 >=20 > Stop. > make[4]: stopped in /usr/src/stand/efi > .ERROR_TARGET=3D'machine' > .ERROR_META_FILE=3D'' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dye= s verbose' > _ERROR_CMD=3D'.PHONY' > .CURDIR=3D'/usr/src/stand/efi' > .MAKE=3D'make' > .OBJDIR=3D'/usr/src/stand/efi' It's wanting to use .OBJDIR=3D.CURDIR. I'm thinking this is due to the bsd.init.mk abuse in stand/. I say "abuse" because bsd.init.mk has this comment and I've only been writing my logic with the assumption that the comment is valid, which I know Warner disagrees with. > # The include file <bsd.init.mk> includes <bsd.opts.mk>, > # ../Makefile.inc and <bsd.own.mk>; this is used at the > # top of all <bsd.*.mk> files that actually "build something" I'll try to get a fix in later today or tomorrow. > .TARGETS=3D'all' > DESTDIR=3D'/usr/obj/usr/src/tmp' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'i386' > MACHINE_ARCH=3D'i386' > MAKEOBJDIRPREFIX=3D'/usr/obj' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20170720' > PATH=3D'/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legac= y/usr/bin:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/= usr/obj/usr/src/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/src' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk /usr/src/share/mk/local.sys= =2Eenv.mk /usr/src/share/mk/src.sys.env.mk /etc/src-env.conf /usr/src/sha= re/mk/bsd.mkopt.mk /etc/make.conf /usr/src/share/mk/local.sys.mk /usr/src= /share/mk/src.sys.mk Makefile /usr/src/share/mk/bsd.init.mk /usr/src/shar= e/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk /usr/src/share/mk/local.ini= t.mk /usr/src/share/mk/src.init.mk /usr/src/stand/efi/../Makefile.inc /us= r/src/stand/efi/../defs.mk /usr/src/share/mk/src.opts.mk /usr/src/share/m= k/bsd.own.mk /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.comp= iler.mk /usr/src/share/mk/bsd.subdir.mk' > .PATH=3D'. /usr/src/stand/efi' > *** Error code 1 >=20 --=20 Regards, Bryan Drewery --w3HSXXIhYefCU8NVxTXPFEDPQiRLskieZ-- --0T39lSV6Jd9KeSKBYGCvtBauIzpi7sAKT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAlqMouEACgkQNddxu25G l8944QgAp/xK3jiRuDZNm5Owt+x3jwOCwvC6uK9ggVKWmEo7nrEddhhgXEdNCQ7w vSP0FDiGf4A3DHqPGjGg8QbdqnyH8Cem0I8GCnZoBf1UADbXQ3njV/Pshpqzjrnd bD3uS0PvgHRj089FoMgGNhzQOvXKp+u2Q2Z4dyp4cWyvQS8Hmj5jBTuXoJOTFyAg 23zRS+MFhSpdIVa3m1b5qyh0D8qsK+0B3PCZ9hXubhBwchPIM3LgEV1O4weLdwkJ XH74ccRJyVRfyI/Vkq/Cw6Gis4m5Bsvh/HfzDGf/XonGlJFYOHkEBNUKhrA0PW+7 SrEgpopPprpdnPv0qVZSSjWD3kSW7g== =K4d8 -----END PGP SIGNATURE----- --0T39lSV6Jd9KeSKBYGCvtBauIzpi7sAKT--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9504c66a-b6ad-d6d1-e811-2b9d54303dc8>