[Bug 194940] 'pkg which' fails for /usr/local/lib/perl5/site_perl/5.16/mach/sys/syscall.ph

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Nov 11 06:12:34 UTC 2014


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

--- Comment #3 from lidl at pix.net ---
I see, after looking at this a bit more, that the problem is twofold:

1) 'pkg which' fails because the the .ph files are generated not
    during the package staging, but rather as part of the post-install
    script that is run when the package is installed.

2) I was doing a 'pkg -c dir ... -y install', and had only enough stuff
   under 'dir' to allow the chroot to succeed.  Which is /bin/sh and
   three shared libraries.  Because there was not a /usr/include directory,
   there were not any .ph files generated.

Both of these are surprising to me.

That files get installed/created and not attributed to a package seems
wrong.  And that the .ph files rely on the /usr/include hierarchy of the
target machine where they are being installed also seems kinda wrong.

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


More information about the freebsd-bugs mailing list