[MacPorts] #55415: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, due to various issues building libuv
MacPorts
noreply at macports.org
Fri Mar 23 13:43:04 UTC 2018
#55415: cmake @3.10.1 does not build on PPC Tiger, Mac OS X 10.4.11, due to various
issues building libuv
------------------------+-----------------------
Reporter: ballapete | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: tiger
Port: cmake |
------------------------+-----------------------
Comment (by ballapete):
I have this (a bit edited):
{{{
cmake-3.10.3/CMakeFiles/3.10.3/CMakeCXXCompiler.cmake:set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES
"stdc++;gcc_s.10.4;gcc_ext.10.4;gcc")
cmake-3.10.3/CMakeFiles/3.10.3/CMakeCXXCompiler.cmake:set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES
"\
/opt/local/lib;\
/opt/local/lib/gcc6/gcc/ppc-apple-darwin8/6.4.0;\
/opt/local/lib/gcc6;\
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib;\
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/gcc6/gcc/ppc-apple-
darwin8/6.4.0;\
/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/gcc6;\
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib;\
/Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib")
cmake-3.10.3/CMakeFiles/3.10.3/CMakeCXXCompiler.cmake:set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
"/Developer/SDKs/MacOSX10.4u.sdk/Library/Frameworks;/Developer/SDKs/MacOSX10.4u.sdk/System/Library/Frameworks")
cmake-3.10.3/Modules/CMakeCXXCompiler.cmake.in:set(CMAKE_CXX_IMPLICIT_LINK_LIBRARIES
"@CMAKE_CXX_IMPLICIT_LINK_LIBRARIES@")
cmake-3.10.3/Modules/CMakeCXXCompiler.cmake.in:set(CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES
"@CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES@")
cmake-3.10.3/Modules/CMakeCXXCompiler.cmake.in:set(CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
"@CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES@")
cmake-3.10.3/Tests/SystemInformation/SystemInformation.in:CMAKE_CXX_IMPLICIT_LINK_LIBRARIES
== "${CMAKE_CXX_IMPLICIT_LINK_LIBRARIES}"
cmake-3.10.3/Tests/SystemInformation/SystemInformation.in:CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES
== "${CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES}"
cmake-3.10.3/Tests/SystemInformation/SystemInformation.in:CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES
== "${CMAKE_CXX_IMPLICIT_LINK_FRAMEWORK_DIRECTORIES}"
}}}
I presume that `CMAKE_CXX_IMPLICIT_LINK_DIRECTORIES` is listing possible
places that contain the `CMAKE_CXX_IMPLICIT_LINK_LIBRARIES` `stdc++`*,
`gcc_s.10.4`*, `gcc_ext.10.4`*, or `gcc`*. In
`/Developer/SDKs/MacOSX10.4u.sdk/opt/local/lib/gcc6` I have:
{{{
drwxr-xr-x 3 root admin 102 16. Aug 2017 gcc
lrwxrwxrwx 1 root admin 43 16. Aug 2017 libgcc_ext.10.4.dylib ->
/opt/local/lib/libgcc/libgcc_ext.10.4.dylib
lrwxrwxrwx 1 root admin 43 16. Aug 2017 libgcc_ext.10.5.dylib ->
/opt/local/lib/libgcc/libgcc_ext.10.5.dylib
lrwxrwxrwx 1 root admin 38 16. Aug 2017 libgcc_s.1.dylib ->
/opt/local/lib/libgcc/libgcc_s.1.dylib
lrwxrwxrwx 1 root admin 16 16. Aug 2017 libgcc_s_ppc64.1.dylib ->
libgcc_s.1.dylib
lrwxrwxrwx 1 root admin 16 16. Aug 2017 libgcc_s_x86_64.1.dylib ->
libgcc_s.1.dylib
lrwxrwxrwx 1 root admin 39 16. Aug 2017 libstdc++.6.dylib ->
/opt/local/lib/libgcc/libstdc++.6.dylib
-rw-r--r-- 1 root admin 12743616 16. Aug 2017 libstdc++.a
-rw-r--r-- 1 root admin 2399 16. Aug 2017 libstdc++.a-gdb.py
lrwxrwxrwx 1 root admin 17 16. Aug 2017 libstdc++.dylib ->
libstdc++.6.dylib
-rwxr-xr-x 1 root admin 947 16. Aug 2017 libstdc++.la
-rw-r--r-- 1 root admin 3332608 16. Aug 2017 libstdc++fs.a
-rwxr-xr-x 1 root admin 902 16. Aug 2017 libstdc++fs.la
}}}
On disk I have also:
{{{
lrwxr-xr-x 1 root wheel 27 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/i686-apple-
darwin8/4.0.1/libstdc++.dylib -> ../../lib/libstdc++.6.dylib
-rw-r--r-- 1 root wheel 2966776 20 Apr 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3/libstdc++.a
-rw-r--r-- 1 root wheel 2966776 20 Apr 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/darwin/3.3/libstdc++_ZeroLink.a
-rw-r--r-- 1 root wheel 1688364 27 Mai 2005
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-
darwin8/4.0.0/libstdc++.a
lrwxr-xr-x 1 root wheel 26 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-
darwin8/4.0.0/libstdc++.dylib -> ../../../libstdc++.6.dylib
lrwxr-xr-x 1 root wheel 26 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-
darwin8/4.0.1/libstdc++.dylib -> ../../../libstdc++.6.dylib
-rw-r--r-- 1 root wheel 1789636 27 Mai 2005
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
darwin8/4.0.0/libstdc++.a
lrwxr-xr-x 1 root wheel 26 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
darwin8/4.0.0/libstdc++.dylib -> ../../../libstdc++.6.dylib
-rw-r--r-- 1 root wheel 1944436 27 Mai 2005
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
darwin8/4.0.0/ppc64/libstdc++.a
lrwxr-xr-x 1 root wheel 26 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
darwin8/4.0.1/libstdc++.dylib -> ../../../libstdc++.6.dylib
-rw-r--r-- 1 root wheel 6766864 20 Apr 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libstdc++-static.a
-rwxr-xr-x 1 root wheel 1340048 13 Sep 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libstdc++.6.0.4.dylib
lrwxr-xr-x 1 root wheel 21 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libstdc++.6.dylib ->
libstdc++.6.0.4.dylib
lrwxr-xr-x 1 root wheel 21 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libstdc++.dylib ->
libstdc++.6.0.4.dylib
lrwxr-xr-x 1 root wheel 27 27 Apr 2013
/Developer/SDKs/MacOSX10.4u.sdk/usr/power-apple-
darwin8/4.0.1/libstdc++.dylib -> ../../lib/libstdc++.6.dylib
lrwxr-xr-x 1 root wheel 26 27 Apr 2013
/Developer/usr/lib/gcc/i686-apple-darwin8/4.0.1/libstdc++.dylib ->
../../../libstdc++.6.dylib
lrwxr-xr-x 1 root wheel 26 27 Apr 2013
/Developer/usr/lib/gcc/powerpc-apple-darwin8/4.0.1/libstdc++.dylib ->
../../../libstdc++.6.dylib
-rwxr-xr-x 1 root wheel 10612 14 Sep 2006
/Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/libgcc_s.10.4.dylib
-rwxr-xr-x 1 root wheel 41500 20 Apr 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/libgcc_s.10.4.dylib
drwxr-xr-x 3 root wheel 102 27 Okt 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/gcc
drwxr-xr-x 5 root wheel 170 27 Okt 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc
drwxr-xr-x 2 root wheel 68 27 Okt 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/i686-apple-
darwin8/4.0.1/include/gcc
drwxr-xr-x 2 root wheel 68 27 Okt 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
darwin8/4.0.0/include/gcc
drwxr-xr-x 2 root wheel 68 27 Okt 2007
/Developer/SDKs/MacOSX10.4u.sdk/usr/lib/gcc/powerpc-apple-
darwin8/4.0.1/include/gcc
drwxr-xr-x 4 root wheel 136 21 Sep 2007 /Developer/usr/lib/gcc
drwxr-xr-x 2 root wheel 68 21 Sep 2007
/Developer/usr/lib/gcc/i686-apple-darwin8/4.0.1/include/gcc
drwxr-xr-x 2 root wheel 68 21 Sep 2007 /Developer/usr/lib/gcc
/powerpc-apple-darwin8/4.0.1/include/gcc
}}}
Are the now in GCC6 existing
{{{
-rw-r--r-- 1 root admin 6848 13 Feb 22:09
/opt/local/lib/libgcc/libgcc_ext.10.4.dylib
-rw-r--r-- 1 root admin 6380 13 Feb 22:09
/opt/local/lib/libgcc/libgcc_ext.10.5.dylib
}}}
causing the failure?
--
Ticket URL: <https://trac.macports.org/ticket/55415#comment:34>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list