From owner-freebsd-ports@freebsd.org Mon Jan 29 02:01:32 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BEF10ECD2F1 for ; Mon, 29 Jan 2018 02:01:31 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) Received: from sonic310-22.consmr.mail.gq1.yahoo.com (sonic310-22.consmr.mail.gq1.yahoo.com [98.137.69.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4A47879582 for ; Mon, 29 Jan 2018 02:01:30 +0000 (UTC) (envelope-from marklmi26-fbsd@yahoo.com) X-YMail-OSG: X2sEGboVM1lZRd5bxmGs2n0W4fCJ.ewwq8WsVhg1a6nCyheGL1q545bIVrzHX07 tmFEDBbH5Rw_tBuUo41OXy_wCkXVL1YpL1_gkJTCB3tr.WGPd1TRETJIVRjK9MTRGFYiDCSog0N6 3txAwh8o_lKviUQYLvqNuZhhT3xB6pOC8lgK.NPvDvqnkSPZ._M5ORPIFf4D9MUT9qlWAmk.fHhu SWZ1haAxxdhpcZ1TUODe26nBc6ztRqDktw2buC.CgtzxqvUpNRRK9gvJvBYvAFSoEMesqIjJ4bRG eZV5I8OpE6AwqWW.5mYXhZSFk78avbE7Ts7.DmeDXLVyYR5admcpinMPIS7Ptf4Sk8j6gR18x3S8 RcNSWsNsCrztlt.Dhzwvf0cTz0QrvffiwUy1Xk63r4ff07R0_6_EX4KsttXoIS15wruZU_wYtTDp bv0dB21h5nu9yJqaHn.oIR9fHxa9qoGp6bmSByuRy.TxSfUQBtXzxaIHQ0SGt4Bbjaw-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.gq1.yahoo.com with HTTP; Mon, 29 Jan 2018 02:01:24 +0000 Received: from smtpgate102.mail.gq1.yahoo.com (EHLO [192.168.1.25]) ([10.214.153.45]) by smtp403.mail.gq1.yahoo.com (JAMES SMTP Server ) with ESMTPA ID 43730f2aee44c8199be9b7cd12eb884c; Mon, 29 Jan 2018 01:41:10 +0000 (UTC) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: poudriere-devel cross update-builds of ports build-depends failures: "pkg-static: wrong architecture: FreeBSD:12:armv7 instead of FreeBSD:12:amd64" (similarly for FreeBSD:12:aarch64 ) Message-Id: <90D87B8F-2CF5-41BC-9DAD-5A26E865AD22@yahoo.com> Date: Sun, 28 Jan 2018 17:41:09 -0800 To: pkg@FreeBSD.org, Bryan Drewery , FreeBSD Ports X-Mailer: Apple Mail (2.3445.5.20) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jan 2018 02:01:32 -0000 It has been some time since I did a buildworld (-r327485). The same for builing updated ports. For the following I've not done any0 rebuilds or installs of world, just ports. # svnlite info /usr/ports/ | grep "Re[plv]" Relative URL: ^/head Repository Root: svn://svn.freebsd.org/ports Repository UUID: 35697150-7ecd-e111-bb59-0022644237b5 Revision: 460228 Last Changed Rev: 460228 While the native amd64 rebuilds and installs of ports went fine, the later cross builds for armv7 and aarch64 did not, first just showing general information, then an example error: # poudriere jail -l JAILNAME VERSION ARCH METHOD TIMESTAMP = PATH FBSDFSSDjail 12.0-CURRENT amd64 null 2017-11-22 = 10:15:15 /usr/obj/DESTDIRs/clang-amd64-installworld-poud FBSDFSSDjailCortexA53 12.0-CURRENT arm64.aarch64 null 2017-12-30 = 13:14:33 /usr/obj/DESTDIRs/clang-cortexA53-installworld-poud FBSDFSSDjailArmV7 12.0-CURRENT arm.armv7 null 2017-12-30 = 13:05:37 /usr/obj/DESTDIRs/clang-armv7-installworld-poud # poudriere bulk -jFBSDFSSDjailArmV7 -w -f /root/armv7-origins.txt [00:00:00] Cross-building ports for arm.armv7 on amd64 requires QEMU . . . # poudriere bulk -jFBSDFSSDjailCortexA53 -w -f = /root/cortexA53-origins.txt [00:00:00] Cross-building ports for arm64.aarch64 on amd64 requires QEMU . . . Looking in the logs for the significant number of build-depends failures I see things like: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D> binutils-2.29.1,1 depends on file: /usr/local/lib/libgmp.so = - not found =3D=3D=3D> Installing existing package /packages/All/gmp-6.1.2.txz [FBSDFSSDjailVariant] Installing gmp-6.1.2... pkg-static: wrong architecture: FreeBSD:12:armv7 instead of = FreeBSD:12:amd64 Failed to install the following 1 package(s): = /packages/All/gmp-6.1.2.txz *** Error code 70 Stop. make: stopped in /usr/ports/devel/binutils =3D>> Cleaning up wrkdir =3D=3D=3D> Cleaning for binutils-2.29.1,1 build of devel/binutils | binutils-2.29.1,1 ended at Sun Jan 28 15:54:16 = PST 2018 build time: 00:00:48 !!! build failure encountered !!! (The build was attempting 151 out of 416 ports for the update in the armv7 case.) The only things to build successfully were: [00:08:23] Built ports: ports-mgmt/pkg ports-mgmt/portmaster = sysutils/DTraceToolkit devel/pkgconf devel/boost-jam The failures were (I split the long line): [00:08:23] Failed ports: security/p5-Net-SSLeay:build-depends net/p5-URI:build-depends devel/nspr:build-depends devel/py-setuptools@py36:build-depends security/ca_root_nss:build-depends x11-fonts/encodings:build-depends ftp/wget:build-depends devel/py-setuptools:build-depends security/sudo:build-depends devel/nasm:build-depends textproc/docbook-xsl:build-depends archivers/liblz4:build-depends multimedia/libdvdread:build-depends devel/boehm-gc:build-depends devel/libuv:build-depends security/trousers:build-depends devel/pcre2:build-depends security/libtasn1:build-depends devel/gdb:build-depends devel/glib20:build-depends devel/binutils:build-depends devel/boost-libs:lib-depends devel/qt5-qmake:run-depends The rest was skipped. The following side stepped the issue by forcing everything to rebuild: # poudriere bulk -c -jFBSDFSSDjailArmV7 -w -f /root/armv7-origins.txt That is still in process but things are building and reporting Success: # poudriere bulk -c -jFBSDFSSDjailArmV7 -w -f /root/armv7-origins.txt [00:00:00] Cross-building ports for arm.armv7 on amd64 requires QEMU . . . [00:02:38] [01] [00:00:00] Building ports-mgmt/pkg | pkg-1.10.4 [00:04:17] [01] [00:01:39] Finished ports-mgmt/pkg | pkg-1.10.4: Success . . . [00:04:25] [20] [00:00:07] Finished sysutils/gnome_subr | = gnome_subr-1.0: Success [00:04:26] [01] [00:00:08] Finished print/indexinfo | indexinfo-0.3.1: = Success [00:04:26] [20] [00:00:00] Building devel/boost-jam | boost-jam-1.66.0 [00:04:26] [04] [00:00:08] Finished devel/autoconf-wrapper | = autoconf-wrapper-20131203: Success [00:04:26] [05] [00:00:08] Finished devel/automake-wrapper | = automake-wrapper-20131203: Success [00:04:26] [27] [00:00:08] Finished devel/tradcpp | tradcpp-0.5.2: = Success [00:04:26] [01] [00:00:00] Building devel/gettext-runtime | = gettext-runtime-0.19.8.1_1 [00:04:27] [25] [00:00:09] Finished multimedia/v4l_compat | = v4l_compat-1.6.3: Success . . . [00:04:28] [12] [00:00:10] Finished misc/pciids | pciids-20171206: = Success [00:04:28] [22] [00:00:10] Finished graphics/jbigkit | jbigkit-2.1_1: = Success [00:04:28] [12] [00:00:00] Building print/gsfonts | gsfonts-8.11_8 [00:04:28] [22] [00:00:00] Building devel/atf | atf-0.21 [00:04:30] [18] [00:00:12] Finished misc/hicolor-icon-theme | = hicolor-icon-theme-0.15: Success [00:04:31] [07] [00:00:13] Finished devel/libpthread-stubs | = libpthread-stubs-0.4: Success [00:04:31] [18] [00:00:00] Building misc/freebsd-release-manifests | = freebsd-release-manifests-20171003 [00:04:31] [26] [00:00:13] Finished archivers/zip | zip-3.0_1: Success [00:04:31] [07] [00:00:00] Building devel/libdwarf | libdwarf-20161124 [00:04:31] [26] [00:00:00] Building sysutils/DTraceToolkit | = dtrace-toolkit-1.0_3 [00:04:34] [17] [00:00:16] Finished x11-fonts/font-util | = font-util-1.3.1: Success [00:04:35] [16] [00:00:17] Finished textproc/html2text | = html2text-1.3.2a: Success [00:04:35] [17] [00:00:00] Building ports-mgmt/bsdadminscripts | = bsdadminscripts-6.1.1_8 [00:04:35] [16] [00:00:00] Building net/rsync | rsync-3.1.2_8 [00:04:39] [18] [00:00:08] Finished misc/freebsd-release-manifests | = freebsd-release-manifests-20171003: Success [00:04:39] [24] [00:00:21] Finished print/libpaper | libpaper-1.1.24.4: = Success . . . =3D=3D=3D Mark Millard marklmi at yahoo.com ( markmi at dsl-only.net is going away in 2018-Feb, late)