Opened 4 years ago

Closed 4 years ago

#62064 closed defect (fixed)

virt-manager @2.2.1_3+x11 Configure error - build failure: "gtksourceview4 must be installed with +x11 and without +quartz"

Reported by: b-pfl Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc:
Port: virt-manager

Description

I had a running version of virt-manager on my Mac until I decided to to a "port upgrade outdated route". Seems like there is an issue with regard to the use of X11 / quartz for the virt-manager package.

The problem even occurs after enforcing a clean compilation.

sudo port install virt-manager
--->  Computing dependencies for virt-manager
--->  Fetching archive for virt-manager
--->  Attempting to fetch virt-manager-2.2.1_3+x11.darwin_18.noarch.tbz2 from https://packages.macports.org/virt-manager
--->  Fetching distfiles for virt-manager
--->  Verifying checksums for virt-manager
--->  Extracting virt-manager
--->  Applying patches to virt-manager
--->  Configuring virt-manager
Error: Failed to configure virt-manager: gtksourceview4 must be installed with +x11 and without +quartz.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_virt-manager/virt-manager/main.log for details.
Error: Processing of port virt-manager failed

Most essential part of the log file seems to be:

:debug:configure configure phase started at Fri Jan 15 12:04:37 CET 2021
:notice:configure --->  Configuring virt-manager
:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 macports-gcc-10 macports-gcc-9 macports-gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5
:debug:configure Using compiler 'Xcode Clang'
:debug:configure Executing proc-pre-org.macports.configure-configure-0
:debug:configure Active variants check for source-type install considers depends_fetch depends_extract depends_lib depends_build depends_run: python37 intltool gtk2 perl5 glib2 makeicns py37-gobject3 py37-libvirt py37-libxml2 py37-requests libvirt-glib vte gtk-vnc gtk3 gtksourceview4 spice-gtk libosinfo xorg-server
:debug:configure Ignoring active_variants requirement for cairo because source-type install only considers depends_fetch depends_extract depends_lib depends_build depends_run and those do not contain cairo
:debug:configure glib2 is installed with the following variants: +x11
:debug:configure   required: x11, forbidden: quartz
:debug:configure   accepted
:debug:configure gtk3 is installed with the following variants: +x11
:debug:configure   required: x11, forbidden: quartz
:debug:configure   accepted
:debug:configure Ignoring active_variants requirement for librsvg because source-type install only considers depends_fetch depends_extract depends_lib depends_build depends_run and those do not contain librsvg
:debug:configure Ignoring active_variants requirement for pango because source-type install only considers depends_fetch depends_extract depends_lib depends_build depends_run and those do not contain pango
:debug:configure Ignoring active_variants requirement for py37-cairo because source-type install only considers depends_fetch depends_extract depends_lib depends_build depends_run and those do not contain py37-cairo
:debug:configure spice-gtk is installed with the following variants: +x11
:debug:configure   required: x11, forbidden: quartz
:debug:configure   accepted
:debug:configure gtksourceview4 is installed with the following variants: 
:debug:configure   required: x11, forbidden: quartz
:debug:configure   rejected, because required variant x11 is missing
:error:configure Failed to configure virt-manager: gtksourceview4 must be installed with +x11 and without +quartz.
:debug:configure Error code: NONE
:debug:configure Backtrace: gtksourceview4 must be installed with +x11 and without +quartz.
:debug:configure     while executing
:debug:configure "$pre $targetname"

Attachments (1)

gtksourceview4.diff (235 bytes) - added by habetsm-xilinx (Martin Habets) 4 years ago.
Add x11 variant to gtksourceview4

Download all attachments as: .zip

Change History (6)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Owner: set to danchr
Status: newassigned

comment:2 Changed 4 years ago by habetsm-xilinx (Martin Habets)

I also ran into this. Issue seems to be that there is no x11 variant for gtksourceview4:

port -v variants gtksourceview4
gtksourceview4 has the variants:
   glade: Install a glade catalog file
   quartz: Enable native macOS graphics support
   universal: Build for multiple architectures

Changed 4 years ago by habetsm-xilinx (Martin Habets)

Attachment: gtksourceview4.diff added

Add x11 variant to gtksourceview4

comment:3 Changed 4 years ago by habetsm-xilinx (Martin Habets)

Adding an x11 variant to gtksourceview4 fixes the build issue. virt-manager gets installed and starts up.

comment:4 Changed 4 years ago by kencu (Ken)

good pickup. Somehow, for years now, nobody stumbled across this error.

comment:5 Changed 4 years ago by danchr (Dan Villiom Podlaski Christiansen)

Resolution: fixed
Status: assignedclosed

In 1da94865961b8fa9b6b47a70afe5e4632dd4e6de/macports-ports (master):

gtksourceview4: add missing x11 variant

Fixes: #62064

Note: See TracTickets for help on using tickets.