[Bug 237738] emulators/qemu-utils: wrong dependencies
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 3 19:55:25 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237738
Bug ID: 237738
Summary: emulators/qemu-utils: wrong dependencies
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: asomers at FreeBSD.org
Reporter: bsam at FreeBSD.org
Flags: maintainer-feedback?(asomers at FreeBSD.org)
Assignee: asomers at FreeBSD.org
Created attachment 204202
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204202&action=edit
Switch GTK2 -> GTK3
The port seems to list wrong dependencies. I've tried to install the package at
FreeBSD-current system and got:
-----
Number of packages to be installed: 86
-----
Seems to be too much... Well, the port itself shows:
-----
% make -C /usr/ports/emulators/qemu-utils run-depends-list
/usr/ports/x11/libxkbcommon
/usr/ports/graphics/libepoxy
/usr/ports/devel/pcre2
/usr/ports/devel/gettext-runtime
/usr/ports/accessibility/atk
/usr/ports/graphics/cairo
/usr/ports/graphics/gdk-pixbuf2
/usr/ports/devel/glib20
/usr/ports/x11-toolkits/gtk30
/usr/ports/x11-toolkits/pango
/usr/ports/x11-toolkits/vte3
/usr/ports/graphics/mesa-libs
/usr/ports/x11/libX11
/usr/ports/x11/libXext
-----
Aha, the first problem is GTK2 actually should be GTK3 (at Makefile, see
attachement). Now we get:
-----
% make -C /usr/ports/emulators/qemu-utils run-depends-list
/usr/ports/devel/gettext-runtime
/usr/ports/graphics/cairo
/usr/ports/graphics/gdk-pixbuf2
/usr/ports/devel/glib20
-----
Much better but it may be reduced further. At masterport there are lines:
-----
.if !defined(PKGNAMESUFFIX) || (${PKGNAMESUFFIX} != "-utils" &&
${PKGNAMESUFFIX} != "-guest-agent")
ONLY_FOR_ARCHS= amd64 i386 powerpc powerpc64
USE_XORG= pixman
USE_GNOME+= cairo glib20 libxml2
.endif
-----
AFAIK cairo should not be a dependency for the port with "-utils" suffix. I'm
not sure how to deal with this problem. :-(
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list