Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61485 closed defect (fixed)

blackbox @0.75 does not build on Big Sur, macOS 11.0.1, because of "Undefined symbols for architecture x86_64: "_libiconv", referenced from:"

Reported by: ballapete (Peter "Pete" Dyballa) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: blackbox

Description

The port has a dependency to libiconv, but configure does not check for its existence and there is nowhere supplied libiconv to the compiler. configure knows:

  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
  --with-libintl-prefix[=DIR]  search for libintl in DIR/include and DIR/lib
  --without-libintl-prefix     don't search for libintl in includedir and libdir

– could be any of these can help…

Attachments (1)

main.log (121.8 KB) - added by ballapete (Peter "Pete" Dyballa) 4 years ago.
Main.log from build on Big Sur

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from build on Big Sur

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

It's probably the usual libtool bug on macOS 11+; patch is in libtool port.

comment:2 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In baf9f73fd0e567bd20fd55aed08a643a03f89dd7/macports-ports (master):

blackbox: Update to 0.76; fix libtool bug

Closes: #61485

comment:3 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

I did not test that fix on macOS 11 but it is the usual fix for this issue. Let me know if that didn't fix it.

comment:4 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

This patch works as well:

--- lib/Makefile.in~    2019-09-06 11:55:04.000000000 +0200
+++ lib/Makefile.in     2020-11-16 00:36:15.000000000 +0100
@@ -458,7 +458,7 @@
                        Util.hh                                         \
                        XDG.hh

-libbt_la_LIBADD = $(XFT_LIBS) $(XEXT_LIBS) $(X11_LIBS)
+libbt_la_LIBADD = $(XFT_LIBS) $(XEXT_LIBS) $(X11_LIBS) $(LTLIBICONV)
 pkgconfigdir = $(libdir)/pkgconfig
 nodist_pkgconfig_DATA = libbt.pc
 all: all-am

comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

If you believe that's the correct fix, you should submit it to the developers of blackbox.

comment:6 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)

With blackbox @0.76 and dynamic_lookup-11.patch build happens without problem (and without my patch).

Note: See TracTickets for help on using tickets.