In file included from /usr/include/sys/types.h:155, from /usr/include/zconf.h:444, from /usr/include/zlib.h:34, from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/file.h:29, from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/zip.c:10: /usr/include/bits/stdint-intn.h:26:19: error: conflicting types for ‘int32_t’ 26 | typedef __int32_t int32_t; | ^~~~~~~ In file included from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/lib.h:18, from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/zip.c:9: /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/stdint.h:38:61: note: previous declaration of ‘int32_t’ was here 38 | typedef unsigned long uint32_t; typedef signed long int32_t; | ^~~~~~~ In file included from /usr/include/sys/types.h:155, from /usr/include/zconf.h:444, from /usr/include/zlib.h:34, from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/file.h:29, from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/zip.c:10: /usr/include/bits/stdint-intn.h:27:19: error: conflicting types for ‘int64_t’ 27 | typedef __int64_t int64_t; | ^~~~~~~ In file included from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/lib.h:18, from /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/zip.c:9: /var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/zzip/stdint.h:42:64: note: previous declaration of ‘int64_t’ was here 42 | typedef unsigned _zzip___int64 uint64_t; typedef _zzip___int64 int64_t; | ^~~~~~~ make[2]: *** [Makefile:639: file.lo] Error 1 make[2]: *** [Makefile:639: zip.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/build/zzip' make[1]: *** [Makefile:510: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/build' make: *** [Makefile:442: all] Error 2 make: Leaving directory '/var/tmp/portage/dev-libs/zziplib-0.13.69-r1/work/zziplib-0.13.69/build' * ERROR: dev-libs/zziplib-0.13.69-r1::gentoo failed (compile phase): * emake failed
Created attachment 630888 [details] zziplib-0.13.69-r1:20200406-160342.log buildlog
Created attachment 630890 [details] info emerge --info
Looks like configure script generates incorrect header when it run under dash.
(In reply to Alessandro Barbieri from comment #1) Can this be reproduced with 0.13.71
Worksforme with /bin/dash and zziplib-0.13.71.ebuild
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2ddd79f9eeafbb091ab3a4721f053d5c3ff9dcc commit e2ddd79f9eeafbb091ab3a4721f053d5c3ff9dcc Author: Volkmar W. Pogatzki <gentoo@pogatzki.net> AuthorDate: 2020-08-18 21:22:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2020-08-19 18:09:20 +0000 dev-libs/zziplib: adjust pkg_setup Closes: https://bugs.gentoo.org/737944 Version 0.13.71 also solves bug #716494 Closes: https://bugs.gentoo.org/716494 Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/17165 Signed-off-by: Sam James <sam@gentoo.org> dev-libs/zziplib/zziplib-0.13.71.ebuild | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-)