[MacPorts] #69540: libzzip 0.13.72 doesn't build on Sonoma 14.4 M2

MacPorts noreply at macports.org
Tue Mar 19 08:02:56 UTC 2024


#69540: libzzip 0.13.72  doesn't build on Sonoma 14.4 M2
---------------------+---------------------
 Reporter:  rrobtoo  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.9.1
 Keywords:           |       Port:  libzzip
---------------------+---------------------
 Dear DevTeam,
 The port upgrade outdated fails with the following error, but manual
 compilation of the newest version of libzzip 0.13.74 works just fine.

 Please find below the error log:

 :info:build
 /opt/ports/var/macports/build/_opt_portsq_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.72/zzip/mmapped.c:664:11:
 error: incompatible pointer to integer conversion initializing 'off_t'
 (aka 'long long') with an expression of type 'zzip_byte_t *' (aka
 'unsigned char *') [-Wint-conversion]
 :info:build     off_t offset = zzip_file_header_to_data(header);
 :info:build           ^        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 :info:build
 /opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.72/zzip/mmapped.c:666:34:
 warning: incompatible pointer types initializing 'struct zzip_extra_zip64
 *' with an expression of type 'char *' [-Wincompatible-pointer-types]
 :info:build         struct zzip_extra_zip64* zip64 =
 :info:build                                  ^
 :info:build
 /opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.72/zzip/mmapped.c:673:34:
 warning: incompatible pointer types initializing 'struct zzip_extra_zip64
 *' with an expression of type 'char *' [-Wincompatible-pointer-types]
 :info:build         struct zzip_extra_zip64* zip64 =
 :info:build                                  ^
 :info:build
 /opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.72/zzip/mmapped.c:685:24:
 error: incompatible integer to pointer conversion assigning to 'Bytef *'
 (aka 'unsigned char *') from 'off_t' (aka 'long long') [-Wint-conversion]
 :info:build     file->zlib.next_in = offset;
 :info:build                        ^ ~~~~~~
 :info:build cd
 /opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/build/zzipwrap
 && /opt/ports/bin/bash -c "echo 'Name: zzipwrap' >> zzipwrap.pc"
 :info:build 2 warnings and 2 errors generated.
 :info:build make[2]: *** [zzip/CMakeFiles/libzzipmmapped.dir/mmapped.c.o]
 Error 1
 :info:build make[2]: Leaving directory
 `/opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/build'
 :info:build cd
 /opt/ports/var/macports/build/_opt_ports_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_libzzip/libzzip/work/build/zzip
 && /opt/ports/bin/bash -c "echo '#warning do no not use <zzip.h>, update
 to include <zzip/lib.h>' >>compat/zzip.h"
 :info:build make[1]: *** [zzip/CMakeFiles/libzzipmmapped.dir/all] Error 2
 :info:build make[1]: *** Waiting for unfinished jobs....

 Regards,
 Robert

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


More information about the macports-tickets mailing list