Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 716494 - dev-libs/zziplib-0.13.69-r1 error: conflicting types for ‘int64_t’
Summary: dev-libs/zziplib-0.13.69-r1 error: conflicting types for ‘int64_t’
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Volkmar W. Pogatzki
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-04-06 21:01 UTC by Alessandro Barbieri
Modified: 2020-08-19 18:09 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zziplib-0.13.69-r1:20200406-160342.log (zziplib-0.13.69-r1:20200406-160342.log,74.03 KB, text/plain)
2020-04-06 21:02 UTC, Alessandro Barbieri
Details
info (info,14.25 KB, text/plain)
2020-04-06 21:03 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-04-06 21:01:49 UTC
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
Comment 1 Alessandro Barbieri 2020-04-06 21:02:35 UTC
Created attachment 630888 [details]
zziplib-0.13.69-r1:20200406-160342.log

buildlog
Comment 2 Alessandro Barbieri 2020-04-06 21:03:22 UTC
Created attachment 630890 [details]
info

emerge --info
Comment 3 Alexander Tsoy 2020-05-22 00:15:05 UTC
Looks like configure script generates incorrect header when it run under dash.
Comment 4 charles17 2020-08-15 10:27:40 UTC
(In reply to Alessandro Barbieri from comment #1)

Can this be reproduced with 0.13.71
Comment 5 charles17 2020-08-19 16:13:32 UTC
Worksforme with /bin/dash and zziplib-0.13.71.ebuild
Comment 6 Larry the Git Cow gentoo-dev 2020-08-19 18:09:25 UTC
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(-)