Bug 193592 - ports-mgmt/pkg: nonsense dependencies
Summary: ports-mgmt/pkg: nonsense dependencies
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-12 19:30 UTC by Bernhard Froehlich
Modified: 2014-10-01 22:21 UTC (History)
1 user (show)

See Also:
decke: maintainer-feedback? (portmgr)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Froehlich freebsd_committer freebsd_triage 2014-09-12 19:30:23 UTC
I am seeing very strange things since about 3 weeks when trying to install or upgrade dns/unbound. I am pretty sure that unbound does not require opera or plexmediaserver. Last week it also tried to pull in gcc5 so I suspect either dependency resolving in PKG has some issue or probably poudriere does something stupid when creating the packages on our cluster. I have tried to build unbound on redports and all deps look sane there.


Last login: Fri Sep 12 18:53:35 2014 from 213.162.68.168
FreeBSD 10.0-RELEASE-p7 (GENERIC) #0: Tue Jul  8 06:37:44 UTC 2014

root@vpn:~ # pkg install dns/unbound
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 53 packages will be affected (of 0 checked):

New packages to be INSTALLED:
        unbound: 1.4.22_4
        plexmediaserver-plexpass: 0.9.9.16.555
        compat9x-amd64: 9.2.902000.201310
        indexinfo: 0.2
        gettext: 0.18.3.1_1
        opera: 12.16_3
        libXrender: 0.9.8_2
        xproto: 7.0.26
        renderproto: 0.11.1
        libX11: 1.6.2_2,1
        libxcb: 1.10_2
        libXdmcp: 1.1.1_2
        libXau: 1.0.8_2
        libxml2: 2.9.1_1
        libpthread-stubs: 0.3_5
        kbproto: 1.0.6
        libXext: 1.3.2_2,1
        xextproto: 7.3.0
        libSM: 1.2.2_2,1
        libICE: 1.0.9,1
        libXft: 2.3.1_2
        fontconfig: 2.11.0_3,1
        freetype2: 2.5.3_2
        cups-client: 1.7.3_2
        gstreamer-plugins-vp8: 0.10.23_1,3
        libvpx: 1.3.0
        gstreamer-plugins-bad: 0.10.23_1,3
        gstreamer-plugins: 0.10.36_4,3
        libXv: 1.0.10_2,1
        videoproto: 2.3.2
        gstreamer: 0.10.36_2
        gobject-introspection: 1.36.0_3
        gnomehier: 3.0
        python27: 2.7.8_4
        python2: 2_3
        libffi: 3.0.13_2
        glib: 2.36.3_4
        perl5: 5.16.3_11
        libiconv: 1.14_4
        orc: 0.4.21
        gstreamer-plugins-theora: 0.10.36_1,3
        libtheora: 1.1.1_5
        libvorbis: 1.3.4_1,3
        libogg: 1.3.2,4
        gstreamer-plugins-good: 0.10.31_2,3
        libXdamage: 1.1.4_2
        libXfixes: 5.0.1_2
        fixesproto: 5.0
        damageproto: 1.2.1
        shared-mime-info: 1.1_1
        desktop-file-utils: 0.22_1
        gstreamer-plugins-vorbis: 0.10.36_1,3
        gstreamer-plugins-ogg: 0.10.36_1,3

The process will require 411 MB more space.
50 MB to be downloaded.

Proceed with this action? [y/N]: n
root@vpn:~ #
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-09-12 19:30:23 UTC
Auto-assigned to maintainer portmgr@FreeBSD.org
Comment 2 Bryan Drewery freebsd_committer freebsd_triage 2014-09-12 22:03:52 UTC
My guess is that they are bundling libraries.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2014-09-12 22:16:15 UTC
I've blacklisted multimedia/plexmediaserver for now until it is fixed. Antoine confirmed it is bundling libexpat.
Comment 4 Bryan Drewery freebsd_committer freebsd_triage 2014-09-12 22:18:51 UTC
And sadly opera too for bundling libstdc++ :|
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2014-09-12 22:32:39 UTC
What we will do is:

1. Make pkg only consider shlibs inside the ldconfig path as being eligible as 'provided' by a package.
2. Make a stage-qa check to look for bundled libs and scream loudly as it is bad even without the Pkg issues (https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html).
3. Bump revisions on the bad ports list such that they rebuild with new pkg and register proper shared libraries.
Comment 6 commit-hook freebsd_committer freebsd_triage 2014-10-01 22:21:51 UTC
A commit references this bug:

Author: bapt
Date: Wed Oct  1 22:21:22 UTC 2014
New revision: 369778
URL: https://svnweb.freebsd.org/changeset/ports/369778

Log:
  Prevent some ports to provide bundled libraries
  Bump port revision

  PR:		193592

Changes:
  head/emulators/i386-wine/Makefile.inc
  head/emulators/i386-wine-devel/Makefile.inc
  head/multimedia/plexmediaserver/Makefile
  head/multimedia/plexmediaserver-plexpass/Makefile
  head/www/opera/Makefile