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

Bug 708060

Summary: mail-filter/policyd-1.82-r3 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
mail-filter:policyd-1.82-r3:20200203-142430.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-03 18:50:52 UTC
x86_64-pc-linux-gnu-gcc -g -W -Wall -DMAXFDS=`ulimit -n` -O2 -pipe -march=native -fno-common -I/usr/include/mysql -I/usr/local/mysql/include -I/usr/local/mysql/include/mysql -I/usr/local/include/mysql -I/usr/pkg/include/mysql  -Wl,-O1 -Wl,--as-needed \
syslog.o policyd.o generic.o mysql.o greylist.o throttle.o sockets.o cidr.o spamtrap.o blacklist.o blacklist_helo.o \
whitelist.o throttle_host.o throttle_sasl.o throttle_from.o throttle_rcpt.o helo.o \
-L/usr/lib/mysql -L/usr/lib64/mysql -L/usr/local/mysql/lib -L/usr/local/mysql/lib/mysql -L/usr/local/lib/mysql -L/usr/pkg/lib/mysql -L/usr/local/mysql -lmysqlclient -lz -o policyd
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: policyd.o:/var/tmp/portage/mail-filter/policyd-1.82-r3/work/policyd-1.82/policyd.h:216: multiple definition of `action_array'; syslog.o:/var/tmp/portage/mail-filter/policyd-1.82-r3/work/policyd-1.82/policyd.h:216: first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: policyd.o:/var/tmp/portage/mail-filter/policyd-1.82-r3/work/policyd-1.82/policyd.h:198: multiple definition of `policy_array'; syslog.o:/var/tmp/portage/mail-filter/policyd-1.82-r3/work/policyd-1.82/policyd.h:198: first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200126-092715

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
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.40.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 03 Feb 2020 13:27:00 +0000

emerge -qpvO mail-filter/policyd
[ebuild  N    ] mail-filter/policyd-1.82-r3  USE="libressl"
Comment 1 Toralf Förster gentoo-dev 2020-02-03 18:50:55 UTC
Created attachment 611438 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-03 18:50:58 UTC
Created attachment 611440 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-03 18:51:01 UTC
Created attachment 611442 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-03 18:51:04 UTC
Created attachment 611444 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-03 18:51:07 UTC
Created attachment 611446 [details]
mail-filter:policyd-1.82-r3:20200203-142430.log
Comment 6 Toralf Förster gentoo-dev 2020-02-03 18:51:09 UTC
Created attachment 611448 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-02-14 10:36:39 UTC
The bug has been closed via the following commit(s):

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

commit 0410c0ed2b65ca36f40a630d7f84f01a5a7681af
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-14 10:32:45 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-14 10:32:45 +0000

    mail-filter/policyd: Apply gcc-10 workaround, drop libressl support
    
    * Dead upstream, patching requires bigger code rewrite
    
    Closes: https://bugs.gentoo.org/708060
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 mail-filter/policyd/metadata.xml                   |  8 ++--
 ...licyd-1.82-r3.ebuild => policyd-1.82-r4.ebuild} | 49 ++++++++++++----------
 2 files changed, 30 insertions(+), 27 deletions(-)