Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 May 2019 19:55:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237738] emulators/qemu-utils: wrong dependencies
Message-ID:  <bug-237738-7788@https.bugs.freebsd.org/bugzilla/>

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

            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@FreeBSD.org
          Reporter: bsam@FreeBSD.org
             Flags: maintainer-feedback?(asomers@FreeBSD.org)
          Assignee: asomers@FreeBSD.org

Created attachment 204202
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D204202&action=
=3Dedit
Switch GTK2 -> GTK3

The port seems to list wrong dependencies. I've tried to install the packag=
e 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} !=3D "-utils" &&
${PKGNAMESUFFIX} !=3D "-guest-agent")
ONLY_FOR_ARCHS=3D amd64 i386 powerpc powerpc64
USE_XORG=3D       pixman
USE_GNOME+=3D     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. :-(

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



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