[MacPorts] #65761: Can't be build on Rosetta when non Rosetta xz is installed
MacPorts
noreply at macports.org
Sat Sep 3 12:51:26 UTC 2022
#65761: Can't be build on Rosetta when non Rosetta xz is installed
---------------------------+--------------------
Reporter: catap | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: libtextstyle |
---------------------------+--------------------
Comment (by catap):
Well, `sudo port install --unrequested gcc12 build_arch=ppc
universal_archs= cxx_stdlib=libstdc++` fails on `libtextstyle` as:
{{{
:info:build /bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2
-std=gnu99 -pipe -Os -arch ppc -no-undefined -lncurses
-no-undefined -export-symbols libtextstyle.sym -version-info 1:1:1 -rpath
/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc
-o libtextstyle.la -rpath /opt/local/lib gl_array_list.lo basename-lgpl.lo
binary-io.lo c-ctype.lo c-strcasecmp.lo c-strncasecmp.lo cloexec.lo
concat-filename.lo exitfail.lo fatal-signal.lo fd-hook.lo fd-ostream.lo
file-ostream.lo full-write.lo get_ppid_of.lo get_progname_of.lo
getprogname.lo html-ostream.lo html-styled-ostream.lo iconv-ostream.lo
gl_list.lo glthread/lock.lo malloca.lo math.lo mem-hash-map.lo memory-
ostream.lo noop-styled-ostream.lo ostream.lo printf-frexp.lo printf-
frexpl.lo safe-read.lo safe-write.lo sig-handler.lo sockets.lo stat-
time.lo styled-ostream.lo sys_socket.lo term-ostream.lo term-style-
control.lo term-styled-ostream.lo glthread/threadlib.lo unistd.lo
unistr/u8-mbtouc.lo unistr/u8-mbtouc-aux.lo xmalloc.lo xstrdup.lo xconcat-
filename.lo xgethostname.lo gl_xlist.lo xsize.lo xvasprintf.lo
xasprintf.lo color.lo misc.lo version.lo asnprintf.lo asprintf.lo error.lo
fcntl.lo frexpl.lo obstack.lo open.lo printf-args.lo printf-parse.lo
snprintf.lo stat.lo strerror.lo strerror-override.lo vasnprintf.lo
vasprintf.lo libcroco_rpl.la libglib_rpl.la libxml_rpl.la
:info:build libtool: link: sed 's|^|_|' < libtextstyle.sym > .libs
/libtextstyle-symbols.expsym
:info:build libtool: link: /usr/bin/gcc-4.2 -std=gnu99 -dynamiclib -o
.libs/libtextstyle.0.dylib .libs/gl_array_list.o .libs/basename-lgpl.o
.libs/binary-io.o .libs/c-ctype.o .libs/c-strcasecmp.o
.libs/c-strncasecmp.o .libs/cloexec.o .libs/concat-filename.o
.libs/exitfail.o .libs/fatal-signal.o .libs/fd-hook.o .libs/fd-ostream.o
.libs/file-ostream.o .libs/full-write.o .libs/get_ppid_of.o
.libs/get_progname_of.o .libs/getprogname.o .libs/html-ostream.o .libs
/html-styled-ostream.o .libs/iconv-ostream.o .libs/gl_list.o
glthread/.libs/lock.o .libs/malloca.o .libs/math.o .libs/mem-hash-map.o
.libs/memory-ostream.o .libs/noop-styled-ostream.o .libs/ostream.o .libs
/printf-frexp.o .libs/printf-frexpl.o .libs/safe-read.o .libs/safe-write.o
.libs/sig-handler.o .libs/sockets.o .libs/stat-time.o .libs/styled-
ostream.o .libs/sys_socket.o .libs/term-ostream.o .libs/term-style-
control.o .libs/term-styled-ostream.o glthread/.libs/threadlib.o
.libs/unistd.o unistr/.libs/u8-mbtouc.o unistr/.libs/u8-mbtouc-aux.o
.libs/xmalloc.o .libs/xstrdup.o .libs/xconcat-filename.o
.libs/xgethostname.o .libs/gl_xlist.o .libs/xsize.o .libs/xvasprintf.o
.libs/xasprintf.o .libs/color.o .libs/misc.o .libs/version.o
.libs/asnprintf.o .libs/asprintf.o .libs/error.o .libs/fcntl.o
.libs/frexpl.o .libs/obstack.o .libs/open.o .libs/printf-args.o .libs
/printf-parse.o .libs/snprintf.o .libs/stat.o .libs/strerror.o .libs
/strerror-override.o .libs/vasnprintf.o .libs/vasprintf.o
-Wl,-force_load,./.libs/libcroco_rpl.a
-Wl,-force_load,./.libs/libglib_rpl.a -Wl,-force_load,./.libs/libxml_rpl.a
-lncurses -L/opt/local/lib -Os -arch ppc -Wl,-headerpad_max_install_names
-arch ppc -install_name /opt/local/lib/libtextstyle.0.dylib
-compatibility_version 2 -current_version 2.1 -Wl,-single_module
-Wl,-exported_symbols_list,.libs/libtextstyle-symbols.expsym
:info:build Undefined symbols:
:info:build "_iconv_ostream_create", referenced from:
:info:build -exported_symbol[s_list] command line option
:info:build ld: symbol(s) not found
:info:build collect2: ld returned 1 exit status
}}}
--
Ticket URL: <https://trac.macports.org/ticket/65761#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list