Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 248327 - Both sci-libs/primegen and dev-db/cdb install /usr/include/uint32.h
Summary: Both sci-libs/primegen and dev-db/cdb install /usr/include/uint32.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-23 15:11 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-04-06 17:27 UTC (History)
3 users (show)

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


Attachments
patch to ebuild (cdb-0.75-r2.ebuild.diff,678 bytes, patch)
2009-01-16 20:02 UTC, Rolf Eike Beer
Details | Diff
use stdint.h for uint32_t (cdb-0.75-stdint.diff,11.16 KB, patch)
2009-01-16 20:05 UTC, Rolf Eike Beer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-11-23 15:11:36 UTC
(s):

        /usr/include/uint32.h

Searching all installed packages for file collisions...

Press Ctrl-C to Stop

dev-db/cdb-0.75-r2
        /usr/include/uint32.h

Package 'sci-libs/primegen-0.97' NOT merged due to file collisions. If
necessary, refer to your elog messages for the whole content of the
above message.
Comment 1 Rolf Eike Beer archtester 2009-01-16 20:02:58 UTC
Created attachment 178718 [details, diff]
patch to ebuild

Changes to ebuild:

-install to /usr/include/cdb
-do not install TARGETS file, it's only needed for "make clean" in source tree
-include stdint patch (will follow immediately)
Comment 2 Rolf Eike Beer archtester 2009-01-16 20:05:45 UTC
Created attachment 178720 [details, diff]
use stdint.h for uint32_t

Do not probe for a 32 bit type, stdint.h already defines one. And do not mess around how to create the biggest number that can be represented in that type, this is also defined in stdint.h
Comment 3 Joost Ruis 2009-08-14 12:54:15 UTC
Bump.

 * Detected file collision(s):
 *
 *  /usr/include/uint32.h
 *
 * Searching all installed packages for file collisions...
 *
 * Press Ctrl-C to Stop
 *
 * sci-libs/primegen-0.97
 *  /usr/include/uint32.h
Comment 4 Sébastien Fabbro (RETIRED) gentoo-dev 2009-09-11 19:15:37 UTC
I fixed sci-libs/primegen-0.97-r1 which does not include the uint*.h headers anymore. It is however probably a bad idea to have such general header names in /usr/include, so I leave it to php team to see what to do with cdb.
Comment 5 Matti Bickel (RETIRED) gentoo-dev 2010-03-30 23:21:34 UTC
I applied the patch from Rolf. Thanks for the work, dev-db/cdb-0.75-r3 is now in CVS and soon on a mirror near you.
Comment 6 Azamat H. Hackimov 2010-04-06 17:27:46 UTC
There problem with postfix now: https://bugs.gentoo.org/show_bug.cgi?id=313405

Probably all stuff that require cdb might fails to compile.