Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 May 2016 15:13:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 209813] Problems with implicit library dependencies introduced by gnome ports
Message-ID:  <bug-209813-6497@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: amdmi3@FreeBSD.org
                CC: gnome@FreeBSD.org, tijl@FreeBSD.org
                CC: gnome@FreeBSD.org, tijl@FreeBSD.org

Gnome libraries add a lot of implicit library dependencies via their pkg-co=
nfig
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 -lc=
airo
-lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2=
.0
-lglib-2.0 -lintl -lfontconfig -lfreetype=20=20

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 n=
ot
declared as a dependency
Warning: you need USE_GNOME+=3Dgdkpixbuf2
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+=3Dlibfontconfig.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+=3Dlibfreetype.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+=3Dcairo
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 declar=
ed
as a dependency
Warning: you need USES+=3Dgettext

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

Instead, these additional dependencies should be added implicitly by USE_GN=
OME
parts.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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