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

MacPorts noreply at macports.org
Wed Aug 2 12:58:04 UTC 2023


#67894: libarchive @3.7.1 does not build on Tiger: unzip/bsdunzip.c: error:
expected ';' before '{' token
--------------------------+--------------------------
 Reporter:  barracuda156  |      Owner:  tobypeterson
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.8.1
 Keywords:  tiger         |       Port:  libarchive
--------------------------+--------------------------
 {{{
 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
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/67894>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list