Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 436098

Summary: sys-apps/systemd-191: error: conflicting types for 'mmap_cache_get'
Product: Gentoo Linux Reporter: Jan Vesely <jano.vesely>
Component: [OLD] Core systemAssignee: Gentoo systemd Team <systemd>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 435794    

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.