[MacPorts] #70188: taucs fails to build: fatal error: cilk.h: No such file or directory
MacPorts
noreply at macports.org
Sat Jun 8 12:13:10 UTC 2024
#70188: taucs fails to build: fatal error: cilk.h: No such file or directory
--------------------------+---------------------------------
Reporter: barracuda156 | Owner: MarcusCalhoun-Lopez
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.9.3
Keywords: | Port: taucs
--------------------------+---------------------------------
gcc-4.2:
```
---> Building taucs
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_taucs/taucs/work/taucs"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_math_taucs/taucs/work/taucs'
mkdir obj
mkdir bin
mkdir lib
mkdir lib/darwin/
mkdir bin/darwin/
mkdir obj/darwin/
echo exists > obj/darwin/exists.log
echo exists > bin/darwin/exists.log
echo exists > lib/darwin/exists.log
/usr/bin/gcc-4.2 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I src/ -I
build/darwin/ -I external/src/ \
progs/taucs_blas_underscore_test.c \
-o ./obj/darwin/taucs_blas_underscore_test.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/readhb.c \
-o ./obj/darwin/readhb.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdatr.c \
-o ./obj/darwin/amdatr.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdbar.c \
-o ./obj/darwin/amdbar.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdexa.c \
-o ./obj/darwin/amdexa.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdhaf.c \
-o ./obj/darwin/amdhaf.o
/usr/bin/gcc-4.2 \
-o ./obj/darwin/taucs_blas_underscore_test \
obj/darwin/taucs_blas_underscore_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
obj/darwin/taucs_blas_underscore_test build/darwin/taucs_config_tests.h
Linking with dgemm_ succeeded
/usr/bin/gcc-4.2 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I src/ -I
build/darwin/ -I external/src/ \
progs/taucs_blas_nounderscore_test.c \
-o ./obj/darwin/taucs_blas_nounderscore_test.o
/usr/bin/gcc-4.2 \
-o ./obj/darwin/taucs_blas_nounderscore_test \
obj/darwin/taucs_blas_nounderscore_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
obj/darwin/taucs_blas_nounderscore_test build/darwin/taucs_config_tests.h
Linking with dgemm succedded
/usr/bin/gcc-4.2 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I src/ -I
build/darwin/ -I external/src/ \
progs/taucs_c99_complex_test.c \
-o ./obj/darwin/taucs_c99_complex_test.o
/usr/bin/gcc-4.2 \
-o ./obj/darwin/taucs_c99_complex_test \
obj/darwin/taucs_c99_complex_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdhat.c \
-o ./obj/darwin/amdhat.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdpre.c \
-o ./obj/darwin/amdpre.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/amdtru.c \
-o ./obj/darwin/amdtru.o
obj/darwin/taucs_c99_complex_test build/darwin/taucs_config_tests.h
C99 complex numbers seem to be supported, 1+sqrt(-1)=-1.000000+1.000000i
/usr/bin/gcc-4.2 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I src/ -I
build/darwin/ -I external/src/ \
progs/taucs_cilk_test.c \
-o ./obj/darwin/taucs_cilk_test.o
/usr/bin/gcc-4.2 -c -pipe -Os -m32 \
external/src/genmmd.c \
-o ./obj/darwin/genmmd.o
progs/taucs_cilk_test.c:8:19: error: cilk.h: No such file or directory
progs/taucs_cilk_test.c:12: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘int’
progs/taucs_cilk_test.c:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘int’
make: [build/darwin/taucs_config_tests.h] Error 1 (ignored)
/usr/bin/gcc-4.2 \
-o ./obj/darwin/taucs_cilk_test \
obj/darwin/taucs_cilk_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
powerpc-apple-darwin10-gcc-4.2.1: obj/darwin/taucs_cilk_test.o: No such
file or directory
make: [build/darwin/taucs_config_tests.h] Error 1 (ignored)
obj/darwin/taucs_cilk_test build/darwin/taucs_config_tests.h
make: posix_spawn: obj/darwin/taucs_cilk_test: No such file or directory
make: *** Deleting file `build/darwin/taucs_config_tests.h'
make: *** Waiting for unfinished jobs....
```
gcc-13:
```
---> Building taucs
Executing: cd
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_taucs/taucs/work/taucs"
&& /usr/bin/make -j6 -w all
make: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_math_taucs/taucs/work/taucs'
mkdir obj
mkdir bin
mkdir lib
mkdir lib/darwin/
mkdir bin/darwin/
mkdir obj/darwin/
echo exists > bin/darwin/exists.log
echo exists > obj/darwin/exists.log
echo exists > lib/darwin/exists.log
/opt/local/bin/gcc-mp-13 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I
src/ -I build/darwin/ -I external/src/ \
progs/taucs_blas_underscore_test.c \
-o ./obj/darwin/taucs_blas_underscore_test.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/readhb.c \
-o ./obj/darwin/readhb.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdatr.c \
-o ./obj/darwin/amdatr.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdbar.c \
-o ./obj/darwin/amdbar.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdexa.c \
-o ./obj/darwin/amdexa.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdhaf.c \
-o ./obj/darwin/amdhaf.o
/opt/local/bin/gcc-mp-13 \
-o ./obj/darwin/taucs_blas_underscore_test \
obj/darwin/taucs_blas_underscore_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
obj/darwin/taucs_blas_underscore_test build/darwin/taucs_config_tests.h
Linking with dgemm_ succeeded
/opt/local/bin/gcc-mp-13 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I
src/ -I build/darwin/ -I external/src/ \
progs/taucs_blas_nounderscore_test.c \
-o ./obj/darwin/taucs_blas_nounderscore_test.o
/opt/local/bin/gcc-mp-13 \
-o ./obj/darwin/taucs_blas_nounderscore_test \
obj/darwin/taucs_blas_nounderscore_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
obj/darwin/taucs_blas_nounderscore_test build/darwin/taucs_config_tests.h
Linking with dgemm succedded
/opt/local/bin/gcc-mp-13 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I
src/ -I build/darwin/ -I external/src/ \
progs/taucs_c99_complex_test.c \
-o ./obj/darwin/taucs_c99_complex_test.o
/opt/local/bin/gcc-mp-13 \
-o ./obj/darwin/taucs_c99_complex_test \
obj/darwin/taucs_c99_complex_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
obj/darwin/taucs_c99_complex_test build/darwin/taucs_config_tests.h
C99 complex numbers seem to be supported, 1+sqrt(-1)=-1.000000+1.000000i
/opt/local/bin/gcc-mp-13 -c -pipe -Os -faltivec -arch ppc -DMACHTYPE_ -I
src/ -I build/darwin/ -I external/src/ \
progs/taucs_cilk_test.c \
-o ./obj/darwin/taucs_cilk_test.o
progs/taucs_cilk_test.c:8:10: fatal error: cilk.h: No such file or
directory
8 | #include <cilk.h>
| ^~~~~~~~
compilation terminated.
make: [build/darwin/taucs_config_tests.h] Error 1 (ignored)
/opt/local/bin/gcc-mp-13 \
-o ./obj/darwin/taucs_cilk_test \
obj/darwin/taucs_cilk_test.o -L/opt/local/lib
-Wl,-headerpad_max_install_names -Wl,-rpath,/opt/local/lib/libgcc -arch
ppc -framework Accelerate -lmetis -lf2c
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdhat.c \
-o ./obj/darwin/amdhat.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdpre.c \
-o ./obj/darwin/amdpre.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/amdtru.c \
-o ./obj/darwin/amdtru.o
/opt/local/bin/gfortran-mp-13 -c -pipe -Os -m32 \
external/src/genmmd.c \
-o ./obj/darwin/genmmd.o
ld: file not found: obj/darwin/taucs_cilk_test.o
collect2: error: ld returned 1 exit status
make: [build/darwin/taucs_config_tests.h] Error 1 (ignored)
obj/darwin/taucs_cilk_test build/darwin/taucs_config_tests.h
make: posix_spawn: obj/darwin/taucs_cilk_test: No such file or directory
make: *** Deleting file `build/darwin/taucs_config_tests.h'
make: *** Waiting for unfinished jobs....
```
--
Ticket URL: <https://trac.macports.org/ticket/70188>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list