Opened 7 years ago

Closed 7 years ago

#54439 closed defect (fixed)

spice-gtk 0.33: Failed to build spice-gtk: command execution failed

Reported by: hexadecagram ({16/7}) Owned by: danchr (Dan Villiom Podlaski Christiansen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: highsierra Cc: gnw3, wryfi
Port: spice-gtk

Description

Build failure. Here's the output of port install spice-gtk:

Error: Failed to build spice-gtk: command execution failed                                           
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port virt-manager failed

I have attached /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/main.log.

Attachments (1)

main.log (92.5 KB) - added by hexadecagram ({16/7}) 7 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/main.log

Download all attachments as: .zip

Change History (9)

Changed 7 years ago by hexadecagram ({16/7})

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/main.log

comment:1 Changed 7 years ago by kencu (Ken)

libepoxy provides #include <epoxy/egl.h>, but not by default on darwin. There is a configure arg that is supposed to enable it, but it doesn't result in it building. Editing configure.ac prior to running configure to try to force it just leads to an egl.pc not found error.

I did manage to get it to build in the work directory and could copy it over by hand, but that's a messed up way to approach this.

So -- I think for this one, you'll have to wait for dave or similar to tell us why that header is so bashful.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Keywords: x86_64 removed
Owner: set to danchr
Port: virt-manager removed
Status: newassigned

In the future, please fill in the Port field only with the port that actually fails to build and Cc that port's maintainers (port info --maintainers spice-gtk), if any.

comment:3 Changed 7 years ago by gnw3

Cc: gnw3 added

comment:4 Changed 7 years ago by wryfi

Is there any update on this issue? I don't see any workaround, and this is blocking me from building software on my Mac. Thanks for looking into it!

comment:5 Changed 7 years ago by wryfi

Cc: wryfi added

comment:6 Changed 7 years ago by danchr (Dan Villiom Podlaski Christiansen)

I only ever tested the +quartz variant — I assume you're trying to build +x11? I've just pushed a change which upgrade spice-gtk to 0.34, and adds a warning that +x11 is untested. The upgrade might fix your issues; if so, please let me know!

Last edited 7 years ago by danchr (Dan Villiom Podlaski Christiansen) (previous) (diff)

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

In 8e08d3793fbd1f3c804420d221eb854aa3abd2f4/macports-ports:

spice-gtk: upgrade to 0.34

I've added a +quartz variant and also a warning that the +x11 variant
is untested.

The +quartz variant forces the build system to build all C sources as
Objective-C due to some #include oddities. Yes, this is rather large
hammer for this particular nail, but Objective-C is supposed to be a
strict superset of C, so... it works...

See: #54439

comment:8 Changed 7 years ago by danchr (Dan Villiom Podlaski Christiansen)

Resolution: fixed
Status: assignedclosed

In 0243d19702c9cc61599d71ffe5379b37cda8ec0a/macports-ports:

spice-gtk: remove warning and comments

The build succeeded on the 10.12 builder, so we can assume that X11 at
the very least compiles.

See: https://build.macports.org/builders/ports-10.12_x86_64-watcher/builds/8247
Fixes: #54439

Note: See TracTickets for help on using tickets.