shamazmazum / jpeg-turbo

Common Lisp wrapper for libjpeg-turbo
BSD 2-Clause "Simplified" License
1 stars 1 forks source link

Build error: `/usr/bin/gcc-4.2 -std=gnu99: No such file or directory` #5

Open barracuda156 opened 1 month ago

barracuda156 commented 1 month ago

Installation fails on the following:

; compiling file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/sbcl-2.4.8-macosx-ppc32/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/grovel.processed-grovel-file" (written 16 SEP 2024 01:13:35 PM):

; wrote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/sbcl-2.4.8-macosx-ppc32/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/grovel-tmpVIL8T0YR.fasl
; compilation finished in 0:00:00.063
; compiling file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/jpeg-turbo.lisp" (written 21 NOV 2020 03:21:26 PM):

; file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/jpeg-turbo.lisp
; in: DEFUN DECOMPRESS-FROM-OCTETS
;     (CONS :NO-REALLOC JPEG-TURBO::FLAGS)
; 
; note: deleting unreachable code

; in: DEFUN COMPRESS-TO-OCTETS
;     (CONS :NO-REALLOC JPEG-TURBO::FLAGS)
; 
; note: deleting unreachable code

; wrote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/sbcl-2.4.8-macosx-ppc32/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/jpeg-turbo-tmpBODYQO2B.fasl
; compilation finished in 0:00:00.812
; 
; compilation unit finished
;   printed 2 notes
Execute asdf:build-op at jpeg-turbo by CLISP
#P"/opt/local/lib/clisp-2.49.93+/dynmod/asdf.lisp"
(*DEFAULT-PATHNAME-DEFAULTS*
 #P"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/system/"
 #P"/opt/local/share/common-lisp/system/")
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS TEST-OP> (EQL #<SYSTEM 
         "cffi">))> to an already called generic function
         #<STANDARD-GENERIC-FUNCTION PERFORM>
WARNING: Adding method #<STANDARD-METHOD ((EQL #<SYSTEM "cffi">)
         #<BUILT-IN-CLASS T>)> to an already called generic function
         #<STANDARD-GENERIC-FUNCTION VERSION-SATISFIES>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS TEST-OP> (EQL #<SYSTEM 
         "babel">))> to an already called generic function
         #<STANDARD-GENERIC-FUNCTION OPERATION-DONE-P>
WARNING: LOOP: FOR clauses should occur before the loop's main body
WARNING: LOOP: After THE a plural loop keyword is required, not HASH-VALUE
WARNING: DEFGENERIC: redefining function BARE-STRUCT-TYPE-P in
         /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/clisp-2.49.93+-unix-power_macintosh/opt/local/share/common-lisp/source/cl-cffi/src/early-types.fas,
         was defined in top-level
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS FOREIGN-ARRAY-TYPE>)> to an
         already called generic function
         #<STANDARD-GENERIC-FUNCTION AGGREGATEP>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS FOREIGN-ARRAY-TYPE>)> to an
         already called generic function
         #<STANDARD-GENERIC-FUNCTION FOREIGN-TYPE-SIZE>
WARNING: Adding method
         #<STANDARD-METHOD (#<BUILT-IN-CLASS T> #<STANDARD-CLASS FOREIGN-BOOLEAN-TYPE>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION EXPAND-TO-FOREIGN>
WARNING: LOOP: After THE a plural loop keyword is required, not HASH-VALUE
WARNING: LOOP: After THE a plural loop keyword is required, not HASH-VALUE
WARNING: LOOP: FOR clauses should occur before the loop's main body
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS LINK-OP> #<STANDARD-CLASS SYSTEM>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION PERFORM>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS COMPILE-OP> #<STANDARD-CLASS C-FILE>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION OUTPUT-FILES>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS STATIC-RUNTIME-OP>)> to an
         already called generic function
         #<STANDARD-GENERIC-FUNCTION SELFWARD-OPERATION>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS STATIC-RUNTIME-OP> #<STANDARD-CLASS SYSTEM>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION OUTPUT-FILES>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS STATIC-RUNTIME-OP> #<STANDARD-CLASS SYSTEM>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION PERFORM>
WARNING: Adding method
         #<STANDARD-METHOD :AROUND (#<STANDARD-CLASS PROCESS-OP> #<STANDARD-CLASS CC-FLAGS-MIXIN>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION PERFORM>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS PROCESS-OP> #<STANDARD-CLASS PROCESS-OP-INPUT>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION INPUT-FILES>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS PROCESS-OP> #<STANDARD-CLASS PROCESS-OP-INPUT>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION COMPONENT-DEPENDS-ON>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS PROCESS-OP> #<STANDARD-CLASS GROVEL-FILE>)>
         to an already called generic function
         #<STANDARD-GENERIC-FUNCTION OUTPUT-FILES>
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS TEST-OP> (EQL #<SYSTEM 
         "jpeg-turbo">))> to an already called generic function
         #<STANDARD-GENERIC-FUNCTION PERFORM>
; "/usr/bin/gcc-4.2 -std=gnu99" -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/clisp-2.49.93+-unix-power_macintosh/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/grovel__grovel-tmp7ZJ9PR8G.o -c -pipe -arch ppc -arch ppc -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -O2 -fwrapv -fno-strict-aliasing -DUNIX_BINARY_DISTRIB -DNO_ASM -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -fno-common -DPIC -I/opt/local/include -fPIC -I/opt/local/share/common-lisp/source/cl-cffi/ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/clisp-2.49.93+-unix-power_macintosh/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/grovel__grovel.c
/bin/sh: /usr/bin/gcc-4.2 -std=gnu99: No such file or directory
/bin/sh: line 0: exec: /usr/bin/gcc-4.2 -std=gnu99: cannot execute: No such file or directory
*** - Subprocess with command
      ("/usr/bin/gcc-4.2 -std=gnu99" "-o" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/clisp-2.49.93+-unix-power_macintosh/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/grovel__grovel-tmp7ZJ9PR8G.o" "-c" "-pipe" "-arch" "ppc" "-arch" "ppc" "-W" "-Wswitch" "-Wcomment" "-Wpointer-arith" "-Wreturn-type" "-Wmissing-declarations" "-Wimplicit" "-Wno-sign-compare" "-Wno-format-nonliteral" "-O2" "-fwrapv" "-fno-strict-aliasing" "-DUNIX_BINARY_DISTRIB" "-DNO_ASM" "-DENABLE_UNICODE" "-DDYNAMIC_FFI" "-DDYNAMIC_MODULES" "-fno-common" "-DPIC" "-I/opt/local/include" "-fPIC" "-I/opt/local/share/common-lisp/source/cl-cffi/" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/.home/.cache/common-lisp/clisp-2.49.93+-unix-power_macintosh/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/source/cl-jpeg-turbo/src/grovel__grovel.c")
      exited with error code 126
Command failed: /opt/local/bin/clisp --quiet --quiet -x '(require "asdf")' -x '(setf asdf:*central-registry* (list* (quote *default-pathname-defaults*) #p"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-jpeg-turbo/cl-jpeg-turbo/work/build/system/" #p"/opt/local/share/common-lisp/system/" asdf:*central-registry*))' -x '(asdf:operate (quote asdf:build-op) (quote jpeg-turbo))' 2>&1
Exit code: 1

/usr/bin/gcc-4.2 -std=gnu99 is a legitimate expression, though of course the flag is not a directory. I am also not sure if the build should pick an arbitrary gcc from the system prefix instead of the one which was used to build SBCL.