[MacPorts] #70531: clew fails to build on old systems: needs a platform restriction
MacPorts
noreply at macports.org
Sun Aug 11 15:45:35 UTC 2024
#70531: clew fails to build on old systems: needs a platform restriction
--------------------------------------------------+----------------------
Reporter: barracuda156 | Owner: stromnov
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: tiger, leopard, snowleopard, powerpc | Port: clew
--------------------------------------------------+----------------------
This probably cannot build on < 10.7.
{{{
---> Building clew
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build"
&& /usr/bin/make -j6 -w all VERBOSE=ON
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
/opt/local/bin/cmake
-S/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build
--check-build-system CMakeFiles/Makefile.cmake 0
/opt/local/bin/cmake -E cmake_progress_start
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/CMakeFiles
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build//CMakeFiles/progress.marks
/usr/bin/make -f CMakeFiles/Makefile2 all
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
/usr/bin/make -f src/CMakeFiles/clew.dir/build.make
src/CMakeFiles/clew.dir/depend
/usr/bin/make -f src/CMakeFiles/clew_static.dir/build.make
src/CMakeFiles/clew_static.dir/depend
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build
&& /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/src
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src/CMakeFiles/clew.dir/DependInfo.cmake
"--color="
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build
&& /opt/local/bin/cmake -E cmake_depends "Unix Makefiles"
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/src
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src/CMakeFiles/clew_static.dir/DependInfo.cmake
"--color="
Dependencies file "src/CMakeFiles/clew.dir/clew.c.o.d" is newer than
depends file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src/CMakeFiles/clew.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target clew
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
/usr/bin/make -f src/CMakeFiles/clew.dir/build.make
src/CMakeFiles/clew.dir/build
Dependencies file "src/CMakeFiles/clew_static.dir/clew.c.o.d" is newer
than depends file
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src/CMakeFiles/clew_static.dir/compiler_depend.internal".
Consolidate compiler generated dependencies of target clew_static
make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
/usr/bin/make -f src/CMakeFiles/clew_static.dir/build.make
src/CMakeFiles/clew_static.dir/build
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
make[2]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build'
[ 12%] Building C object src/CMakeFiles/clew.dir/clew.c.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src
&& /usr/bin/gcc-4.2 -DCL_USE_DEPRECATED_OPENCL_1_1_APIS -Dclew_EXPORTS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include -pipe -Os -DNDEBUG
-I/opt/local/include -fPIC -Wall -arch ppc -mmacosx-version-min=10.6 -fPIC
-MD -MT src/CMakeFiles/clew.dir/clew.c.o -MF
CMakeFiles/clew.dir/clew.c.o.d -o CMakeFiles/clew.dir/clew.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/src/clew.c
[ 25%] Building C object src/CMakeFiles/clew_static.dir/clew.c.o
cd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work/build/src
&& /usr/bin/gcc-4.2 -DCL_USE_DEPRECATED_OPENCL_1_1_APIS
-I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include -pipe -Os -DNDEBUG
-I/opt/local/include -fPIC -Wall -arch ppc -mmacosx-version-min=10.6 -MD
-MT src/CMakeFiles/clew_static.dir/clew.c.o -MF
CMakeFiles/clew_static.dir/clew.c.o.d -o
CMakeFiles/clew_static.dir/clew.c.o -c
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/src/clew.c
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/src/clew.c:9:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1820: warning: expected
[error|warning|ignored] after ‘#pragma GCC diagnostic’
In file included from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/src/clew.c:9:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1820: warning: expected
[error|warning|ignored] after ‘#pragma GCC diagnostic’
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1821: warning: unknown option
after ‘#pragma GCC diagnostic’ kind
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1821: warning: unknown option
after ‘#pragma GCC diagnostic’ kind
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1857: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1860: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1863: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1857: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1860: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1863: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1933: warning: ‘weak_import’
attribute ignored
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_clew/clew/work
/OpenCLWrangler-clew-27a6867/include/clew.h:1941: warning: ‘weak_import’
attribute ignored
}}}
Also fails with gcc14.
P. S. OpenCL was introduced in 10.6, only for Intel, and became usable in
10.7 (at least MacPorts typically enables it on 10.7+).
--
Ticket URL: <https://trac.macports.org/ticket/70531>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list