[MacPorts] #64545: gtk-gnutella: update to @1.2.2: undefined _upnp symbols, how to fix?

MacPorts noreply at macports.org
Fri Oct 28 03:52:24 UTC 2022


#64545: gtk-gnutella: update to @1.2.2: undefined _upnp symbols, how to fix?
---------------------------+--------------------
  Reporter:  barracuda156  |      Owner:  (none)
      Type:  update        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.7.2
Resolution:                |   Keywords:
      Port:  gtk-gnutella  |
---------------------------+--------------------

Comment (by barracuda156):

 Okay, undefined symbols, ironically, were a result of some version of
 `libupnp` being present. So solution is:
 {{{
 conflicts_build-append libupnp miniupnpc gupnp
 }}}

 However the build is broken on PPC:
 {{{
 Continuing in src/bin...
 /bin/rm -f sha1sum
 if test -f sha1sum; then \
         /bin/mv sha1sum sha1sum~; fi
 /usr/bin/gcc-4.2 -o sha1sum  sha1sum.o  -O2 -g -pthread -L/opt/local/lib
 -Wl,-headerpad_max_install_names -arch ppc   -L../lib -lshared
 -L/opt/local/lib -lgobject-2.0 -lglib-2.0 -lintl -lz -liconv -lm -lintl
 -ldl
 gmake[3]: Leaving directory '/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_net_gtk-gnutella/gtk-gnutella/work/gtk-gnutella-
 gtk-gnutella-12757e5/src/bin'
 Continuing in src...
 ../scripts/nm-list gtk-gnutella /opt/local/bin/nm > gtk-gnutella.nm
 Failed to compute SHA1 of gtk-gnutella
 gmake[2]: *** [Makefile:302: gtk-gnutella.nm] Error 1
 gmake[2]: Leaving directory '/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_net_gtk-gnutella/gtk-gnutella/work/gtk-gnutella-
 gtk-gnutella-12757e5/src'
 gmake[1]: *** [Makefile:108: subdirs] Error 1
 gmake[1]: Leaving directory '/opt/local/var/macports/build
 /_opt_PPCSnowLeopardPorts_net_gtk-gnutella/gtk-gnutella/work/gtk-gnutella-
 gtk-gnutella-12757e5'
 gmake: *** [Makefile:186: all] Error 2
 }}}

 And on x86_64 it builds through completion, but the app is then broken,
 tries to start up, reports garbage symbols, quits.

-- 
Ticket URL: <https://trac.macports.org/ticket/64545#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list