After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 758778 - gssdp: build error on Mac OS X with clang
gssdp: build error on Mac OS X with clang
Status: RESOLVED FIXED
Product: gssdp
Classification: Other
Component: General
0.14.x
Other Mac OS
: Normal major
: ---
Assigned To: GUPnP Maintainers
GUPnP Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-11-28 16:12 UTC by Tom Schoonjans
Modified: 2019-02-22 09:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Update to latest version from autoconf archive (11.86 KB, patch)
2015-12-01 21:24 UTC, Jens Georg
committed Details | Review

Description Tom Schoonjans 2015-11-28 16:12:27 UTC
While updating the gssdp Formula on Homebrew to 0.14.12 I noticed the following linker error:

  CC       gssdp-client.lo
  CC       gssdp-error.lo
  CC       gssdp-resource-browser.lo
  CC       gssdp-resource-group.lo
  CC       gssdp-socket-source.lo
  CC       gssdp-socket-functions.lo
  CC       gssdp-marshal.lo
  CC       gssdp-pktinfo-message.lo
  CCLD     libgssdp-1.0.la
ld: unknown option: --no-as-needed
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have seen this before with easy-tag in https://bugzilla.gnome.org/show_bug.cgi?id=750981: the fix is easy as all that needs to be done is an update of the autoconf-archive macro AX_COMPILER_FLAGS_LDFLAGS.

I fixed this temporarily by removing the relevant section from the configure script but a more permanent solution is desirable.
Comment 1 Jens Georg 2015-12-01 21:24:13 UTC
Created attachment 316628 [details] [review]
Update to latest version from autoconf archive
Comment 2 Jens Georg 2015-12-01 21:31:08 UTC
Fixed in 0.14.12.1 release

Attachment 316628 [details] pushed as aace7e2 - Update to latest version from autoconf archive