[MacPorts] #65305: libdeflate @1.11 does not build on PPC Mac OS X 10.4.11, Tiger, because: Makefile:130: *** only one `else' per conditional. Stop.

MacPorts noreply at macports.org
Tue Jun 7 21:50:12 UTC 2022


#65305: libdeflate @1.11 does not build on PPC Mac OS X 10.4.11, Tiger, because:
Makefile:130: *** only one `else' per conditional.  Stop.
-------------------------+--------------------
  Reporter:  ballapete   |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.7.2
Resolution:              |   Keywords:  tiger
      Port:  libdeflate  |
-------------------------+--------------------

Comment (by ballapete):

 The build stops early:

 {{{
 cc -o libdeflate.so.0  -O2 -fomit-frame-pointer -std=c99 -I. -Wall -Wundef
 -fvisibility=hidden -D_ANSI_SOURCE \
         -Wl,-soname=libdeflate.so.0 -shared lib/deflate_decompress.shlib.o
 lib/utils.shlib.o lib/arm/cpu_features.shlib.o
 lib/x86/cpu_features.shlib.o lib/deflate_compress.shlib.o
 lib/adler32.shlib.o lib/zlib_decompress.shlib.o lib/zlib_compress.shlib.o
 lib/crc32.shlib.o lib/gzip_decompress.shlib.o lib/gzip_compress.shlib.o
 powerpc-apple-darwin8-gcc-4.0.1: unrecognized option '-shared'
 /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: unknown flag:
 -soname=libdeflate.so.0
 collect2: ld returned 1 exit status
 gmake: *** [Makefile:245: libdeflate.so.0] Fehler 1
 CC="cc" CFLAGS="-O2 -fomit-frame-pointer -std=c99 -I. -Wall -Wundef
 -D_POSIX_C_SOURCE=200809L -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H"
 scripts/detect.sh > programs/config.h
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 scripts/detect.sh: line 16: /dev/null: Operation not supported
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/65305#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list