[Bug 218888] ports-mgmt/pkg: build fails on arm64.aarch64 in qemu-user-static: error: C compiler cannot create executables

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jun 21 13:38:31 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218888

--- Comment #13 from O. Hartmann <ohartmann at 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.


More information about the freebsd-pkg mailing list