Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 2014 06:12:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 194940] 'pkg which' fails for /usr/local/lib/perl5/site_perl/5.16/mach/sys/syscall.ph
Message-ID:  <bug-194940-8-HVZeIlWsJl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194940-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194940-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194940

--- Comment #3 from lidl@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194940-8-HVZeIlWsJl>