[MacPorts] #70875: libmcrypt @2.5.8 fails to build

MacPorts noreply at macports.org
Mon Sep 23 07:08:10 UTC 2024


#70875: libmcrypt @2.5.8 fails to build
-----------------------+--------------------------
 Reporter:  florinche  |      Owner:  (none)
     Type:  defect     |     Status:  new
 Priority:  Normal     |  Milestone:
Component:  ports      |    Version:  2.10.1
 Keywords:             |       Port:  php82-mcrypt
-----------------------+--------------------------
 I was trying to install php82-mcrypt and the libmcrypt dependency fails to
 build.
 I am on a Apple M2 15.0, i know there are a lot of issue with Seqoia right
 now but this seams a different problem.

 {{{
 ...
 --->  Fetching archive for libmcrypt
 --->  Attempting to fetch libmcrypt-2.5.8_1.darwin_24.arm64.tbz2 from
 https://vie.at.packages.macports.org/libmcrypt
 --->  Attempting to fetch libmcrypt-2.5.8_1.darwin_24.arm64.tbz2 from
 https://packages.macports.org/libmcrypt
 --->  Attempting to fetch libmcrypt-2.5.8_1.darwin_24.arm64.tbz2 from
 https://nue.de.packages.macports.org/libmcrypt
 --->  Fetching distfiles for libmcrypt
 --->  Verifying checksums for libmcrypt
 --->  Extracting libmcrypt
 --->  Applying patches to libmcrypt
 --->  Configuring libmcrypt
 --->  Building libmcrypt
 Error: Failed to build libmcrypt: command execution failed
 }}}

 I can attach the build log, mostly is because of this:

 {{{
 :info:build mcrypt_symb.c:18:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build    18 | extern cfb_LTX__mcrypt_set_state();
 :info:build       | ~~~~~~ ^
 :info:build       | int
 :info:build mcrypt_symb.c:19:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build    19 | extern cfb_LTX__mcrypt_get_state();
 :info:build       | ~~~~~~ ^
 :info:build       | int
 :info:build mcrypt_symb.c:20:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build    20 | extern cfb_LTX__end_mcrypt();
 :info:build       | ~~~~~~ ^
 :info:build       | int
 :info:build mcrypt_symb.c:21:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build    21 | extern cfb_LTX__mcrypt();
 :info:build       | ~~~~~~ ^
 :info:build       | int
 :info:build mcrypt_symb.c:22:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build    22 | extern cfb_LTX__mdecrypt();
 :info:build       | ~~~~~~ ^
 :info:build       | int
 :info:build mcrypt_symb.c:23:8: error: type specifier missing, defaults to
 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
 :info:build    23 | extern cfb_LTX__has_iv();
 :info:build       | ~~~~~~ ^
 :info:build       | int
 :info:build fatal error: too many errors emitted, stopping now [-ferror-
 limit=]
 :info:build 20 errors generated.
 :info:build make[2]: *** [mcrypt_symb.lo] Error 1
 :info:build make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmcrypt/libmcrypt/work/libmcrypt-2.5.8/lib'
 :info:build make[1]: *** [all-recursive] Error 1
 :info:build make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmcrypt/libmcrypt/work/libmcrypt-2.5.8'
 :info:build make: *** [all] Error 2
 :info:build make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmcrypt/libmcrypt/work/libmcrypt-2.5.8'
 :info:build Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libmcrypt/libmcrypt/work/libmcrypt-2.5.8"
 && /usr/bin/make -j8 -w all
 :info:build Exit code: 2
 :error:build Failed to build libmcrypt: command execution failed

 ...

 }}}

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


More information about the macports-tickets mailing list