Opened 16 months ago

Closed 9 months ago

#66597 closed defect (fixed)

net6 @1.3.14: Undefined symbols: _libintl_bind_textdomain_codeset _libintl_bindtextdomain _libintl_dgettext _libintl_dngettext

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: net6

Description

https://build.macports.org/builders/ports-12_arm64-builder/builds/80295/steps/install-port/logs/stdio

checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -Wl,-framework -Wl,CoreFoundation
/bin/sh ./libtool --tag=CXX   --mode=link /usr/bin/clang++  -pipe -Os -std=c++11 -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -version-info 0:0:0 -release 1.3  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -o libnet6.la -rpath /opt/local/lib libnet6_la-non_copyable.lo libnet6_la-gettext_package.lo libnet6_la-common.lo libnet6_la-default_accumulator.lo libnet6_la-error.lo libnet6_la-main.lo libnet6_la-serialise.lo libnet6_la-address.lo libnet6_la-socket.lo libnet6_la-encrypt.lo libnet6_la-select.lo libnet6_la-queue.lo libnet6_la-packet.lo libnet6_la-connection.lo libnet6_la-user.lo libnet6_la-object.lo libnet6_la-local.lo libnet6_la-client.lo libnet6_la-server.lo libnet6_la-host.lo -L/opt/local/lib -lsigc-2.0 -lgnutls  
libtool: link: /usr/bin/clang++ -dynamiclib  -o .libs/libnet6-1.3.0.dylib  .libs/libnet6_la-non_copyable.o .libs/libnet6_la-gettext_package.o .libs/libnet6_la-common.o .libs/libnet6_la-default_accumulator.o .libs/libnet6_la-error.o .libs/libnet6_la-main.o .libs/libnet6_la-serialise.o .libs/libnet6_la-address.o .libs/libnet6_la-socket.o .libs/libnet6_la-encrypt.o .libs/libnet6_la-select.o .libs/libnet6_la-queue.o .libs/libnet6_la-packet.o .libs/libnet6_la-connection.o .libs/libnet6_la-user.o .libs/libnet6_la-object.o .libs/libnet6_la-local.o .libs/libnet6_la-client.o .libs/libnet6_la-server.o .libs/libnet6_la-host.o   -L/opt/local/lib -lsigc-2.0 -lgnutls  -Os -arch arm64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64   -install_name  /opt/local/lib/libnet6-1.3.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module
Undefined symbols for architecture arm64:
  "_libintl_bind_textdomain_codeset", referenced from:
      net6::gettext_package::gettext_package(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libnet6_la-gettext_package.o
  "_libintl_bindtextdomain", referenced from:
      net6::gettext_package::gettext_package(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) in libnet6_la-gettext_package.o
  "_libintl_dgettext", referenced from:
      net6::gettext_package::gettext(char const*) const in libnet6_la-gettext_package.o
  "_libintl_dngettext", referenced from:
      net6::gettext_package::ngettext(char const*, char const*, unsigned long) const in libnet6_la-gettext_package.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Looks like configure determined that -lintl should be used, but it has not been used. Also, there's no dependency on any gettext ports.

Change History (1)

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

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 8984d1610a3cd11cfcb39ba5bdfdcdcdf971a3dc/macports-ports (master):

net6, obby, sobby: Delete

They don't build on Big Sur or later. Their last releases were in
2011/2012. Their developer archived the repositories in 2020. Nothing
depends on them.

Closes: #66597

Note: See TracTickets for help on using tickets.