Opened 14 months ago

Closed 12 months ago

Last modified 12 months ago

#68284 closed defect (fixed)

spice-gtk @0.42_0+x11: Fails to build on Sonoma

Reported by: janmuennich (Jan Münnich) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: sonoma Cc:
Port: spice-gtk

Description

spice-gtk @0.42_0+x11 fails to build on Sonoma. See attached log.

Attachments (2)

main.log.bz2 (17.7 KB) - added by janmuennich (Jan Münnich) 14 months ago.
spice-glib-sym-file (5.1 KB) - added by janmuennich (Jan Münnich) 14 months ago.

Download all attachments as: .zip

Change History (9)

Changed 14 months ago by janmuennich (Jan Münnich)

Attachment: main.log.bz2 added

comment:1 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

The log says:

ld: warning: -undefined error is deprecated
ld: warning: ignoring -e, not used for output type
ld: unknown file type in '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_spice-gtk/spice-gtk/work/spice-gtk-0.42/src/spice-glib-sym-file'
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I wonder what the file type of spice-glib-sym-file is.

comment:2 Changed 14 months ago by janmuennich (Jan Münnich)

Sorry, what do you mean with file type? It's a text file with some components(?) listed. See attached.

Changed 14 months ago by janmuennich (Jan Münnich)

Attachment: spice-glib-sym-file added

comment:3 in reply to:  2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to janmuennich:

Sorry, what do you mean with file type?

I don't know. I was merely responding to the vague error message "unknown file type". It made me assume there must be some type of file the linker was looking for, and what it was provided with was not that type of file. So I was wondering what type of file it was provided with and what type of file it was looking for.

It's a text file with some components(?) listed. See attached.

Is that a type of file that a linker would typically understand? I don't know that either.

comment:4 Changed 12 months ago by neverpanic (Clemens Lang)

The issue is that src/meson.build in the spice-gtk source tree passes -export-symbols spice_client_glib_syms_path to the linker, but the macOS linker does not seem to accept that option. There is an option in the manpage called -exported-symbols-list that accepts a filename and might work instead.

Last edited 12 months ago by neverpanic (Clemens Lang) (previous) (diff)

comment:6 Changed 12 months ago by neverpanic (Clemens Lang)

Owner: set to neverpanic
Resolution: fixed
Status: newclosed

In 4087414847e6cf82ba9af84fa87ec2cf2146c926/macports-ports (master):

spice-gtk: Fix build failure with recent toolchain

No revbump because this either builds correctly, or not at all.

Closes: #68284

comment:7 Changed 12 months ago by janmuennich (Jan Münnich)

I can confirm that the issue is resolved. Thanks neverpanic!

Note: See TracTickets for help on using tickets.