[MacPorts] #48315: gettext @0.19.5 cannot be built on 10.5.8 and 10.6.8
MacPorts
noreply at macports.org
Sat Jul 11 02:58:12 PDT 2015
#48315: gettext @0.19.5 cannot be built on 10.5.8 and 10.6.8
--------------------------------------------+------------------------------
Reporter: braumann@… | Owner: macports-
Type: defect | tickets@…
Priority: Normal | Status: new
Component: ports | Milestone:
Keywords: _stpncpy missed during linking | Version: 2.3.3
| Port: gettext
--------------------------------------------+------------------------------
While upgrading {{{gettext @0.19.4_0}}} to {{{gettext @0.19.5_0}}} on
10.6.8 (Intel 64bit) or {{{gettext @0.19.4_0+universal}}} to {{{gettext
@0.19.5_0+universal}}} on 10.5.8 (PPC 32bit) I have failed for both
platforms as the symbol "_stpncpy" cannot be found during linking. Below
the relevant lines from main.log (10.6.8):
{{{
...
:info:build libtool: link: ( cd ".libs" && rm -f "libgnu.la" && ln -s
"../libgnu.la" "libgnu.la" )
:info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/llvm-
gcc-4.2 -std=gnu99 -pipe -Os -arch x86_64 -version-info 5:3:5 -rpath
/opt/local/lib ../intl/libintl.la -L/opt/local/lib -liconv
-R/opt/local/lib -Wl,-framework -Wl,CoreFoundation -L/opt/local/lib
-liconv -R/opt/local/lib -L/opt/local/lib -lexpat -R/opt/local/lib -lc
-no-undefined -L/opt/local/lib -Wl,-headerpad_max_install_names -arch
x86_64 -o libgettextpo.la -rpath /opt/local/lib gettext-po.lo ../src/str-
list.lo ../src/dir-list.lo ../src/message.lo ../src/msgl-ascii.lo ../src
/po-error.lo ../src/po-xerror.lo ../src/write-catalog.lo ../src/write-
po.lo ../src/open-catalog.lo ../src/po-charset.lo ../src/po-lex.lo ../src
/po-gram-gen.lo ../src/read-po.lo ../src/read-catalog-abstract.lo ../src
/read-catalog.lo ../src/plural-table.lo ../src/format-c.lo ../src/format-
sh.lo ../src/format-python.lo ../src/format-python-brace.lo ../src/format-
lisp.lo ../src/format-elisp.lo ../src/format-librep.lo ../src/format-
scheme.lo ../src/format-java.lo ../src/format-javascript.lo ../src/format-
csharp.lo ../src/format-awk.lo ../src/format-pascal.lo ../src/format-
ycp.lo ../src/format-tcl.lo ../src/format-perl.lo ../src/format-perl-
brace.lo ../src/format-php.lo ../src/format-gcc-internal.lo ../src/format-
gfc-internal.lo ../src/format-qt.lo ../src/format-qt-plural.lo ../src
/format-kde.lo ../src/format-kde-kuit.lo ../src/format-boost.lo ../src
/format-lua.lo ../src/format.lo ../src/plural-exp.lo ../src/plural-eval.lo
../src/msgl-check.lo ../src/sentence.lo ../src/libexpat-compat.lo
libgnu.la
:info:build libtool: link: /usr/bin/llvm-gcc-4.2 -std=gnu99 -dynamiclib
-o .libs/libgettextpo.0.dylib .libs/gettext-po.o ../src/.libs/str-list.o
../src/.libs/dir-list.o ../src/.libs/message.o ../src/.libs/msgl-ascii.o
../src/.libs/po-error.o ../src/.libs/po-xerror.o ../src/.libs/write-
catalog.o ../src/.libs/write-po.o ../src/.libs/open-catalog.o ../src/.libs
/po-charset.o ../src/.libs/po-lex.o ../src/.libs/po-gram-gen.o
../src/.libs/read-po.o ../src/.libs/read-catalog-abstract.o ../src/.libs
/read-catalog.o ../src/.libs/plural-table.o ../src/.libs/format-c.o
../src/.libs/format-sh.o ../src/.libs/format-python.o ../src/.libs/format-
python-brace.o ../src/.libs/format-lisp.o ../src/.libs/format-elisp.o
../src/.libs/format-librep.o ../src/.libs/format-scheme.o ../src/.libs
/format-java.o ../src/.libs/format-javascript.o ../src/.libs/format-
csharp.o ../src/.libs/format-awk.o ../src/.libs/format-pascal.o
../src/.libs/format-ycp.o ../src/.libs/format-tcl.o ../src/.libs/format-
perl.o ../src/.libs/format-perl-brace.o ../src/.libs/format-php.o
../src/.libs/format-gcc-internal.o ../src/.libs/format-gfc-internal.o
../src/.libs/format-qt.o ../src/.libs/format-qt-plural.o ../src/.libs
/format-kde.o ../src/.libs/format-kde-kuit.o ../src/.libs/format-boost.o
../src/.libs/format-lua.o ../src/.libs/format.o ../src/.libs/plural-exp.o
../src/.libs/plural-eval.o ../src/.libs/msgl-check.o
../src/.libs/sentence.o ../src/.libs/libexpat-compat.o
-Wl,-force_load,./.libs/libgnu.a ../intl/.libs/libintl.dylib
-L/opt/local/lib /opt/local/lib/libexpat.dylib
/opt/local/var/macports/buil/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_gettext/gettext/work/gettext-0.19.5
/gettext-tools/intl/.libs/libintl.dylib -lc /opt/local/lib/libiconv.dylib
-Os -arch x86_64 -Wl,-framework -Wl,CoreFoundation
-Wl,-headerpad_max_install_names -arch x86_64 -install_name
/opt/local/lib/libgettextpo.0.dylib -compatibility_version 6
-current_version 6.3 -Wl,-single_module
:info:build Undefined symbols for architecture x86_64:
:info:build "_stpncpy", referenced from:
:info:build _format_parse in format-kde-kuit.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: ld returned 1 exit status
:info:build make[5]: *** [libgettextpo.la] Error 1
...
}}}
I attach the main.log from the 10.6.8 machine.
--
Ticket URL: <https://trac.macports.org/ticket/48315>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list