ports-mgmt/pkg (still) fails to install in DESTDIR

rank1seeker at gmail.com rank1seeker at gmail.com
Fri Mar 27 14:20:04 UTC 2015


# make -C /usr/ports/ports-mgmt/pkg DESTDIR=/poligon/freebsd install clean
Fails at:
------------------
====> Compressing man pages (compress-man)
===>  Installing for pkg-1.4.12
===>  Checking if pkg already installed
===>   Registering installation for pkg-1.4.12
pkg-static: Cannot open "/var/run/ld-elf.so.hints": No such file or directory
*** Error code 1

Stop.
make[1]: stopped in /tmp/mountpoint.w4WP0q/ports-mgmt/pkg
*** Error code 1

Stop.
make: stopped in /tmp/mountpoint.w4WP0q/ports-mgmt/pkg
===>  Chrooted make in /poligon/freebsd failed
===>  Cleaning up...
*** Error code 1

Stop.
make: stopped in /usr/ports/ports-mgmt/pkg
------------------

I've found this, but it was 2 years ago and still not implemented/fixed:
    http://lists.freebsd.org/pipermail/svn-src-stable-10/2013-December/000495.html

My fix vas to chroot in DESTDIR and simply issue:
# pkg -v
Which started bootstrapp ...


Domagoj Smolčić


More information about the freebsd-hackers mailing list