gnu-os script requires libc6-dev

Bug #246618 reported by Steve Magoun
2
Affects Status Importance Assigned to Milestone
lmbench (Ubuntu)
Fix Released
Low
Luca Falavigna

Bug Description

Binary package hint: lmbench

The gnu-os script in lmbench requires features.h (part of libc6-dev) to determine the installed version of libc. If features.h is not installed, gnu-os incorrectly guesses 'gnulibc1'. This causes a failure to find the benchmark scripts, which are in a directory determined by the CPU+OS type (e.g. /usr/lib/lmbench/bin/i686-pc-linux-gnu).

To reproduce:
apt-get remove libc6-dev
apt-get install lmbench
/usr/lib/lmbench/scripts/gnu-os

The output is 'i686-pc-linux-gnulibc1', which is incorrect.

apt-get install libc6-dev
/usr/lib/lmbench/scripts/gnu-os

gnu-os now outputs 'i686-pc-linux-gnu', which is correct.

Tested on LPIA arch, but presumably affects i386 too.

Tags: oem-services

Related branches

Revision history for this message
Steve Magoun (smagoun) wrote :
Revision history for this message
Luca Falavigna (dktrkranz) wrote :

I mangled Maintainer field as per spec, s/inrepid/intrepid/ (typo) and sponsored it, thanks ;)
Could this be forwarded to Debian too?

Changed in lmbench:
assignee: nobody → dktrkranz
importance: Undecided → Low
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lmbench - 3.0-a7-1ubuntu1

---------------
lmbench (3.0-a7-1ubuntu1) intrepid; urgency=low

  * Depend on libc6-dev (LP: #246618)

 -- Steve Magoun <email address hidden> Tue, 08 Jul 2008 10:48:24 -0400

Changed in lmbench:
status: Fix Committed → Fix Released
Michael Terry (mterry)
tags: added: oem-services
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.