build dependencies not strict enough

Bug #676258 reported by Matthias Klose
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

for a natty build I do see:

make[1]: Entering directory `/home/doko/packages/linux-2.6.37/debian/build/tools-/tools/perf'
Makefile:512: No libdw.h found or old libdw.h found or elfutils is older than 0.138, disables dwarf support. Please install new elfutils-devel/libdw-dev
Makefile:568: newt not found, disables TUI support. Please install newt-devel or libnewt-dev

so maybe the build-dependencies on libdw-dev and libelf-dev should be versioned?

Revision history for this message
Tim Gardner (timg-tpi) wrote :

Are you cross compiling?

Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Matthias,

Please be sure to confirm this issue exists with the latest development release of Ubuntu. ISO CD images are available from http://cdimage.ubuntu.com/daily/current/ . If the issue remains, please run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 676258

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

    [This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu development release http://cdimage.ubuntu.com/daily-live/current/ . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Dr. David Alan Gilbert (davidgil-uk) wrote :

Reopened, looking at todays build we see:

http://launchpadlibrarian.net/64528090/buildlog_ubuntu-natty-armel.linux_2.6.38-4.31_BUILDING.txt.gz

make[1]: Entering directory `/build/buildd/linux-2.6.38/debian/build/tools-/tools/perf'
Makefile:587: newt not found, disables TUI support. Please install newt-devel or libnewt-dev
PERF_VERSION = 2.6.38-rc5
make[1]: Leaving directory `/build/buildd/linux-2.6.38/debian/build/tools-/tools/perf'
make[1]: Entering directory `/build/buildd/linux-2.6.38/debian/build/tools-/tools/perf'
Makefile:587: newt not found, disables TUI support. Please install newt-devel or libnewt-dev

Looks like an easy fix and would make perf a lot easier to use; I guess just needing libnewt-dev as a build dependency and a libnewt dependency on the resulting linux-tools-* deb. Perf with the tui is a lot nicer.

Dave

Changed in linux (Ubuntu):
status: Expired → New
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 676258

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Dr. David Alan Gilbert (davidgil-uk) wrote :

Reopening; still happening as of todays PP build:

https://launchpadlibrarian.net/83934300/buildlog_ubuntu-precise-armel.linux_3.1.0-2.3_BUILDING.txt.gz

cd /build/buildd/linux-3.1.0/debian/build/tools/tools/perf && \
  make HAVE_CPLUS_DEMANGLE=1 -j2
make[1]: Entering directory `/build/buildd/linux-3.1.0/debian/build/tools/tools/perf'
Makefile:458: newt not found, disables TUI support. Please install newt-devel or libnewt-dev
Makefile:531: The path '/usr/bin/python-config' is not executable.
Makefile:535: No python-config tool was found
Makefile:535: Python support won't be built
PERF_VERSION = 3.1.0
make[1]: Leaving directory `/build/buildd/linux-3.1.0/debian/build/tools/tools/perf'
make[1]: Entering directory `/build/buildd/linux-3.1.0/debian/build/tools/tools/perf'
Makefile:458: newt not found, disables TUI support. Please install newt-devel or libnewt-dev
Makefile:531: The path '/usr/bin/python-config' is not executable.
Makefile:535: No python-config tool was found
Makefile:535: Python support won't be built
    GEN

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
Dave Gilbert (ubuntu-treblig) wrote :

It might be worth checking if this is now fixed by the fix for bug 981717; certainly on x86 perf now has TUI built.

Dave

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.