Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707960 - x11-libs/cairo-1.16.0-r3 : lookup-symbol.c:148:10: error: implicit declaration of function ‘bfd_get_section_flags’; did you mean ‘bfd_set_section_flags’? [-Werror=implicit-function-declaration]
Summary: x11-libs/cairo-1.16.0-r3 : lookup-symbol.c:148:10: error: implicit declaratio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: binutils-2.34
  Show dependency tree
 
Reported: 2020-02-02 19:28 UTC by Hugo Ribeiro
Modified: 2020-02-04 09:03 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,414.05 KB, application/octet-stream)
2020-02-02 19:28 UTC, Hugo Ribeiro
Details
emerge --info =x11-libs/cairo-1.16.0-r3::gentoo (emerge_info.txt,7.42 KB, text/plain)
2020-02-02 19:29 UTC, Hugo Ribeiro
Details
environment (environment,101.52 KB, text/plain)
2020-02-02 19:29 UTC, Hugo Ribeiro
Details
cairo-1.16.0-binutils-2.34.patch (cairo-1.16.0-binutils-2.34.patch,587 bytes, patch)
2020-02-02 19:57 UTC, Sergei Trofimovich (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hugo Ribeiro 2020-02-02 19:28:18 UTC
Created attachment 611120 [details]
build.log

x11-libs/cairo doesn't build with binutils-libs-2.34. It's the same problem as with dev-db/mariadb [#707852] and dev-util/perf [#707830].
Comment 1 Hugo Ribeiro 2020-02-02 19:29:12 UTC
Created attachment 611122 [details]
emerge --info =x11-libs/cairo-1.16.0-r3::gentoo
Comment 2 Hugo Ribeiro 2020-02-02 19:29:33 UTC
Created attachment 611124 [details]
environment
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-02 19:50:51 UTC
lookup-symbol.c seems to be pulled in by USE=utils. That will need some porting: https://bugs.gentoo.org/707898
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2020-02-02 19:57:58 UTC
Created attachment 611128 [details, diff]
cairo-1.16.0-binutils-2.34.patch

cairo-1.16.0-binutils-2.34.patch has to be conditionally applied based on binutils-libs build time version.
Comment 5 Guy 2020-02-04 01:19:37 UTC
Thanks for the patch. Worked a treat!
Comment 6 Larry the Git Cow gentoo-dev 2020-02-04 09:03:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=66be6eece6fb20cd720d5c0490eedfc947c918bc

commit 66be6eece6fb20cd720d5c0490eedfc947c918bc
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-02-04 09:02:14 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-02-04 09:03:23 +0000

    x11-libs/cairo: tweak for binutils-2.34, bug #707960
    
    Reported-by: Hugo Ribeiro
    Closes: https://bugs.gentoo.org/707960
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 x11-libs/cairo/cairo-1.16.0-r3.ebuild                |  6 +++++-
 x11-libs/cairo/cairo-9999.ebuild                     |  6 +++++-
 .../cairo/files/cairo-1.16.0-binutils-2.34.patch     | 20 ++++++++++++++++++++
 3 files changed, 30 insertions(+), 2 deletions(-)