[Bug 209813] Problems with implicit library dependencies introduced by gnome ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat May 28 15:13:55 UTC 2016


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

            Bug ID: 209813
           Summary: Problems with implicit library dependencies introduced
                    by gnome ports
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: amdmi3 at FreeBSD.org
                CC: gnome at FreeBSD.org, tijl at FreeBSD.org
                CC: gnome at FreeBSD.org, tijl at FreeBSD.org

Gnome libraries add a lot of implicit library dependencies via their pkg-config
files:

% pkg-config --libs gtk+-2.0
-L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo
-lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0
-lglib-2.0 -lintl -lfontconfig -lfreetype  

These libraries are now detected as unlisted dependencies:

Error: /usr/local/lib/libgoocanvas.so.3.5.0 is linked to
/usr/local/lib/libgdk_pixbuf-2.0.so.0 from graphics/gdk-pixbuf2 but it is not
declared as a dependency
Warning: you need USE_GNOME+=gdkpixbuf2
Error: /usr/local/lib/libgoocanvas.so.3.5.0 is linked to
/usr/local/lib/libfontconfig.so.1 from x11-fonts/fontconfig but it is not
declared as a dependency
Warning: you need LIB_DEPENDS+=libfontconfig.so:x11-fonts/fontconfig
Error: /usr/local/lib/libgoocanvas.so.3.5.0 is linked to
/usr/local/lib/libfreetype.so.6 from print/freetype2 but it is not declared as
a dependency
Warning: you need LIB_DEPENDS+=libfreetype.so:print/freetype2
Error: /usr/local/lib/libgoocanvas.so.3.5.0 is linked to
/usr/local/lib/libcairo.so.2 from graphics/cairo but it is not declared as a
dependency
Warning: you need USE_GNOME+=cairo
Error: /usr/local/lib/libgoocanvas.so.3.5.0 is linked to
/usr/local/lib/libintl.so.8 from devel/gettext-runtime but it is not declared
as a dependency
Warning: you need USES+=gettext

This should be fixed ASAP if we don't want many ports to be polluted with these
bogus dependencies.

Instead, these additional dependencies should be added implicitly by USE_GNOME
parts.

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


More information about the freebsd-ports-bugs mailing list