Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 303345 - app-benchmarks/bonnie++ doesn't build with gcc-4.3
Summary: app-benchmarks/bonnie++ doesn't build with gcc-4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: benchmarks
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-03 15:20 UTC by Doug Warner
Modified: 2010-03-06 16:24 UTC (History)
4 users (show)

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


Attachments
build.log on amd64 (build.log,6.77 KB, text/plain)
2010-02-18 15:14 UTC, Fernando (likewhoa)
Details
Adds back the patch ${P}-missing_include.patch (bonnie++-1.93c.ebuild.patch,341 bytes, patch)
2010-02-23 07:15 UTC, Michael Weissenbacher
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Doug Warner 2010-02-03 15:20:38 UTC
bonnie++ doesn't build w/ gcc-3.4 due to missing headers.  See below for compile errors.

Reproducible: Always

Steps to Reproduce:




on_csv2html.cpp: In function 'void usage()':
bon_csv2html.cpp:76: error: 'exit' was not declared in this scope
x86_64-pc-linux-gnu-g++ -O2  -DNDEBUG -Wall -W -Wshadow -Wpointer-arith -Wwrite-strings -pedantic -ffor-scope   -c bon_file.cpp
bon_csv2html.cpp: In function 'void calc_vals()':
bon_csv2html.cpp:224: error: 'qsort' was not declared in this scope
bon_csv2html.cpp: In function 'void read_in(const char*)':
bon_csv2html.cpp:423: error: 'free' was not declared in this scope
make: *** [bon_csv2html.o] Error 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-04 21:10:44 UTC
Confirmed. 1.96 is fine, though.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-04 21:12:57 UTC
Oddly enough:

*bonnie++-1.94 (23 Nov 2008)

  23 Nov 2008; Patrick Lauer <patrick@gentoo.org>
  +files/bonnie++-1.94-64bit.patch,
  +files/bonnie++-1.94-missing_include.patch, +bonnie++-1.94.ebuild:
  Bump to 1.94

  02 May 2008; Tiziano Müller <dev-zero@gentoo.org>
  +files/bonnie++-1.93c-missing_include.patch, bonnie++-1.93c.ebuild:
  Added patch to fix compilation problems with gcc-4.3
Comment 3 Fernando (likewhoa) 2010-02-18 15:14:19 UTC
can confirm this with stable bonnie++
Comment 4 Fernando (likewhoa) 2010-02-18 15:14:46 UTC
Created attachment 220159 [details]
build.log on amd64
Comment 5 Michael Weissenbacher 2010-02-23 07:11:38 UTC
The ebuild is simply missing the bonnie++-1.93c-missing_include.patch which was already added at some point. I think it got lost when bonnie++-1.93c was added back to the tree:
  08 Nov 2009; Mark Loeser <halcy0n@gentoo.org> +bonnie++-1.93c.ebuild:
  Add back the only stable version of bonnie++

I'm adding a patch for the ebuild.
Comment 6 Michael Weissenbacher 2010-02-23 07:15:17 UTC
Created attachment 220797 [details, diff]
Adds back the patch ${P}-missing_include.patch

Compiles cleanly with GCC 4.3 on my box.
Comment 7 Martin Mokrejš 2010-03-03 00:07:43 UTC
Somebody please commit the fix. Just hit this issue with bonnie++-1.93c on amd64 whereas ~x86 picks up bonnie++-1.96 as of now.
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2010-03-06 16:24:31 UTC
Fixed, thanks.