Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436098 - sys-apps/systemd-191: error: conflicting types for 'mmap_cache_get'
Summary: sys-apps/systemd-191: error: conflicting types for 'mmap_cache_get'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 435794
  Show dependency tree
 
Reported: 2012-09-24 12:28 UTC by Jan Vesely
Modified: 2012-09-24 12:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Vesely 2012-09-24 12:28:36 UTC
When trying to emerge systemd-191 USE="acl pam -audit -cryptsetup -gcrypt -lzma -qrcode (-selinux) -tcpd" I get:
src/journal/mmap-cache.c:519:5: error: conflicting types for 'mmap_cache_get'
src/journal/mmap-cache.h:34:5: note: previous declaration of 'mmap_cache_get' was here

the header file uses uint64_t for size parameter while definition uses size_t, using same type in both places fixes the issue.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-09-24 12:38:12 UTC
The fix is already in upstream:

http://cgit.freedesktop.org/systemd/systemd/commit/?id=e2c8b07dcb50c2adf64cdfb22e4a496fc76576fb
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-09-24 12:52:30 UTC
(In reply to comment #1)
> The fix is already in upstream:
> 
> http://cgit.freedesktop.org/systemd/systemd/commit/
> ?id=e2c8b07dcb50c2adf64cdfb22e4a496fc76576fb

Committed.