Date: Wed, 21 Jun 2017 12:05:44 +0000 From: bugzilla-noreply@freebsd.org To: pkg@FreeBSD.org Subject: [Bug 218888] ports-mgmt/pkg: build fails on arm64.aarch64 in qemu-user-static: error: C compiler cannot create executables Message-ID: <bug-218888-32340-iMDxdhp2Ln@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-218888-32340@https.bugs.freebsd.org/bugzilla/> References: <bug-218888-32340@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218888 --- Comment #11 from O. Hartmann <ohartmann@walstatt.org> --- (In reply to Sean Bruno from comment #10) I tried something similar (exception: -v head instead of pinning to -v head@320138): [...] root:/pool/sources/CURRENT/src # poudriere jail -c -j head-arm64-2 -m svn+h= ttps -v head -a aarch64 -x [00:00:00] =3D=3D=3D=3D>> Cross-building ports for aarch64 on amd64 require= s QEMU [00:00:00] =3D=3D=3D=3D>> Creating head-arm64-2 fs... done [00:00:01] =3D=3D=3D=3D>> Checking out the sources from svn... done [00:11:53] =3D=3D=3D=3D>> Starting make buildworld with 4 jobs --- buildworld --- make[1]: "/pool/poudriere/jails/head-arm64-2/usr/src/Makefile.inc1" line 16= 0: SYSTEM_COMPILER: Determined that CC=3Dcc matches the source tree. Not bootstrapping a cross-compiler. make[1]: "/pool/poudriere/jails/head-arm64-2/usr/src/Makefile.inc1" line 41= 6: Unknown target aarch64:aarch64. *** [buildworld] Error code 1 make: stopped in /pool/poudriere/jails/head-arm64-2/usr/src 1 error make: stopped in /pool/poudriere/jails/head-arm64-2/usr/src [00:11:53] =3D=3D=3D=3D>> Error: Failed to 'make buildworld' [...] I do not see why there is too much magic in my way, it worked, at least installing the binaries from cross-compiled sources on a system supposedly = not connected to the internet! It is nexessary to build the jail from sources, since the machines targeted= as hosts are not connected to the internet and "isolated". The installation now bails out with the error shown below. This happens on = all systems I try to install the jail for arm64 this way, which worked a couple= of revisions/days before. [...] =3D=3D=3D> usr.bin/rev (install) --- realinstall_subdir_share --- install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 zero.4.gz= =20 /pool/poudriere/jails/head-arm64/usr/share/man/man4/ install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 ng_bluetooth.4.gz /pool/poudriere/jails/head-arm64/usr/share/man/man4/ install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 cfiscsi.4= .gz=20 /pool/poudriere/jails/head-arm64/usr/share/man/man4/ install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 iscsi.4.g= z=20 /pool/poudriere/jails/head-arm64/usr/share/man/man4/ install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 iscsi_initiator.4.gz /pool/poudriere/jails/head-arm64/usr/share/man/man4/ install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 iser.4.gz= =20 /pool/poudriere/jails/head-arm64/usr/share/man/man4/ install -N /pool/sources/CURRENT/src/etc -o root -g wheel -m 444 mlx4ib.4.= gz=20 /pool/poudriere/jails/head-arm64/usr/share/man/man4/ --- realinstall_subdir_usr.sbin --- --- _proginstall --- --- realinstall_subdir_share --- install: mlx4ib.4.gz: No such file or directory *** [maninstall] Error code 71 make[6]: stopped in /pool/sources/CURRENT/src/share/man/man4 1 error [...] --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218888-32340-iMDxdhp2Ln>