too long lines were shrinked: libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib64/libmcrypt/\" -I. -I.. -I. -I.. -I../modules/algorithms -I../modules/modes -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c win32_comp.c -fPIC -DPIC -o .libs/w libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib64/libmcrypt/\" -I. -I.. -I. -I.. -I../modules/algorithms -I../modules/modes -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mcrypt_threads.c -fPIC -DPIC -o .li /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib64/libmcrypt/\" -I. -I.. -I. -I.. -I../modules/algorithms -I../modules/modes -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c -o m libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/lib64/libmcrypt/\" -I. -I.. -I. -I.. -I../modules/algorithms -I../modules/modes -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -c mcrypt_symb.c -fPIC -DPIC -o .libs/ mcrypt_symb.c:5:8: error: type defaults to 'int' in declaration of 'cbc_LTX__init_mcrypt' [-Werror=implicit-int] 5 | extern cbc_LTX__init_mcrypt(); | ^~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_systemd-j4-20221002-182017 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm The Glorious Glasgow Haskell Compilation System, version 9.0.2 php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit af50553c502d12d3163e7ed114fc3646f1d1afd7 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 3 05:33:59 2022 +0000 2022-10-03 05:33:58 UTC emerge -qpvO dev-libs/libmcrypt [ebuild N ] dev-libs/libmcrypt-2.5.8-r4
Created attachment 817273 [details] emerge-info.txt
Created attachment 817276 [details] dev-libs:libmcrypt-2.5.8-r4:20221003-055959.log
Created attachment 817279 [details] emerge-history.txt
Created attachment 817282 [details] environment
Created attachment 817285 [details] etc.portage.tar.bz2
Created attachment 817288 [details] logs.tar.bz2
Created attachment 817291 [details] temp.tar.bz2
*** Bug 870715 has been marked as a duplicate of this bug. ***
While this is just about fixing the lib/Makefile.am, the grep it does to generate mcrypt_symb.c doesn't include the actual declaration, and just replacing extern by extern int is wrong (e.g. some are char *). Could grep further for the real declaration from that but may be getting messy. If someone fixes this, it may be easier to pre-generate a proper mcrypt_symb.c not that I've dug further into this.
tinderbox_musl has reproduced this issue with version 2.5.8-r5 - Updating summary.
commit 836dfe489e3087ef00970829697777315ec1f7f6 Author: Sam James <sam@gentoo.org> Date: Thu Apr 20 23:28:33 2023 +0100 dev-libs/libmcrypt: fix -Wimplicit-int Signed-off-by: Sam James <sam@gentoo.org> (just gone for the Fedora fix for now)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c9f1e93bc3da0155d865e2d1afaab90b934254 commit 25c9f1e93bc3da0155d865e2d1afaab90b934254 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2024-10-27 20:34:17 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2024-10-27 20:34:30 +0000 dev-libs/libmcrypt: drop 2.5.8-r6 Bug: https://bugs.gentoo.org/874549 Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org> dev-libs/libmcrypt/libmcrypt-2.5.8-r6.ebuild | 50 ---------------------------- 1 file changed, 50 deletions(-)