Date: Sun, 28 Jan 2018 17:41:09 -0800 From: Mark Millard <marklmi26-fbsd@yahoo.com> To: pkg@FreeBSD.org, Bryan Drewery <bdrewery@FreeBSD.org>, FreeBSD Ports <freebsd-ports@freebsd.org> 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>
next in thread | raw e-mail | index | archive | help
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<phas= e: build-depends >=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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?90D87B8F-2CF5-41BC-9DAD-5A26E865AD22>