Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713502 - net-mail/cyrus-imapd-3.0.11 : fails to build with -fno-common or gcc-10
Summary: net-mail/cyrus-imapd-3.0.11 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-03-19 17:18 UTC by Toralf Förster
Modified: 2020-04-09 14:08 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.41 KB, text/plain)
2020-03-19 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,157.35 KB, text/plain)
2020-03-19 17:18 UTC, Toralf Förster
Details
environment (environment,132.79 KB, text/plain)
2020-03-19 17:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.38 KB, application/x-bzip)
2020-03-19 17:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.63 KB, application/x-bzip)
2020-03-19 17:18 UTC, Toralf Förster
Details
net-mail:cyrus-imapd-3.0.11:20200319-171441.log (net-mail:cyrus-imapd-3.0.11:20200319-171441.log,133.83 KB, text/plain)
2020-03-19 17:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,40.53 KB, application/x-bzip)
2020-03-19 17:18 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 2020-03-19 17:18:20 UTC
libtool: link: x86_64-gentoo-linux-musl-g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../crti.o /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/crtbeginS.o  imap/.libs/libcyrus_imap_la-annotate.o imap/.libs/libcyrus_imap_la-append.o imap/.libs/libcyrus_imap_la-backend.o imap/.libs/libcyrus_imap_la-conversations.o imap/.libs/libcyrus_imap_la-convert_code.o imap/.libs/libcyrus_imap_la-dlist.o imap/.libs/libcyrus_imap_la-duplicate.o imap/.libs/libcyrus_imap_la-global.o imap/.libs/libcyrus_imap_la-idle.o imap/.libs/libcyrus_imap_la-idlemsg.o imap/.libs/libcyrus_imap_la-imapparse.o imap/.libs/libcyrus_imap_la-index.o imap/.libs/libcyrus_imap_la-mailbox.o imap/.libs/libcyrus_imap_la-mbdump.o imap/.libs/libcyrus_imap_la-mboxkey.o imap/.libs/libcyrus_imap_la-mboxlist.o imap/.libs/libcyrus_imap_la-mboxevent.o imap/.libs/libcyrus_imap_la-mboxname.o imap/.libs/libcyrus_imap_la-message_guid.o imap/.libs/libcyrus_imap_la-message.o imap/.libs/libcyrus_imap_la-mupdate-client.o imap/.libs/libcyrus_imap_la-notify.o imap/.libs/libcyrus_imap_la-partlist.o imap/.libs/libcyrus_imap_la-proc.o imap/.libs/libcyrus_imap_la-quota_db.o imap/.libs/libcyrus_imap_la-rfc822_header.o imap/.libs/libcyrus_imap_la-saslclient.o imap/.libs/libcyrus_imap_la-saslserver.o imap/.libs/libcyrus_imap_la-search_engines.o imap/.libs/libcyrus_imap_la-search_expr.o imap/.libs/libcyrus_imap_la-search_query.o imap/.libs/libcyrus_imap_la-seen_db.o imap/.libs/libcyrus_imap_la-sequence.o imap/.libs/libcyrus_imap_la-setproctitle.o imap/.libs/libcyrus_imap_la-statuscache_db.o imap/.libs/libcyrus_imap_la-sync_log.o imap/.libs/libcyrus_imap_la-telemetry.o imap/.libs/libcyrus_imap_la-tls.o imap/.libs/libcyrus_imap_la-tls_th-lock.o imap/.libs/libcyrus_imap_la-user.o imap/.libs/libcyrus_imap_la-userdeny_db.o imap/.libs/libcyrus_imap_la-version.o imap/.libs/libcyrus_imap_la-xstats.o imap/.libs/libcyrus_imap_la-search_squat.o imap/.libs/libcyrus_imap_la-squat.o imap/.libs/libcyrus_imap_la-squat_build.o imap/.libs/libcyrus_imap_la-squat_internal.o imap/.libs/libcyrus_imap_la-imap_err.o imap/.libs/libcyrus_imap_la-mupdate_err.o   -Wl,-rpath -Wl,/var/tmp/portage/net-mail/cyrus-imapd-3.0.11/work/cyrus-imapd-3.0.11/com_err/et/.libs -Wl,-rpath -Wl,/var/tmp/portage/net-mail/cyrus-imapd-3.0.11/work/cyrus-imapd-3.0.11/lib/.libs -Wl,--as-needed -Wl,--no-as-needed com_err/et/.libs/libcyrus_com_err.so -ljansson lib/.libs/libcyrus_min.so -luuid lib/.libs/libcyrus.so -licuuc -licudata -lsasl2 -lssl -lcrypto -lresolv -lpcre -lpcreposix -lz -L/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0 -L/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/lib -L/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/crtendS.o /usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../crtn.o  -O2 -march=native -Wl,-O1   -Wl,-soname -Wl,libcyrus_imap.so.0 -o imap/.libs/libcyrus_imap.so.0.0.0
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: imap/.libs/libcyrus_imap_la-append.o:(.bss+0x0): multiple definition of open_conversations; imap/.libs/libcyrus_imap_la-annotate.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: imap/.libs/libcyrus_imap_la-backend.o:(.bss+0x0): multiple definition of open_conversations; imap/.libs/libcyrus_imap_la-annotate.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
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.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO net-mail/cyrus-imapd
[ebuild  N    ] net-mail/cyrus-imapd-3.0.11  USE="pam server ssl tcpd -afs -backup -calalarm -caps -clamav -http -kerberos -ldap -lmdb -mysql -nntp -perl -postgres -replication -sieve -snmp -sqlite -static-libs -test -xapian"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 17:18:24 UTC
Created attachment 622806 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 17:18:27 UTC
Created attachment 622808 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 17:18:30 UTC
Created attachment 622810 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 17:18:33 UTC
Created attachment 622812 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 17:18:36 UTC
Created attachment 622814 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 17:18:39 UTC
Created attachment 622816 [details]
net-mail:cyrus-imapd-3.0.11:20200319-171441.log
Comment 7 Toralf Förster gentoo-dev 2020-03-19 17:18:42 UTC
Created attachment 622818 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-04-09 14:08:10 UTC
The bug has been closed via the following commit(s):

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

commit bccf2ea2f117c28889359760444e1740e96b7f97
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2020-04-09 14:07:45 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2020-04-09 14:07:45 +0000

    net-mail/cyrus-imapd: security bump to 3.0.13
    
    also fixes building with new versions of libcap and gcc-10
    
    Closes: https://bugs.gentoo.org/713728
    Closes: https://bugs.gentoo.org/713502
    Package-Manager: Portage-2.3.96, Repoman-2.3.22
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 net-mail/cyrus-imapd/Manifest                      |   1 +
 net-mail/cyrus-imapd/cyrus-imapd-3.0.13.ebuild     | 230 +++++++++++++++++++++
 .../cyrus-imapd/files/cyrus-imapd-libcap.patch     |  64 ++++++
 net-mail/cyrus-imapd/metadata.xml                  |   2 +-
 4 files changed, 296 insertions(+), 1 deletion(-)