Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 13:38:30 +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-9qxk4zI2qi@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=218888

--- Comment #13 from O. Hartmann <ohartmann@walstatt.org> ---
I think it must be

-a arm64.aarch64

Another point, nowhere (as far as I could have find) did I find in the
documentation, that I have to exactly reflect the __MAKE_CONF variables and
sibblings used during the jail's build procedure within the poudriere
installation procedure.

If someone builds the jail from sources and defines __MAKE_CONF, SRCCONF and
SRC_ENV_CONF targeting different or customized environments for poudriere, then
etc/poudriere.d/${jailname}-poudriere.conf (${jailname} is the name of the
jail, in my case head-arm64) needs to reflect these settings exactly, for
instance:

/usr/local/etc/poudriere.d/head-arm64-poudriere.conf:

export  MAKEOBJDIRPREFIX=/pool/sources/CURRENT-jail/obj
export  __MAKE_CONF=/usr/local/etc/config/arm64/arm64-jail-make.conf
export  SRCCONF=/usr/local/etc/config/arm64/arm64-jail-src.conf
export  SRC_ENV_CONF=/usr/local/etc/config/arm64/arm64-jail-src-env.conf

The buildworld has been performed by setting these variables, except the
prerequiste TARGET=arm64 and TARGET_ARCH=aarch64

-- 
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-9qxk4zI2qi>