From owner-freebsd-current@freebsd.org Sat Oct 22 15:40:50 2016 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 E8453C1DAE7 for ; Sat, 22 Oct 2016 15:40:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 81D45D6; Sat, 22 Oct 2016 15:40:50 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:7b8:3a7::f9cd:eb1b:c961:7062] (unknown [IPv6:2001:7b8:3a7:0:f9cd:eb1b:c961:7062]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8736513615; Sat, 22 Oct 2016 17:40:47 +0200 (CEST) Content-Type: multipart/signed; boundary="Apple-Mail=_18F95366-4EB4-4496-AE28-CB93E97C1BBA"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: Recent -CURRENT unable to build numerous ports From: Dimitry Andric In-Reply-To: Date: Sat, 22 Oct 2016 17:40:35 +0200 Cc: Marcus von Appen , FreeBSD Current , Jonathan Anderson Message-Id: References: <20161021184451.GA48781@athena.sysfault.org> To: Aryeh Friedman X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 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, 22 Oct 2016 15:40:51 -0000 --Apple-Mail=_18F95366-4EB4-4496-AE28-CB93E97C1BBA Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 22 Oct 2016, at 06:47, Aryeh Friedman = wrote: >=20 >> This was a side-effect of r307676, which added transformation rules = for >> .bco and .llo files (LLVM bytecode in binary and text = representation). >>=20 >> Because .SUFFIXES was not updated to match, bmake was actually trying = to >> build a ".c.bco" file in the above case... >>=20 >> I committed a fix in r307754. >>=20 >>=20 > Still doesn't work and still corrupts the base system (see output = after > portmaster failure) on a fresh from CD install of 11-STABLE (post = svlite of > /usr/src and make DESTDIR=3D/ world kernel): >=20 > root@lilith:/usr/src # uname -a > FreeBSD lilith 10.3-STABLE FreeBSD 10.3-STABLE #0 r307759: Sat Oct 22 > 00:14:55 EDT 2016 aryehl@lilith:/usr/obj/usr/src/sys/GENERIC = amd64 You said that you have a fresh install of 11-STABLE, but this shows 10.3-STABLE? What is it? > =3D=3D=3D> Registering installation for gettext-runtime-0.19.8.1 > pkg-static: Unable to access file > = /usr/ports/devel/gettext-runtime/work/stage/usr/local/include/autosprintf.= h: > No such file or directory > pkg-static: Unable to access file > = /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.a: = No > such file or directory > pkg-static: Unable to access file > = /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.so: > No such file or directory > pkg-static: Unable to access file > = /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.so.0= : > No such file or directory > pkg-static: Unable to access file > = /usr/ports/devel/gettext-runtime/work/stage/usr/local/lib/libasprintf.so.0= .0.0: > No such file or directory > *** Error code 74 This has nothing to do with the fix I checked in. It seems more like packaging problem in the gettext port, or some problem on your system. Maybe you can try cleaning the port, making sure the work directory is gone, then build it again. > root@lilith:/usr/ports # cd /usr/src > root@lilith:/usr/src # make DESTDIR=3D/ world kernel; Don't do this. IMHO the "world" target should be removed, as it is too easy to shoot yourself in the foot with it. The correct way to do a source-based upgrade is: * make buildworld * make buildkernel * make installkernel * reboot in single user * etcupdate -p * make installworld * etcupdate * reboot > -------------------------------------------------------------- >>>> stage 1.1: legacy release compatibility shims > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=3D/usr/obj/usr/src/tmp INSTALL=3D"sh > /usr/src/tools/install.sh" > = PATH=3D/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/us= r/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bi= n:/sbin:/bin:/usr/sbin:/usr/bin > WORLDTMP=3D/usr/obj/usr/src/tmp VERSION=3D"FreeBSD 10.3-STABLE amd64 = 1003509" Here is the discrepancy again, if this is 11-STABLE, why does it show 10.3-STABLE here? > c++ -O2 -pipe > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include > = -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/tools/clang/incl= ude > -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/lib/Support = -I. > = -I/usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/../../lib/clang/= include > -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS > -D__STDC_CONSTANT_MACROS -DNDEBUG -fno-strict-aliasing > -DLLVM_DEFAULT_TARGET_TRIPLE=3D\"x86_64-unknown-freebsd10.3\" > -DLLVM_HOST_TRIPLE=3D\"x86_64-unknown-freebsd10.3\" = -DDEFAULT_SYSROOT=3D\"\" And here the target and host are both 10.3. What gives? > = /usr/src/lib/clang/libllvmsupport/../../../contrib/llvm/include/llvm/Suppo= rt/AlignOf.h:19: > /usr/include/c++/v1/cstddef:58:30: error: redefinition of 'nullptr_t' > struct _LIBCPP_TYPE_VIS_ONLY nullptr_t > ^ > /usr/include/c++/v1/__nullptr:24:30: note: previous definition is here > struct _LIBCPP_TYPE_VIS_ONLY nullptr_t > ^ It looks like you might have partially installed an 11-STABLE userland, and now are trying to build a 10-STABLE world? I am not sure if that is supposed to work. If your system is rather hosed, as I think it is, it might be easier to just reinstall directly from the 11.0-RELEASE ISOs. Then you can try building 11-STABLE again. -Dimitry --Apple-Mail=_18F95366-4EB4-4496-AE28-CB93E97C1BBA Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.30 iEYEARECAAYFAlgLiH4ACgkQsF6jCi4glqOdOgCfR9Pt4iyyNGD122M+sa3gIvMb qwMAoJh1a3abf17CaTlvDTL39FpoHVdT =RCLW -----END PGP SIGNATURE----- --Apple-Mail=_18F95366-4EB4-4496-AE28-CB93E97C1BBA--