[MacPorts] #65330: libiptcdata: builds failing for big sur and monterey: undefined symbols _libintl_xxx

MacPorts noreply at macports.org
Sat Jun 11 17:06:13 UTC 2022


#65330: libiptcdata: builds failing for big sur and monterey: undefined symbols
_libintl_xxx
--------------------------+-----------------------------
  Reporter:  mascguy      |      Owner:  grrr@…
      Type:  defect       |     Status:  assigned
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.7.2
Resolution:               |   Keywords:  bigsur monterey
      Port:  libiptcdata  |
--------------------------+-----------------------------
Description changed by mascguy:

Old description:

> While this port builds find for 10.15 and earlier, it fails on Big Sur
> and Monterey:
>
> {{{
> /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang  -pipe -Os
> -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
> x86_64 -g -Wall -Wmissing-declarations -Wmissing-prototypes -version-info
> 3:3:3 -L/opt/local/lib -Wl,-headerpad_max_install_names
> -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
> -arch x86_64 -g -Wall -o libiptcdata.la -rpath /opt/local/lib iptc-
> data.lo iptc-dataset.lo iptc-jpeg.lo iptc-log.lo iptc-mem.lo iptc-tag.lo
> iptc-utils.lo
> /usr/bin/clang -dynamiclib  -o .libs/libiptcdata.0.3.3.dylib  .libs/iptc-
> data.o .libs/iptc-dataset.o .libs/iptc-jpeg.o .libs/iptc-log.o .libs
> /iptc-mem.o .libs/iptc-tag.o .libs/iptc-utils.o  -L/opt/local/lib  -arch
> x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot
> -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64
> -install_name  /opt/local/lib/libiptcdata.0.dylib -compatibility_version
> 4 -current_version 4.3 -Wl,-single_module
> Undefined symbols for architecture x86_64:
>   "_libintl_bind_textdomain_codeset", referenced from:
>       _iptc_tag_get_title in iptc-tag.o
>       _iptc_tag_get_description in iptc-tag.o
>       _iptc_format_get_name in iptc-tag.o
>   "_libintl_bindtextdomain", referenced from:
>       _iptc_tag_get_title in iptc-tag.o
>       _iptc_tag_get_description in iptc-tag.o
>       _iptc_format_get_name in iptc-tag.o
>   "_libintl_dgettext", referenced from:
>       _iptc_log_code_get_title in iptc-log.o
>       _iptc_log_code_get_message in iptc-log.o
>       _iptc_tag_get_title in iptc-tag.o
>       _iptc_tag_get_description in iptc-tag.o
>       _iptc_format_get_name in iptc-tag.o
> ld: symbol(s) not found for architecture x86_64
> clang: error: linker command failed with exit code 1 (use -v to see
> invocation)
> make[2]: *** [libiptcdata.la] Error 1
> }}}
>
> Of note, this is a blocker for port `rawtherapee`.
>
> https://ports.macports.org/port/libiptcdata/details/

New description:

 While this port builds successfully for 10.15 and earlier, it fails on Big
 Sur and Monterey:

 {{{
 /bin/sh ../libtool --tag=CC   --mode=link /usr/bin/clang  -pipe -Os
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch
 x86_64 -g -Wall -Wmissing-declarations -Wmissing-prototypes -version-info
 3:3:3 -L/opt/local/lib -Wl,-headerpad_max_install_names
 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
 -arch x86_64 -g -Wall -o libiptcdata.la -rpath /opt/local/lib iptc-data.lo
 iptc-dataset.lo iptc-jpeg.lo iptc-log.lo iptc-mem.lo iptc-tag.lo iptc-
 utils.lo
 /usr/bin/clang -dynamiclib  -o .libs/libiptcdata.0.3.3.dylib  .libs/iptc-
 data.o .libs/iptc-dataset.o .libs/iptc-jpeg.o .libs/iptc-log.o .libs/iptc-
 mem.o .libs/iptc-tag.o .libs/iptc-utils.o  -L/opt/local/lib  -arch x86_64
 -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64
 -install_name  /opt/local/lib/libiptcdata.0.dylib -compatibility_version 4
 -current_version 4.3 -Wl,-single_module
 Undefined symbols for architecture x86_64:
   "_libintl_bind_textdomain_codeset", referenced from:
       _iptc_tag_get_title in iptc-tag.o
       _iptc_tag_get_description in iptc-tag.o
       _iptc_format_get_name in iptc-tag.o
   "_libintl_bindtextdomain", referenced from:
       _iptc_tag_get_title in iptc-tag.o
       _iptc_tag_get_description in iptc-tag.o
       _iptc_format_get_name in iptc-tag.o
   "_libintl_dgettext", referenced from:
       _iptc_log_code_get_title in iptc-log.o
       _iptc_log_code_get_message in iptc-log.o
       _iptc_tag_get_title in iptc-tag.o
       _iptc_tag_get_description in iptc-tag.o
       _iptc_format_get_name in iptc-tag.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 make[2]: *** [libiptcdata.la] Error 1
 }}}

 Of note, this is a blocker for port `rawtherapee`.

 https://ports.macports.org/port/libiptcdata/details/

--

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


More information about the macports-tickets mailing list