[MacPorts] #54410: util-linux @2.29.2 fails to build on Snow Leopard, Mac OS X 10.6.8, (cxx_stdlib = libc++) because of "Undefined symbols for architecture x86_64"

MacPorts noreply at macports.org
Sun Jul 2 17:56:14 UTC 2017


#54410: util-linux @2.29.2 fails to build on Snow Leopard, Mac OS X 10.6.8,
(cxx_stdlib = libc++) because of "Undefined symbols for architecture
x86_64"
-------------------------+------------------------
 Reporter:  ballapete    |      Owner:
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.4.1
 Keywords:  snowleopard  |       Port:  util-linux
-------------------------+------------------------
 {{{
 libtool: link: ranlib .libs/libcommon.a
 libtool: link: ( cd ".libs" && rm -f "libcommon.la" && ln -s
 "../libcommon.la" "libcommon.la" )
 /bin/sh ./libtool  --tag=CC   --mode=link /opt/local/bin/clang-mp-3.9
 -fsigned-char -fno-common -Wall -Werror=sequence-point -Wextra -Wextra-
 semi -Wembedded-directive -Wmissing-declarations -Wmissing-prototypes
 -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-
 limits -Wuninitialized -Wunused-parameter -Wunused-result -Wunused-
 variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-
 security -Wimplicit-function-declaration -pipe -Os -arch x86_64
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o column
 text-utils/column.o -L/opt/local/lib -lintl -R/opt/local/lib
 -Wl,-framework -Wl,CoreFoundation libcommon.la
 /bin/sh ./libtool  --tag=CC   --mode=link /opt/local/bin/clang-mp-3.9
 -fsigned-char -fno-common -Wall -Werror=sequence-point -Wextra -Wextra-
 semi -Wembedded-directive -Wmissing-declarations -Wmissing-prototypes
 -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-
 limits -Wuninitialized -Wunused-parameter -Wunused-result -Wunused-
 variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-
 security -Wimplicit-function-declaration -pipe -Os -arch x86_64
 -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -o
 scriptreplay term-utils/scriptreplay.o -L/opt/local/lib -lintl
 -R/opt/local/lib -Wl,-framework -Wl,CoreFoundation libcommon.la
 libtool: link: /opt/local/bin/clang-mp-3.9 -fsigned-char -fno-common -Wall
 -Werror=sequence-point -Wextra -Wextra-semi -Wembedded-directive
 -Wmissing-declarations -Wmissing-prototypes -Wno-missing-field-
 initializers -Wredundant-decls -Wsign-compare -Wtype-limits
 -Wuninitialized -Wunused-parameter -Wunused-result -Wunused-variable
 -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-security
 -Wimplicit-function-declaration -pipe -Os -arch x86_64
 -Wl,-headerpad_max_install_names -arch x86_64 -o column text-
 utils/column.o -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib -lintl
 ./.libs/libcommon.a
 libtool: link: /opt/local/bin/clang-mp-3.9 -fsigned-char -fno-common -Wall
 -Werror=sequence-point -Wextra -Wextra-semi -Wembedded-directive
 -Wmissing-declarations -Wmissing-prototypes -Wno-missing-field-
 initializers -Wredundant-decls -Wsign-compare -Wtype-limits
 -Wuninitialized -Wunused-parameter -Wunused-result -Wunused-variable
 -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-security
 -Wimplicit-function-declaration -pipe -Os -arch x86_64
 -Wl,-headerpad_max_install_names -arch x86_64 -o scriptreplay term-
 utils/scriptreplay.o -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib
 -lintl ./.libs/libcommon.a
 Undefined symbols for architecture x86_64:
   "_wcsdup", referenced from:
       _input in column.o
 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 }}}

--
Ticket URL: <https://trac.macports.org/ticket/54410>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list