Your message dated Thu, 10 Oct 2024 10:35:17 +0000 with message-id <E1syqVp-00EkQj-Mx@fasolo.debian.org> and subject line Bug#1084782: fixed in db5.3 5.3.28+dfsg2-8 has caused the Debian Bug report #1084782, regarding db5.3: FTBFS: error: Support for FCNTL mutexes was removed in BDB 4.8 to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org immediately.) -- 1084782: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084782 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: "submit@bugs.debian.org" <submit@bugs.debian.org>
- Subject: db5.3: FTBFS: error: Support for FCNTL mutexes was removed in BDB 4.8
- From: "Duetsch, Thomas" <thomas.duetsch@siemens.com>
- Date: Tue, 8 Oct 2024 07:13:53 +0000
- Message-id: <[🔎] AS1PR10MB5506A5E8CCEDBFC84EA8D831857E2@AS1PR10MB5506.EURPRD10.PROD.OUTLOOK.COM>
Source: db5.3 Version: 5.3.28+dfsg2-7 Tags: ftbfs Dear Maintainer, The source package db5.3 FTBFS on a current Trixie system running on ARM64. Log output: --- checking for getopt optreset variable... no checking for mutexes... UNIX/fcntl configure: error: Support for FCNTL mutexes was removed in BDB 4.8. cd build-production && tail -v -n \+0 config.log ==> config.log <== This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by Berkeley DB configure 5.3.28, which was generated by GNU Autoconf 2.72. Invocation command line was $ ../dist/configure --build=aarch64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/aarch64-linux-gnu' '--libexecdir=${prefix}/lib/aarch64-linux-gnu' --disable-maintainer-mode --disable-dependency-tracking --prefix=/usr '--mandir=${prefix}/share/man' --localstatedir=/var --sysconfdir=/etc --libexecdir=/usr/lib --enable-cxx --enable-compat185 --disable-java --disable-sql --disable-stl --enable-dbm --enable-tcl --with-tcl=/usr/lib/aarch64-linux-gnu --disable-test ## --------- ## ## Platform. ## ## --------- ## hostname = 61a8440a09db uname -m = aarch64 uname -r = 5.10.224-212.876.amzn2.aarch64 uname -s = Linux uname -v = #1 SMP Thu Aug 22 16:55:20 UTC 2024 --- Further down the line there are multiple compiler errors: --- | | #include <stdlib.h> | #include <pthread.h> | main() { | pthread_cond_t cond; | pthread_mutex_t mutex; | pthread_condattr_t condattr; | pthread_mutexattr_t mutexattr; | exit ( | pthread_condattr_init(&condattr) || | pthread_condattr_setpshared(&condattr, PTHREAD_PROCESS_SHARED) || | pthread_mutexattr_init(&mutexattr) || | pthread_mutexattr_setpshared(&mutexattr, PTHREAD_PROCESS_SHARED) || | pthread_cond_init(&cond, &condattr) || | pthread_mutex_init(&mutex, &mutexattr) || | pthread_mutex_lock(&mutex) || | pthread_mutex_unlock(&mutex) || | pthread_mutex_destroy(&mutex) || | pthread_cond_destroy(&cond) || | pthread_condattr_destroy(&condattr) || | pthread_mutexattr_destroy(&mutexattr)); | } configure:23015: cc -o conftest -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/work/tmp/db5.3_5.3.28+dfsg2-7/db5.3-5.3.28+dfsg2=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -D_REENTRANT -Wl,-z,relro conftest.c -lpthread >&5 conftest.c:47:1: error: return type defaults to 'int' [-Wimplicit-int] 47 | main() { | ^~~~ --- It seems the Compiler flag "-Wimplicit-int" is causing some configure steps to fail. Adding the below patch fixed the issue for me. There are some other places that might need to be updated as well, but the package builds with the below patch. --- --- db5.3-5.3.28+dfsg2.orig/dist/aclocal/mutex.m4 +++ db5.3-5.3.28+dfsg2/dist/aclocal/mutex.m4 @@ -5,7 +5,7 @@ AC_DEFUN(AM_PTHREADS_SHARED, [ AC_TRY_RUN([ #include <stdlib.h> #include <pthread.h> -main() { +int main() { pthread_cond_t cond; pthread_mutex_t mutex; pthread_condattr_t condattr; @@ -49,7 +49,7 @@ AC_DEFUN(AM_PTHREADS_PRIVATE, [ AC_TRY_RUN([ #include <stdlib.h> #include <pthread.h> -main() { +int main() { pthread_cond_t cond; pthread_mutex_t mutex; pthread_condattr_t condattr; @@ -89,7 +89,7 @@ AC_DEFUN(AM_PTHREADS_CONDVAR_DUPINITCHK, AC_TRY_RUN([ #include <stdlib.h> #include <pthread.h> -main() { +int main() { pthread_cond_t cond; pthread_condattr_t condattr; exit(pthread_condattr_init(&condattr) || @@ -110,7 +110,7 @@ AC_DEFUN(AM_PTHREADS_RWLOCKVAR_DUPINITCH AC_TRY_RUN([ #include <stdlib.h> #include <pthread.h> -main() { +int main() { pthread_rwlock_t rwlock; pthread_rwlockattr_t rwlockattr; exit(pthread_rwlockattr_init(&rwlockattr) || --- With best regards, Thomas Duetsch
--- End Message ---
--- Begin Message ---
- To: 1084782-close@bugs.debian.org
- Subject: Bug#1084782: fixed in db5.3 5.3.28+dfsg2-8
- From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
- Date: Thu, 10 Oct 2024 10:35:17 +0000
- Message-id: <E1syqVp-00EkQj-Mx@fasolo.debian.org>
- Reply-to: Bastian Germann <bage@debian.org>
Source: db5.3 Source-Version: 5.3.28+dfsg2-8 Done: Bastian Germann <bage@debian.org> We believe that the bug you reported is fixed in the latest version of db5.3, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 1084782@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Bastian Germann <bage@debian.org> (supplier of updated db5.3 package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftpmaster@ftp-master.debian.org) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Thu, 10 Oct 2024 11:54:04 +0200 Source: db5.3 Architecture: source Version: 5.3.28+dfsg2-8 Distribution: unstable Urgency: medium Maintainer: Debian QA Group <packages@qa.debian.org> Changed-By: Bastian Germann <bage@debian.org> Closes: 932758 1084782 Changes: db5.3 (5.3.28+dfsg2-8) unstable; urgency=medium . * QA upload . [ Samuel Thibault ] * control: Generalize hurd-i386 into hurd-any. . [ Bastian Germann ] * Fix FTBFS because of implicit-int (Closes: #1084782) * Fix OPD checkpoint deadlock (Closes: #932758) Checksums-Sha1: 2750637f6a68e627c65673a8a638c7645de340ff 2222 db5.3_5.3.28+dfsg2-8.dsc 04678179b179308e3d74f05e104ab88868e78682 36184 db5.3_5.3.28+dfsg2-8.debian.tar.xz 02320e8cfbedaf15e1107260e689c366d49ed15b 5507 db5.3_5.3.28+dfsg2-8_source.buildinfo Checksums-Sha256: c86e3a3c9d02e86ab17e38c23112eade6c5d8cc97319ab7f67dd041d4e22a58d 2222 db5.3_5.3.28+dfsg2-8.dsc 9c98fca63f4487d22c33075e1e72927cbe7ae494cd68eb7ddf5e3a2a9f4fda4c 36184 db5.3_5.3.28+dfsg2-8.debian.tar.xz 78be100589e34b13777bce2bf6435a7dab897d7896dc55c65f5c983e15a0b67b 5507 db5.3_5.3.28+dfsg2-8_source.buildinfo Files: 410ee5053d27d77724827b4a9095b7b0 2222 libs optional db5.3_5.3.28+dfsg2-8.dsc 7e96af22119dad088592d4837ecf20b3 36184 libs optional db5.3_5.3.28+dfsg2-8.debian.tar.xz c4e3bbfcbec13b889c2f3d88ad25d1ec 5507 libs optional db5.3_5.3.28+dfsg2-8_source.buildinfo -----BEGIN PGP SIGNATURE----- iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmcHpLsQHGJhZ2VAZGVi aWFuLm9yZwAKCRAfXHqLRVZDFDscDACQsX2JSbMMhQXZ68SjcIF7vWnIlLrIjXpz Tm0Vux6LI9TN9CACRUzshBTeJGrjRmRLQpU9aQ6WHl5UnGsdSpJ/Vhzff3F8DEOX 5OdQMa8+toxOaPgnFrjG3GAs4cjxbAo9y7w++h+1mhBTMqyFM7IRhpN6EMJ4/7/Z nU7vFiPaJ1ikTFX5Quc/23r3IJB3rIE4x6Aag5y2B6umaeSj5T/0moRKVfLxTWva qpmBOVsNvpKOi3yHyiDXSF7cQhUmUugCxPnZs5v7RleqkZPr5lXysGLOVS8iz+Hp lfFryanyMCmiXfaKKxWstYZ/GKkOwLy4aKU7XvXTaSjSRFDXMC28lvOl0QRIB6sT 0gJw/nY9hKROyNCPMTE2S/g643Pe0U0hXMeO+yUBIAbe3FsTv8DKt60dLBDGd9We UwaXrkq1kLzUmUvbY2hC1j7j0ghTa96BpzVAibAAvHs3GiDwasqLuMV/fckeOHnN CPxIuI9q/8goU45wJlLKsK4+913tOos= =HOOU -----END PGP SIGNATURE-----Attachment: pgp3MLbWi12gX.pgp
Description: PGP signature
--- End Message ---