|Summary:||ports-mgmt/pkg: The "add" command does not create same paths like "install" command|
|Product:||Ports & Packages||Reporter:||Johannes Lundberg <johalun0>|
|Component:||Individual Port(s)||Assignee:||freebsd-pkg (Nobody) <pkg>|
|Severity:||Affects Some People||CC:||bapt, pkg, w.schwarzenfeld|
Description Johannes Lundberg 2016-05-29 03:56:54 UTC
As the title says, "pkg add" does not create the links from $PREFIX/lib/.mesa/lib* to $PREFIX/lib/lib* as "pkg install" does.
Comment 1 Johannes Lundberg 2016-05-29 04:38:23 UTC
After some more testing it seems that even if I use pkg -r . install ./libGL-11.1.2.txz it does not link. Maybe it's not related to "pkg add" but more to the "-r" option to install to different root..
Comment 2 VK 2016-05-29 15:50:29 UTC
Thanks for your report. Please supply the output of `pkg info pkg`.
Comment 3 Johannes Lundberg 2016-05-30 18:09:12 UTC
libGL-11.1.2 OpenGL library that renders using GLX or DRI libglesv2-11.1.2 OpenGL ES v2 library libEGL-11.1.2 OpenEGL library There's a discussion going on about this on the mailing list.. I could solve it by mounting devfs and use -c (chroot instead. Although, this requires me to move all packages into the chroot and then move them back. Would be nice if -r could be used.
Comment 4 Johannes Lundberg 2016-05-30 18:10:20 UTC
This probably affects many more packages as well. For example xfce4 didn't render properly (images and icons not rendered) at all when installing with -r.
Comment 5 Baptiste Daroussin 2016-05-30 18:38:33 UTC
the ports tree is not ready at all for pkg -r pkg -r implies that all scripts knows about PKG_ROOTDIR variable and most of the ports tree is clearly not PKG_ROOTDIR aware yet.
Comment 6 Baptiste Daroussin 2016-05-30 18:39:06 UTC
btw this is not a pkg bug, this is the ports tree that is not yet fully aware of the feature
Comment 7 Walter Schwarzenfeld 2018-01-13 06:34:40 UTC
Forgotten to close?