Created attachment 587232 [details] build.log scaffold.c:30:14: error: conflicting types for ‘malloc’ 30 | extern char *malloc(); | ^~~~~~ In file included from scaffold.c:20: /usr/include/stdlib.h:539:14: note: previous declaration of ‘malloc’ was here 539 | extern void *malloc (size_t __size) __THROW __attribute_malloc__ __wur; | ^~~~~~ make: *** [Makefile:686: scaffold.o] Error 1 make: *** Waiting for unfinished jobs....
Created attachment 587234 [details] emerge -pqv '=sys-apps/tcp-wrappers-7.6.28::gentoo'
Created attachment 587236 [details] emerge --info '=sys-apps/tcp-wrappers-7.6.28::gentoo'
Given that the previous declaration was in stdlib.h which is part of glibc I went with that one, and manually removed the second declaration from scaffold.c (which seemed to be only necessary for ipv6, and I had that disabled via use flag anyway) and the package compiled just fine.
(In reply to Alexandru N. Barloiu from comment #3) > Given that the previous declaration was in stdlib.h which is part of glibc I > went with that one, and manually removed the second declaration from > scaffold.c (which seemed to be only necessary for ipv6, and I had that > disabled via use flag anyway) and the package compiled just fine. The second declaration is actually for ipv4, but, likewise, I found that the stdlib.h declaration was sufficient.
sorry. my mistake.
So, there is no one who can commit a fix for two weeks now?
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e219ad8be80cbe165b40781c2841c4d6eeb07c90 commit e219ad8be80cbe165b40781c2841c4d6eeb07c90 Author: Thomas Deutschmann <whissi@gentoo.org> AuthorDate: 2019-08-30 22:32:49 +0000 Commit: Thomas Deutschmann <whissi@gentoo.org> CommitDate: 2019-08-30 22:33:40 +0000 sys-apps/tcp-wrappers: fix USE=-ipv6 Closes: https://bugs.gentoo.org/692416 Package-Manager: Portage-2.3.73, Repoman-2.3.17 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org> .../files/tcp-wrappers-7.6.28-no-external-malloc.patch | 15 +++++++++++++++ sys-apps/tcp-wrappers/tcp-wrappers-7.6.28.ebuild | 1 + 2 files changed, 16 insertions(+)