[MacPorts] #54964: qt5-qtbase fails to build now
MacPorts
noreply at macports.org
Sun Oct 1 22:21:30 UTC 2017
#54964: qt5-qtbase fails to build now
-------------------------+---------------------------------
Reporter: mouse07410 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: qt5-qtbase |
-------------------------+---------------------------------
Changes (by MarcusCalhoun-Lopez):
* owner: => MarcusCalhoun-Lopez
* status: new => accepted
Comment:
Certain configuration tests are supposed to fail on macOS.[[BR]]
The X11 test is one of them.[[BR]]
The real error seems to be
{{{
>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-c -pipe -stdlib=libc++ -O2 -std=gnu++11 -arch x86_64 -isysroot
/Applications/Xcode.app/Contents/Develope\
r/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-
version-min=10.12 -Wall -W -fPIC -I.
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarbal\
ls_ports_aqua_qt5/qt5-qtbase/work/qtbase-opensource-src-5.9.1/mkspecs
/macx-clang -o libjpeg.o libjpeg.cpp
>
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
-stdlib=libc++ -headerpad_max_install_names -arch x86_64
-Wl,-syslibroot,/Applications/Xcode.app/Contents\
/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk
-mmacosx-version-min=10.12 -Wl,-rpath, at executable_path/Frameworks -o
libjpeg libjpeg.o -ljpeg
> Undefined symbols for architecture x86_64:
> "_jpeg_CreateCompress", referenced from:
> _main in libjpeg.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: *** [libjpeg] Error 1
}}}
Is there any reason to think that the port jpeg is not installed
correctly?[[BR]]
There might be a hint in main.log (located by running {{{port logfile
qt5-qtbase}}}).[[BR]]
You might also try {{{port provides /opt/local/lib/libjpeg.dylib}}} to
make sure the jpeg library is installed correctly.[[BR]]
If neither of those gives any insight, {{{nm -gU
/opt/local/lib/libjpeg.dylib}}} should contain the symbol
{{{_jpeg_CreateCompress}}}.
--
Ticket URL: <https://trac.macports.org/ticket/54964#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list