Bug 197012

Summary: Rework dependency registration
Product: Ports & Packages Reporter: Baptiste Daroussin <bapt>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Closed FIXED    
Severity: Affects Only Me CC: portmgr
Priority: --- Flags: antoine: exp-run?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
the patch
none
the patch
none
the patch
none
the patch none

Description Baptiste Daroussin freebsd_committer freebsd_triage 2015-01-22 22:38:14 UTC
Created attachment 152036 [details]
the patch

Meta port to track the rework of dependencies
Comment 1 Baptiste Daroussin freebsd_committer freebsd_triage 2015-01-22 22:39:51 UTC
meta PR I meant :)
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2015-01-22 22:42:00 UTC
The Mk/bsd.options.mk part of the patch should be removed.

Here are the problems I detected so far (on 3000 ports) so that you get an idea:

./bootstrap-openjdk-r351880.log:XXX bad dependency /usr/local/share/java/zi
./cgnslib-3.2.1_3,1.log:XXX bad dependency /usr/local/lib/libGL.so
./clutter-1.20.0.log:XXX bad dependency /usr/local/lib/libEGL.so
./clutter-1.20.0.log:XXX bad dependency /usr/local/lib/libGL.so
./cogl-1.18.2_1.log:XXX bad dependency /usr/local/lib/libEGL.so
./cogl-1.18.2_1.log:XXX bad dependency /usr/local/lib/libGL.so
./dblatex-0.3.2_4.log:XXX bad dependency /usr/local/share/xml/docbook/4.2
./docbook-1.5.log:XXX bad dependency /usr/local/share/xml/sdocbook/1.1
./docbook-utils-0.6.14_13.log:XXX bad dependency /usr/local/share/sgml/docbook/dsssl
./ftgl-2.1.3.r5_4,1.log:XXX bad dependency /usr/local/lib/libGL.so
./gnome-doc-utils-0.20.10_4.log:XXX bad dependency /usr/local/share/xml/docbook/4.3
./gtk-doc-1.21.log:XXX bad dependency /usr/local/share/xml/docbook/4.1.2
./gtk-update-icon-cache-2.24.25.log:XXX bad dependency /usr/local/share/mime/magic
./gtk2-2.24.25_1.log:XXX bad dependency /usr/local/share/mime/magic
./libGLU-9.0.0_2.log:XXX bad dependency /usr/local/lib/libGL.so
./linux-c6-alsa-lib-1.0.22_2.log:XXX bad dependency /usr/local/etc/asound.conf
./linux-f10-alsa-lib-1.0.21_5.log:XXX bad dependency /usr/local/etc/asound.conf
./mplayer-1.1.r20141223_1.log:XXX bad dependency /usr/local/lib/libGL.so
./nvidia-settings-340.24_1.log:XXX bad dependency /usr/local/lib/libGL.so
./openjdk-7.71.14_1,1.log:XXX bad dependency /usr/local/lib/X11/fonts/dejavu
./openjdk-7.71.14_1,1.log:XXX bad dependency /usr/local/share/java/zi
./p5-File-MimeInfo-0.26_1.log:XXX bad dependency /usr/local/share/mime/magic
./qt4-opengl-4.8.6_2.log:XXX bad dependency /usr/local/lib/libGL.so
./rarian-0.8.1_3.log:XXX bad dependency /usr/local/share/xml/docbook/4.2
./sdl2-2.0.3_3.log:XXX bad dependency /usr/local/lib/libGL.so
./xdriinfo-1.0.4_1.log:XXX bad dependency /usr/local/lib/libGL.so
./xephyr-1.14.7_1,1.log:XXX bad dependency /usr/local/lib/libGL.so
./xf86-video-ati-7.5.0_1.log:XXX bad dependency /usr/local/lib/libGL.so
./xf86-video-intel-2.21.15_6.log:XXX bad dependency /usr/local/lib/libGL.so
./xf86-video-mach64-6.9.4_5.log:XXX bad dependency /usr/local/lib/libGL.so
./xf86-video-openchrome-0.3.3_5.log:XXX bad dependency /usr/local/lib/libGL.so
./xf86-video-r128-6.9.2_5.log:XXX bad dependency /usr/local/lib/libGL.so
./xmlto-0.0.26_2.log:XXX bad dependency /usr/local/share/xml/docbook/4.2
./xmlto-0.0.26_2.log:XXX bad dependency /usr/local/share/xsl/docbook
./xorg-server-1.14.7_1,1.log:XXX bad dependency /usr/local/lib/libGL.so
Comment 3 Antoine Brodin freebsd_committer freebsd_triage 2015-01-23 23:08:48 UTC
Created attachment 152064 [details]
the patch
Comment 4 Antoine Brodin freebsd_committer freebsd_triage 2015-01-25 09:43:36 UTC
Created attachment 152121 [details]
the patch
Comment 5 Antoine Brodin freebsd_committer freebsd_triage 2015-02-08 17:53:54 UTC
Created attachment 152712 [details]
the patch

New version of the patch,  it should handle /usr/local being a symlink and is currently exp-run
Comment 6 Antoine Brodin freebsd_committer freebsd_triage 2015-02-09 16:43:01 UTC
exp-run results:
http://package22.nyi.freebsd.org/jail.html?mastername=101i386-default-apd
http://package23.nyi.freebsd.org/jail.html?mastername=101amd64-default-apd
looks fine,  the 2 ports that were rebuilding (freedink and pcbsd-utils-qt5) have been fixed
Comment 7 Baptiste Daroussin freebsd_committer freebsd_triage 2015-02-09 17:17:47 UTC
Committed as r378742