Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 844226 - app-crypt/gpgme-1.17.1[qt5] - t-addexistingsubkey.cpp:(<snip>) undefined reference to QGpgME::AddExistingSubkeyJob::result(GpgME::Error
Summary: app-crypt/gpgme-1.17.1[qt5] - t-addexistingsubkey.cpp:(<snip>) undefined refe...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2022-05-14 20:41 UTC by Toralf Förster
Modified: 2022-05-22 10:39 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2022-05-14 20:41 UTC, Toralf Förster
Details
app-crypt:gpgme-1.17.1:20220514-200114.log.bz2 (app-crypt:gpgme-1.17.1:20220514-200114.log.bz2,15.81 KB, application/x-bzip)
2022-05-14 20:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,14.12 KB, text/plain)
2022-05-14 20:41 UTC, Toralf Förster
Details
environment (environment,135.20 KB, text/plain)
2022-05-14 20:41 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,26.39 KB, application/x-bzip)
2022-05-14 20:41 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.41 KB, application/x-bzip)
2022-05-14 20:41 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,45.98 KB, application/x-bzip)
2022-05-14 20:41 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-05-14 20:41:16 UTC
too long lines were shrinked:

rdlibtool: lconf: openat(5,"libtool",O_RDONLY,0) = 6.
rdlibtool: lconf: found "/var/tmp/portage/app-crypt/gpgme-1.17.1/work/gpgme-1.17.1/libtool".
rdlibtool: link: x86_64-pc-linux-gnu-g++ t-keylist.o t-support.o -pipe -march=native -fno-diagnostics-color -O2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L../../cpp/src/.libs -lgpgmepp -L../../cpp/src/../../../src/.libs -lgpgme -L/usr/lib64 -lassuan -lgpg-error -lassuan -L../s
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: t-addexistingsubkey.o: in function `AddExistingSubkeyJobTest::testAddExistingSubkeyAsync()':
t-addexistingsubkey.cpp:(.text._ZN24AddExistingSubkeyJobTest26testAddExistingSubkeyAsyncEv[_ZN24AddExistingSubkeyJobTest26testAddExistingSubkeyAsyncEv]+0x19e): undefined reference to `QGpgME::AddExistingSubkeyJob::result(GpgME::Error const&, QString const&, GpgME::Error const&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: t-addexistingsubkey.cpp:(.text._ZN24AddExistingSubkeyJobTest26testAddExistingSubkeyAsyncEv[_ZN24AddExistingSubkeyJobTest26testAddExistingSubkeyAsyncEv]+0x1f8): undefined reference to `QGpgME::AddExistingSubkeyJob::static
collect2: error: ld returned 1 exit status

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20220514-190005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.0 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.1
Python 3.9.12
Available Rust versions:
  [1]   rust-bin-1.60.0 *
php cli:

  HEAD of ::gentoo
commit d6a716a715130789ebb8131e0c24b9e3cf749018
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat May 14 18:03:13 2022 +0000

    2022-05-14 18:03:13 UTC

emerge -qpvO app-crypt/gpgme
[ebuild     U ] app-crypt/gpgme-1.17.1 [1.16.0] USE="common-lisp* cxx qt5 -python -static-libs -verify-sig" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-05-14 20:41:17 UTC
Created attachment 778928 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-05-14 20:41:18 UTC
Created attachment 778931 [details]
app-crypt:gpgme-1.17.1:20220514-200114.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-05-14 20:41:19 UTC
Created attachment 778934 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-05-14 20:41:20 UTC
Created attachment 778937 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-05-14 20:41:21 UTC
Created attachment 778940 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-05-14 20:41:22 UTC
Created attachment 778943 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-05-14 20:41:24 UTC
Created attachment 778946 [details]
temp.tar.bz2
Comment 8 orbea 2022-05-14 23:50:52 UTC
Still can't reproduce this.
Comment 9 orbea 2022-05-14 23:51:15 UTC
Still works on my side.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-17 01:02:54 UTC
toralf, how easily can you reproduce this? We're really struggling here.
Comment 11 Larry the Git Cow gentoo-dev 2022-05-17 05:34:49 UTC
The bug has been referenced in the following commit(s):

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

commit 3ba2afcc77d13823ee5b9e935619b8be08b11790
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-05-17 04:51:06 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-17 05:33:58 +0000

    app-crypt/gpgme: conditionally build tests; die if tests can't be run
    
    1. Conditionally build tests which gives us a neat speedup for build time;
    
    2. If tests are explicitly requested and we can't run them b/c of WORKDIR length,
    let's bail out. It's important that we don't get a false positive that
    the package is okay (especially given its importance).
    
    (Noticed when poking at the slibtool bug, although I don't think this will
    actually fix anything there.)
    
    Bug: https://bugs.gentoo.org/844226
    Signed-off-by: Sam James <sam@gentoo.org>

 app-crypt/gpgme/gpgme-1.17.1.ebuild | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)
Comment 12 Toralf Förster gentoo-dev 2022-05-22 10:39:22 UTC
(In reply to Sam James from comment #10)
> toralf, how easily can you reproduce this? We're really struggling here.

emerges fine at current images, so an rdlibtool issue ?