[Bug 212852] ports-mgmt/pkg: pkg 1.8.7_3 fails with Undefined symbol "utimensat" in libpkg.so.3

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Sep 20 12:51:42 UTC 2016


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

Matthew Seaman <matthew at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matthew at FreeBSD.org

--- Comment #1 from Matthew Seaman <matthew at FreeBSD.org> ---
utimensat(2) first appeared in 10.3-RELEASE.

You're building on a 10.3-RELEASE box and deploying on a 10.2-RELEASE box.

Unfortunately, that is *not* guaranteed to produce compatible output.  FreeBSD
only promises forward ABI compatibility -- that is, anything build on an
earlier 10.x release can be run on a later 10.x release.  Here the addition of
utimensat(2) in 10.3 means you won't be able to run binaries that use that
function on older versions of FreeBSD.

That's why the official packages for the 10.x release series are built on a
10.1 release jail, as that's the earliest 10.x series still under support.

Try configuring your poudriere box to use a 10.1-RELEASE jail for building
packages -- this will produce pkgs that are compatible with 10.2-RELEASE and
10.3-RELEASE.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-pkg mailing list