Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 803017 - gnome-extra/evolution-data-server-3.40.2 fails to build: ld: /usr/lib64/libctf.so.0: version `LIBCTF_1.1' not found
Summary: gnome-extra/evolution-data-server-3.40.2 fails to build: ld: /usr/lib64/libct...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 786516 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-20 10:12 UTC by Marek
Modified: 2021-08-05 19:19 UTC (History)
4 users (show)

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


Attachments
emerge --info and complete build log (emerge--info.txt,367.16 KB, text/plain)
2021-07-20 10:12 UTC, Marek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marek 2021-07-20 10:12:00 UTC
Created attachment 725269 [details]
emerge --info and complete build log

Emerge of evolution-data-server-3.40.2 fails with:

 * ERROR: gnome-extra/evolution-data-server-3.40.2::gentoo failed (compile phase):
 *   ninja -v -j1 -l1 failed
 *failes 
 * Call stack:
 *     ebuild.sh, line  127:  Called src_compile
 *   environment, line 2745:  Called cmake_src_compile
 *   environment, line  964:  Called cmake_build
 *   environment, line  933:  Called eninja
 *   environment, line 1476:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"

(since it's an upgrade, something has broken since the emerge of 3.40.1, although an attempt of emerging of 3.40.1 also fails at this point)
Comment 1 Matt Turner gentoo-dev 2021-07-20 15:49:54 UTC
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/libctf.so.0: version `LIBCTF_1.1' not found (required by /usr/lib/gcc/x86_64-pc-linux-gnu/10.3.0/../../../../x86_64-pc-linux-gnu/bin/ld)

libctf.so is provided by binutils-libs. Try reemerging that?
Comment 2 Ionen Wolkens gentoo-dev 2021-07-22 00:21:32 UTC
Seeing how this is stable but you have binutils-2.36.x in accept_keywords, it's probably related.

binutils is /supposed/ to use its private library rather than from binutils-libs but this seem to have been an issue and mismatch in version lead to this.
Comment 3 Marek 2021-07-23 17:43:30 UTC
(In reply to Ionen Wolkens from comment #2)
> Seeing how this is stable but you have binutils-2.36.x in accept_keywords,
> it's probably related.
> 
> binutils is /supposed/ to use its private library rather than from
> binutils-libs but this seem to have been an issue and mismatch in version
> lead to this.

The unstable binutils-2.36.x and me overlooking that fact are in fault here. Everything compiles without fuss after switching to 2.35.x. Sorry for the noise.
Comment 4 Larry the Git Cow gentoo-dev 2021-07-24 21:15:45 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d0190c2229052c9bcc4c93d9729faf831f9e4e0

commit 6d0190c2229052c9bcc4c93d9729faf831f9e4e0
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-07-24 21:13:57 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-07-24 21:15:28 +0000

    sys-devel/binutils: Bump 2.37 patchset to 2
    
    Includes libctf soname fixes
    
    Bug: https://bugs.gentoo.org/803017
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-devel/binutils/Manifest             | 2 +-
 sys-devel/binutils/binutils-2.37.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 5 Larry the Git Cow gentoo-dev 2021-07-24 22:53:59 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d2676fe8169c7ca26e4bf7c608ed5ca21767c2c

commit 3d2676fe8169c7ca26e4bf7c608ed5ca21767c2c
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2021-07-24 22:49:33 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2021-07-24 22:53:42 +0000

    sys-devel/binutils: Bump 2.36.1 patchset to 4
    
    Includes libctf soname fixes
    
    Bug: https://bugs.gentoo.org/803017
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-devel/binutils/Manifest                  |   1 +
 sys-devel/binutils/binutils-2.36.1-r2.ebuild | 448 +++++++++++++++++++++++++++
 2 files changed, 449 insertions(+)
Comment 6 Ionen Wolkens gentoo-dev 2021-08-05 19:19:24 UTC
*** Bug 786516 has been marked as a duplicate of this bug. ***