maintainer-feedback requested: [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:22:44 UTC 2016


Athanasios Douitsis <aduitsis at gmail.com> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to pkg at FreeBSD.org:
Bug 212852: ports-mgmt/pkg: pkg 1.8.7_3 fails with Undefined symbol "utimensat"
in libpkg.so.3
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212852



--- Description ---
I have just seen the following behaviour on a 10.2-RELEASE:

# pkg upgrade
....
....
[1/3] Upgrading p5-Net-SSLeay from 1.74 to 1.78...
[1/3] Extracting p5-Net-SSLeay-1.78:   0%/usr/local/lib/libpkg.so.3: Undefined
symbol "utimensat"

Basically anything we try to install or upgrade fails when pkg gets around to
decompress the archive. 

The pkg running on the system was 1.8.7_3 freshly built on our own Poudriere
builder. I can see that version 1.8.7_3 is incorporating fixes related to
libarchive. Of course this may mean that the problem lies outside of pkg, not
sure yet.

Just to be clear, our base builder and its poudriere jails are 10.3-RELEASE,
but the abi is the same across all 10.x FreeBSDs, so I cannot really blame it
on that (unless I am missing something).

Removing the builder repo and downgrading to 1.8.7_1 from the official FreeBSD
repo restores normal functionality.


More information about the freebsd-pkg mailing list