Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 571622 - sys-libs/ldb-1.1.24-r1 - ../lib/replace/replace.h:683:19: error: conflicting types for ‘intptr_t’
Summary: sys-libs/ldb-1.1.24-r1 - ../lib/replace/replace.h:683:19: error: conflicting ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-12 07:15 UTC by Jeroen Roovers (RETIRED)
Modified: 2016-01-15 17:59 UTC (History)
0 users

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


Attachments
sys-libs:ldb-1.1.24-r1:20160112-062801.log (sys-libs:ldb-1.1.24-r1:20160112-062801.log,98.94 KB, text/plain)
2016-01-12 07:15 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2016-01-12 07:15:29 UTC
Created attachment 422638 [details]
sys-libs:ldb-1.1.24-r1:20160112-062801.log

In file included from ../lib/replace/cwrap.c:26:0:
../lib/replace/replace.h:683:19: error: conflicting types for ‘intptr_t’
 typedef long long intptr_t ;
                   ^
In file included from /usr/include/bsd/unistd.h:31:0,
                 from ../lib/replace/replace.h:159,
                 from ../lib/replace/cwrap.c:26:
/usr/include/unistd.h:267:20: note: previous declaration of ‘intptr_t’ was here
Comment 1 Felix Janda 2016-01-12 09:12:45 UTC
Is there any log from configure? It would be interesting to find why
the first configure pass was not able to find intptr_t while the second
found it.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2016-01-12 14:51:08 UTC
(In reply to Felix Janda from comment #1)
> Is there any log from configure? It would be interesting to find why
> the first configure pass was not able to find intptr_t while the second
> found it.

It found two definitions, that's the problem.
Comment 3 Ian Stakenvicius (RETIRED) gentoo-dev 2016-01-12 17:48:40 UTC
I agree, despite there not being an actual link-time dep on libbsd it seems that the headers mis-matching at build time (and later at runtime when consumers link to ldb) is going to be an issue.  Have added libbsd to RDEPEND when !elibc_FreeBSD , in sys-libs/ldb-1.1.24-r2

Pls report back if problem continues.
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2016-01-15 17:59:16 UTC
Fixed by  Ian Stakenvicius  commit