Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942587 - 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)}
Summary: app-benchmarks/iozone-3.506 fails to compile: iozone.c:1271:9: error: conflic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker c99-porting
  Show dependency tree
 
Reported: 2024-10-31 08:02 UTC by Agostino Sarubbo
Modified: 2025-01-08 08:17 UTC (History)
0 users

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


Attachments
build.log (build.log,52.48 KB, text/plain)
2024-10-31 08:02 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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(+)