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

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Dec 21 18:06:18 UTC 2020


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

Dmitry Marakasov <amdmi3 at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Closed                      |Open
         Resolution|Overcome By Events          |---

--- Comment #12 from Dmitry Marakasov <amdmi3 at FreeBSD.org> ---
It is, in fact nothing has been done to fix it.

Here's an example:

---
PORTNAME=       testport
PORTVERSION=    0.0.0
DISTVERSIONPREFIX=      v
CATEGORIES=     devel
DISTFILES=      #

MAINTAINER=     amdmi3 at FreeBSD.org
COMMENT=        Empty comment

USES=           pkgconfig
USE_GNOME=      gtk30

PLIST_FILES=    bin/testbin

do-build:
        @${MKDIR} ${WRKSRC}
        echo 'int main(){}' > ${WRKSRC}/main.c
        cd ${WRKSRC} && ${CC} `pkg-config --libs --cflags gtk+-3.0` main.c -o
testbin

do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/testbin ${STAGEDIR}${PREFIX}/bin/

.include <bsd.port.mk>
---

====> Running Q/A tests (stage-qa)
Error: /usr/local/bin/testbin is linked to /usr/local/lib/libcairo-gobject.so.2
from graphics/cairo but it is not declared as a dependency
Warning: you need USE_GNOME+=cairo
Error: /usr/local/bin/testbin 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/bin/testbin 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

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


More information about the freebsd-gnome mailing list