Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120095 - ubench-0.32.ebuild (New Package)
Summary: ubench-0.32.ebuild (New Package)
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Default Assignee for New Packages
URL: http://www.phystech.com/download/uben...
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2006-01-23 13:24 UTC by Scott
Modified: 2016-01-24 23:42 UTC (History)
1 user (show)

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


Attachments
ubench-0.32.ebuild (ubench-0.32.ebuild,855 bytes, text/plain)
2006-01-23 13:25 UTC, Scott
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott 2006-01-23 13:24:01 UTC
Please find attached the ubench-0.32.ebuild. Ubench is just another benchmark program. This is my first ebuild so go easy on me.

Description:

The Unix Benchmark Utility "ubench" provides a single measure of perfomance for machines running various flavors of Unix operating system. 
Ubench is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
The current development release tests only CPU(s) and memory. In the future releases there will be tests added for disk and TCP/IP. Ubench is taking advantage of multiple CPUs on an SMP system and the results will reflect that unless ubench has been invoked with '-s' flag.
Comment 1 Scott 2006-01-23 13:25:03 UTC
Created attachment 77948 [details]
ubench-0.32.ebuild
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-02-12 18:50:37 UTC
- GPL is not a valid license, please have a look at /usr/portage/licenses
- don't hardcode the version number, use ${P} in both SRC_URI and S
- dependencies look a bit broken. if there's nothing thean the base system, DEPEND="" suffices
- looks like src_compile() is superfluous
Comment 3 Patrick Lauer gentoo-dev 2009-03-01 00:22:17 UTC
cpubench.c: In function 'cpuload':
cpubench.c:93: error: 'CLK_TCK' undeclared (first use in this function)
cpubench.c:93: error: (Each undeclared identifier is reported only once
cpubench.c:93: error: for each function it appears in.)

Fails to build.
Looks familiar, but I have no idea how to fix it. Patches welcome :)