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

Bug 706988

Summary: mail-filter/dcc-1.3.158 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/18945
https://bugs.gentoo.org/show_bug.cgi?id=765079
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
mail-filter:dcc-1.3.158:20200128-180957.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-28 18:55:11 UTC
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed     ck2ip.o ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -o ck2ip
==> dbclean
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE   -I./include  -I../srvrlib -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE   -I../include    -c -o dbclean.o dbclean.c
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed     dbclean.o ../srvrlib/libsrvr.a ../clntlib/libclnt.a ../dcclib/libdcc.a -lm -lresolv -o dbclean
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../clntlib/libclnt.a(clnt_send.o):(.bss+0x3e0): multiple definition of `grey_on'; ../srvrlib/libsrvr.a(db.o):(.bss+0x30c): first defined here
collect2: error: ld returned 1 exit status

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

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

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 28 Jan 2020 17:46:28 +0000

emerge -qpvO mail-filter/dcc
[ebuild  N    ] mail-filter/dcc-1.3.158  USE="ipv6 -cgi -milter -rrdtool"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:55:14 UTC
Created attachment 607020 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:55:16 UTC
Created attachment 607022 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:55:19 UTC
Created attachment 607024 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:55:22 UTC
Created attachment 607026 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:55:24 UTC
Created attachment 607028 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:55:27 UTC
Created attachment 607030 [details]
mail-filter:dcc-1.3.158:20200128-180957.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:55:30 UTC
Created attachment 607032 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-01-12 12:04:06 UTC
The bug has been closed via the following commit(s):

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

commit 49241f1373444258fd5ad16b4f00c5b1510c19ac
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-12 12:03:59 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-01-12 12:03:59 +0000

    mail-filter/dcc: Port to EAPI 7
    
    Closes: https://bugs.gentoo.org/706988
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 mail-filter/dcc/dcc-1.3.158-r1.ebuild              | 144 +++++++++++++++++++++
 mail-filter/dcc/files/dcc-1.3.140-freebsd.patch    |   2 -
 mail-filter/dcc/files/dcc-1.3.158-fno-common.patch |  23 ++++
 3 files changed, 167 insertions(+), 2 deletions(-)