Opened 7 years ago
Closed 7 years ago
#56115 closed defect (duplicate)
source-highlight +universal fails to install
Reported by: | franzinc (franzinc) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.2 |
Keywords: | Cc: | ||
Port: | source-highlight |
Description
I got the error in an upgrade, but I uninstalled all ports and started from scratch. This is on macOS 10.12.6 with Xcode 8.0, Build version 8A218a.
# port -N install xorg-libXt +flat_namespace +universal # port -N install openmotif +universal # port -N install gtk2 +x11 +universal
Then, I saw an error in main.log about gsed not existing, so I installed that (the non-universal variant) and tried the install of gtk2 again and it failed the same way:
:info:build /bin/sh ../libtool --tag=CXX --mode=link /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386 -L/opt/local/lib -L/opt/local/lib -Wl,-headerpad_max_install_names -Wc,-stdlib=libc++ -arch x86_64 -arch i386 -o source-highlight-settings source-highlight-settings.o ../gl/libgnu.la ../lib/srchilite/libsource-highlight.la :info:build libtool: link: /usr/bin/clang++ -pipe -Os -stdlib=libc++ -arch x86_64 -arch i386 -Wl,-headerpad_max_install_names -stdlib=libc++ -arch x86_64 -arch i386 -o .libs/source-highlight-settings source-highlight-settings.o -L/opt/local/lib ../gl/.libs/libgnu.a ../lib/srchilite/.libs/libsource-highlight.dylib -lboost_regex-mt :info:build Undefined symbols for architecture i386: :info:build "srchilite::Settings::readDataDir()", referenced from: :info:build _main in source-highlight-settings.o :info:build "srchilite::Settings::retrieveDataDir(bool)", referenced from: :info:build _main in source-highlight-settings.o :info:build "srchilite::Settings::checkForConfFile()", referenced from: :info:build _main in source-highlight-settings.o :info:build "srchilite::Settings::checkForTestFile()", referenced from: :info:build checkForTestFile() in source-highlight-settings.o :info:build "srchilite::Settings::save()", referenced from: :info:build save() in source-highlight-settings.o :info:build "srchilite::Settings::Settings()", referenced from: :info:build __GLOBAL__sub_I_source_highlight_settings.cpp in source-highlight-settings.o :info:build "srchilite::Settings::~Settings()", referenced from: :info:build __GLOBAL__sub_I_source_highlight_settings.cpp in source-highlight-settings.o :info:build "srchilite::Versions::getCompleteVersion()", referenced from: :info:build _main in source-highlight-settings.o :info:build ld: symbol(s) not found for architecture i386 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: *** [source-highlight-settings] Error 1 :info:build make[2]: *** Waiting for unfinished jobs.... :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_source-highlight/source-highlight/work/source-highlight-3.1.8/src' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_textproc_source-highlight/source-highlight/work/source-highlight-3.1.8' :info:build make: *** [all] Error 2
Attachments (1)
Change History (2)
Changed 7 years ago by franzinc (franzinc)
comment:1 Changed 7 years ago by jmroot (Joshua Root)
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
#56085