Summary: | dev-util/oprofile-0.9.7: opagent.c:63:0, /usr/include/bfd.h:37:2: error: #error config.h must be included before this header | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Juergen Rose <rose> |
Component: | Current packages | Assignee: | Peter Volkov (RETIRED) <pva> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alanh, bircoph, david.narvaez, fcoiffie, patrakov, rei4dan, slyfox, tetromino |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
/var/tmp/portage/dev-util/oprofile-0.9.7/temp/build.log'
/usr/local/portage/dev-util/oprofile/oprofile-0.9.7-r1.ebuild /usr/local/portage/dev-util/oprofile/files/oprofile-0.9.7-428506.patch |
Description
Juergen Rose
2012-07-29 08:49:55 UTC
This happens after emerging sys-devel/binutils-2.22.90 which does not provide libbfd-2.22.so but only libbfd-2.22.90.20120727.so: root@impala:/root(6)# qlist binutils | grep libbfd /usr/lib64/binutils/x86_64-pc-linux-gnu/2.22.90/libbfd-2.22.90.20120727.so /usr/lib64/binutils/x86_64-pc-linux-gnu/2.22.90/libbfd.so See the binutils bugtracker at http://sourceware.org/bugzilla/show_bug.cgi?id=14243 I see the same thing. Looks like the binutils change broke a lot of packages. This was already fixed on oprofile with http://oprofile.git.sourceforge.net/git/gitweb.cgi?p=oprofile/oprofile;a=commitdiff;h=0fa5fc43ca2004546864051a584367a50413f190 so maybe dependencies could be updated to block >=sys-devel/binutils-2.22.90 for dev-util/oprofile-0.9.7-r1 and allowing any binutils back on next oprofile or adding the patch above to dev-util/oprofile-0.9.7-r1 Commit http://oprofile.git.sourceforge.net/git/gitweb.cgi?p=oprofile/oprofile;a=commitdiff;h=f0a6ef67e1b944e2032ce777994257075f6ba107 also affected by this bug. Created attachment 322068 [details]
/usr/local/portage/dev-util/oprofile/oprofile-0.9.7-r1.ebuild
/usr/local/portage/dev-util/oprofile/
Created attachment 322070 [details]
/usr/local/portage/dev-util/oprofile/files/oprofile-0.9.7-428506.patch
Thanks Alexey, the patch worked for me. This ebuild / patch worked for me too. Thanks. also for me. thanks. Pushed as:
> 20 Oct 2012; Sergei Trofimovich <slyfox@gentoo.org>
> +files/oprofile-0.9.7-bfd.h-1.patch, +files/oprofile-0.9.7-bfd.h-2.patch,
> oprofile-0.9.7.ebuild:
> Fix 'bfd.h' build failure against binutils-2.22.90 (bug #428506 by Juergen
> Rose and others).
Thanks guys!
|