#67894 closed defect (duplicate)

libarchive @3.7.1 does not build on Tiger: unzip/bsdunzip.c: error: expected ';' before '{' token

Reported by: barracuda156 Owned by: tobypeterson
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: tiger Cc:
Port: libarchive

Description

libtool: link: /opt/local/bin/gcc-apple-4.2 -std=gnu99 -pipe -Os -arch ppc -Wall -Wformat -Wformat-security -fvisibility=hidden -D__LIBARCHIVE_ENABLE_VISIBILITY -Wl,-headerpad_max_install_names -arch ppc -o bsdcat cat/bsdcat-bsdcat.o cat/bsdcat-cmdline.o  -L/opt/local/lib ./.libs/libarchive_fe.a ./.libs/libarchive.a /opt/local/lib/libiconv.dylib /opt/local/lib/liblzo2.dylib /opt/local/lib/liblzma.dylib -lzstd -llz4 /opt/local/lib/libb2.dylib -lbz2 -lz /opt/local/lib/libxml2.dylib -pthread
/opt/local/bin/gcc-apple-4.2 -std=gnu99 -DHAVE_CONFIG_H -I.  -I./libarchive -I./libarchive_fe -DLIBARCHIVE_STATIC  -I/opt/local/include -I/opt/local/include/libxml2  -pipe -Os -arch ppc -Wall -Wformat -Wformat-security -fvisibility=hidden -D__LIBARCHIVE_ENABLE_VISIBILITY -MT unzip/bsdunzip-bsdunzip.o -MD -MP -MF unzip/.deps/bsdunzip-bsdunzip.Tpo -c -o unzip/bsdunzip-bsdunzip.o `test -f 'unzip/bsdunzip.c' || echo './'`unzip/bsdunzip.c
unzip/bsdunzip.c: In function 'match_pattern':
unzip/bsdunzip.c:328: warning: implicit declaration of function 'STAILQ_FOREACH'
unzip/bsdunzip.c:328: error: expected ';' before '{' token
unzip/bsdunzip.c:337: warning: no return statement in function returning non-void
unzip/bsdunzip.c: In function 'handle_existing_file':
unzip/bsdunzip.c:505: warning: implicit declaration of function 'getline'
make[1]: *** [unzip/bsdunzip-bsdunzip.o] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.7.1'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.7.1'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libarchive/libarchive/work/libarchive-3.7.1" && /usr/bin/make -j1 -w all 
Exit code: 2

Change History (2)

comment:1 Changed 15 months ago by kencu (Ken)

see #67870 where Tiger issues with the new libarchive are being followed.

comment:2 Changed 15 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: assignedclosed
Note: See TracTickets for help on using tickets.