Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 707960

Summary: 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]
Product: Gentoo Linux Reporter: Hugo Ribeiro <hugo.at.ribeiro>
Component: Current packagesAssignee: Gentoo X packagers <x11>
Status: RESOLVED FIXED    
Severity: normal CC: adam, oli.huber, zeekec
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 707898    
Attachments: build.log
emerge --info =x11-libs/cairo-1.16.0-r3::gentoo
environment
cairo-1.16.0-binutils-2.34.patch

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(-)