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

Bug 942587

Summary: app-benchmarks/iozone-3.506 fails to compile: iozone.c:1271:9: error: conflicting types for pwrite64; have ssize_t(int, const void , size_t, off_t) {aka int(int, const void , unsigned int, long int)}
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Patrick Lauer <patrick>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=947708
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 471102, 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-10-31 08:02:30 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-benchmarks/iozone-3.506 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-31 08:02:31 UTC
Created attachment 907423 [details]
build.log

build log and emerge --info
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-22 08:20:29 UTC
I suspect append-lfs-flags will fix it.
Comment 3 Larry the Git Cow gentoo-dev 2024-12-22 09:49:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47b95946a0e7e310acc3b342f2aa5d321a26387c

commit 47b95946a0e7e310acc3b342f2aa5d321a26387c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-22 09:40:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-22 09:40:35 +0000

    app-benchmarks/iozone: build fixes
    
    * Build with LFS (append-lfs-flags) to fix Modern C issue, hits
      releng builds
    * Build w/ -std=gnu17 as fails w/ -std=gnu23 (default in GCC 15)
    
    Closes: https://bugs.gentoo.org/942587
    Signed-off-by: Sam James <sam@gentoo.org>

 app-benchmarks/iozone/iozone-3.506-r1.ebuild | 78 ++++++++++++++++++++++++++++
 1 file changed, 78 insertions(+)