Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 870559 - app-benchmarks/bonnie-2.0.6-r2:0 - Bonnie.c: error: type specifier missing, defaults to int; ISO C99 and
Summary: app-benchmarks/bonnie-2.0.6-r2:0 - Bonnie.c: error: type specifier missing, d...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-09-16 21:22 UTC by Toralf Förster
Modified: 2022-09-29 04:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.75 KB, text/plain)
2022-09-16 21:22 UTC, Toralf Förster
Details
app-benchmarks:bonnie-2.0.6-r2:20220916-211822.log (app-benchmarks:bonnie-2.0.6-r2:20220916-211822.log,3.27 KB, text/plain)
2022-09-16 21:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,107.21 KB, text/plain)
2022-09-16 21:22 UTC, Toralf Förster
Details
environment (environment,56.40 KB, text/plain)
2022-09-16 21:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,7.79 KB, application/x-bzip)
2022-09-16 21:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,1.64 KB, application/x-bzip)
2022-09-16 21:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-09-16 21:22:41 UTC
make Bonnie 
make[1]: Entering directory '/var/tmp/portage/app-benchmarks/bonnie-2.0.6-r2/work'
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  Bonnie.c   -o Bonnie
Bonnie.c:94:1: error: type specifier missing, defaults to 'int'; ISO C99 and
      later do not support implicit int [-Werror,-Wimplicit-int]
main(

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220915-203738

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.0
Python 3.10.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.63.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
  [1]   php8.1 *
GNU Make 4.3.90

  HEAD of ::gentoo
commit b55dcb6d332b428b7641d5af234af72a26d98b03
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Sep 16 21:01:52 2022 +0000

    2022-09-16 21:01:52 UTC

emerge -qpvO app-benchmarks/bonnie
[ebuild  N    ] app-benchmarks/bonnie-2.0.6-r2
Comment 1 Toralf Förster gentoo-dev 2022-09-16 21:22:42 UTC
Created attachment 806641 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-09-16 21:22:43 UTC
Created attachment 806644 [details]
app-benchmarks:bonnie-2.0.6-r2:20220916-211822.log
Comment 3 Toralf Förster gentoo-dev 2022-09-16 21:22:44 UTC
Created attachment 806647 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-09-16 21:22:45 UTC
Created attachment 806650 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-09-16 21:22:46 UTC
Created attachment 806653 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-09-16 21:22:47 UTC
Created attachment 806656 [details]
logs.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-09-29 04:27:51 UTC
The bug has been closed via the following commit(s):

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

commit c4dbd767a4c65c6a1d1abd0c1f11151dd8e96e1c
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-09-29 00:11:29 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-09-29 04:17:53 +0000

    app-benchmarks/bonnie: fix build with clang16
    
    Very trivial.
    
    Closes: https://bugs.gentoo.org/870559
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 app-benchmarks/bonnie/bonnie-2.0.6-r3.ebuild           | 1 +
 app-benchmarks/bonnie/files/bonnie-2.0.6-clang16.patch | 8 ++++++++
 2 files changed, 9 insertions(+)