Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721466 - net-mail/cyrus-imapd-3.4.2-r1 : lib/.../libcyrus.so: error: undefined reference to log
Summary: net-mail/cyrus-imapd-3.4.2-r1 : lib/.../libcyrus.so: error: undefined referen...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: LD-is-lld, systemwide-lld
  Show dependency tree
 
Reported: 2020-05-07 12:44 UTC by Toralf Förster
Modified: 2022-09-15 00:21 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.77 KB, text/plain)
2020-05-07 12:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,174.51 KB, text/plain)
2020-05-07 12:44 UTC, Toralf Förster
Details
environment (environment,94.00 KB, text/plain)
2020-05-07 12:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.08 KB, application/x-bzip)
2020-05-07 12:45 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,17.44 KB, application/x-bzip)
2020-05-07 12:45 UTC, Toralf Förster
Details
net-mail:cyrus-imapd-3.0.13:20200507-123846.log (net-mail:cyrus-imapd-3.0.13:20200507-123846.log,78.59 KB, text/plain)
2020-05-07 12:45 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.32 KB, application/x-bzip)
2020-05-07 12:45 UTC, Toralf Förster
Details
001_main (001_main,215.93 KB, text/plain)
2022-01-17 15:03 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-07 12:44:47 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -fvisibility=hidden -O2 -pipe -march=native  -falign-functions=32:25:16 -fno-common  -licuuc -licudata   -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,--no-as-needed -o imtest/imtest imtest/imtest-imtest.o lib/libcyrus.la lib/libcyrus_min.la -lz -lsasl2 -lssl -lcrypto  -lssl -lcrypto   -lz
libtool: link: x86_64-pc-linux-gnu-gcc -fvisibility=hidden -O2 -pipe -march=native -falign-functions=32:25:16 -fno-common -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o imtest/.libs/imtest imtest/imtest-imtest.o  -Wl,--as-needed -Wl,--no-as-needed lib/.libs/libcyrus.so lib/.libs/libcyrus_min.so -licuuc -licudata -luuid -lsasl2 -lssl -lcrypto -lz
lib/.libs/libcyrus.so: error: undefined reference to log
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:4316: imtest/imtest] Error 1
make[2]: Leaving directory /var/tmp/portage/net-mail/cyrus-imapd-3.0.13/work/cyrus-imapd-3.0.13

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-abi32+64-20200503-182741

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.8 (fallback)
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.252_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 07 May 2020 12:07:08 PM UTC

emerge -qpvO net-mail/cyrus-imapd
[ebuild  N    ] net-mail/cyrus-imapd-3.0.13  USE="pam server ssl -afs -backup -calalarm -caps -clamav -http -kerberos -ldap -lmdb -mysql -nntp -perl -postgres -replication -sieve -snmp -sqlite -static-libs -tcpd -test -xapian"
Comment 1 Toralf Förster gentoo-dev 2020-05-07 12:44:50 UTC
Created attachment 636706 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-07 12:44:53 UTC
Created attachment 636708 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-07 12:44:57 UTC
Created attachment 636710 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-07 12:45:00 UTC
Created attachment 636712 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-07 12:45:03 UTC
Created attachment 636714 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-07 12:45:06 UTC
Created attachment 636716 [details]
net-mail:cyrus-imapd-3.0.13:20200507-123846.log
Comment 7 Toralf Förster gentoo-dev 2020-05-07 12:45:09 UTC
Created attachment 636718 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-05-06 23:26:38 UTC
The bug has been referenced in the following commit(s):

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

commit f2b08a02bdc724992071e52b60e356ee9fcd0759
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-06 22:44:21 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-06 23:26:17 +0000

    net-mail/cyrus-imapd: add 3.0.15
    
    Bug: https://bugs.gentoo.org/738280
    Bug: https://bugs.gentoo.org/740188
    Bug: https://bugs.gentoo.org/738278
    Bug: https://bugs.gentoo.org/738276
    Bug: https://bugs.gentoo.org/356341
    Bug: https://bugs.gentoo.org/688242
    Bug: https://bugs.gentoo.org/721466
    Bug: https://bugs.gentoo.org/662896
    Bug: https://bugs.gentoo.org/687864
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/cyrus-imapd/Manifest                  |   1 +
 net-mail/cyrus-imapd/cyrus-imapd-3.0.15.ebuild | 229 +++++++++++++++++++++++++
 2 files changed, 230 insertions(+)
Comment 9 Agostino Sarubbo gentoo-dev 2022-01-17 08:24:41 UTC
tinderbox has reproduced this issue with version 3.4.2-r1 - Updating summary.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-01-17 12:12:36 UTC
ago, can you upload the new log, thanks!
Comment 11 Agostino Sarubbo gentoo-dev 2022-01-17 12:22:42 UTC
(In reply to Sam James from comment #10)
> ago, can you upload the new log, thanks!

ah... I didn't notice that this bug was referenced by a commit. I will add the log.
Comment 12 Agostino Sarubbo gentoo-dev 2022-01-17 15:03:35 UTC
Created attachment 762400 [details]
001_main

3.4.2-r1 build.log
Comment 13 Larry the Git Cow gentoo-dev 2022-09-15 00:09:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c7f1aa8f2e0ff391b19af7573679ae33689b78

commit 15c7f1aa8f2e0ff391b19af7573679ae33689b78
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-15 00:08:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-15 00:09:40 +0000

    net-mail/cyrus-imapd: fix build w/ LLD
    
    Closes: https://bugs.gentoo.org/721466
    Signed-off-by: Sam James <sam@gentoo.org>

 net-mail/cyrus-imapd/cyrus-imapd-3.4.4-r1.ebuild   | 247 +++++++++++++++++++++
 .../cyrus-imapd-3.4.4-0001-Test-for-libm.patch     |  32 +++
 ...3.4.4-0002-Avoid-underlinking-libcyrus-lm.patch |  23 ++
 3 files changed, 302 insertions(+)