From owner-freebsd-pkg@freebsd.org Wed Jun 21 12:05:44 2017 Return-Path: Delivered-To: freebsd-pkg@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 BDB85D8DFE0 for ; Wed, 21 Jun 2017 12:05:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9E16166A22 for ; Wed, 21 Jun 2017 12:05:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 9D61FD8DFDF; Wed, 21 Jun 2017 12:05:44 +0000 (UTC) Delivered-To: pkg@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 9D048D8DFDE for ; Wed, 21 Jun 2017 12:05:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8AAD066A21 for ; Wed, 21 Jun 2017 12:05:44 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v5LC5ip7043286 for ; Wed, 21 Jun 2017 12:05:44 GMT (envelope-from bugzilla-noreply@freebsd.org) 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 Date: Wed, 21 Jun 2017 12:05:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ohartmann@walstatt.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jun 2017 12:05:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218888 --- Comment #11 from O. Hartmann --- (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.=