building dev-perl/MongoDB-1.8.0 produce an error: bson/bson-context.c:51:1: error: conflicting types for 'gettid' 51 | gettid (void) | ^~~~~~ In file included from /usr/include/unistd.h:1170, from bson/bson-compat.h:65, from bson/bson-context.c:17: /usr/include/bits/unistd_ext.h:34:16: note: previous declaration of 'gettid' was here 34 | extern __pid_t gettid (void) __THROW; | ^~~~~~ make: *** [Makefile:439: bson/bson-context.o] Error 1 Reproducible: Always Steps to Reproduce: 1. build 2. 3. Actual Results: fail Expected Results: built the patch: --- a/bson/bson-context.c 2020-06-17 13:26:45.340624792 +0300 +++ b/bson/bson-context.c 2020-06-17 13:27:22.583052402 +0300 @@ -47,11 +47,11 @@ #if defined(__linux__) -static uint16_t +/*static uint16_t gettid (void) { return syscall (SYS_gettid); -} +}*/ #endif
It seems to be dead, jim: https://www.mongodb.com/blog/post/the-mongodb-perl-driver-is-being-deprecated
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a00b30e2a257b70d50cf3b8e54fd5b5bff7280ec commit a00b30e2a257b70d50cf3b8e54fd5b5bff7280ec Author: Sam James <sam@gentoo.org> AuthorDate: 2021-10-25 13:22:39 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-10-25 13:26:28 +0000 profiles: last-rite dev-perl/MongoDB Bug: https://bugs.gentoo.org/728556 Signed-off-by: Sam James <sam@gentoo.org> profiles/package.mask | 6 ++++++ 1 file changed, 6 insertions(+)
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbe991d5f7c55659d89df37558f3c7d4552cfc83 commit dbe991d5f7c55659d89df37558f3c7d4552cfc83 Author: Jakov Smolić <jsmolic@gentoo.org> AuthorDate: 2021-11-28 21:42:34 +0000 Commit: Jakov Smolić <jsmolic@gentoo.org> CommitDate: 2021-11-28 21:42:34 +0000 dev-perl/MongoDB: treeclean Closes: https://bugs.gentoo.org/728556 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org> dev-perl/MongoDB/Manifest | 1 - dev-perl/MongoDB/MongoDB-1.8.0.ebuild | 80 ----------------------------------- dev-perl/MongoDB/metadata.xml | 64 ---------------------------- profiles/package.mask | 6 --- 4 files changed, 151 deletions(-)