Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707224 - net-mail/mboxgrep-0.7.9-r1 : fails to build with -fno-common or gcc-10
Summary: net-mail/mboxgrep-0.7.9-r1 : 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 (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:
: 721176 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 18:06 UTC by Toralf Förster
Modified: 2020-05-17 12:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.26 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,161.96 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
environment (environment,73.70 KB, text/plain)
2020-01-29 18:06 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.67 KB, application/x-bzip)
2020-01-29 18:06 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.80 KB, application/x-bzip)
2020-01-29 18:07 UTC, Toralf Förster
Details
net-mail:mboxgrep-0.7.9-r1:20200129-093347.log (net-mail:mboxgrep-0.7.9-r1:20200129-093347.log,8.74 KB, text/plain)
2020-01-29 18:07 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.48 KB, application/x-bzip)
2020-01-29 18:07 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-01-29 18:06:42 UTC
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I. -I. -c getopt.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I. -I. -c getopt1.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -I. -I. -c md5.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o mboxgrep info.o main.o mh.o scan.o maildir.o mbox.o misc.o wrap.o getopt.o getopt1.o md5.o -lbz2 -lz  -L/usr/lib64 -lpcre
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: main.o:(.bss+0xa0): multiple definition of `config'; info.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: mh.o:(.bss+0x0): multiple definition of `config'; info.o:(.bss+0x0): first defined here

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

  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 <==
Wed, 29 Jan 2020 09:06:25 +0000

emerge -qpvO net-mail/mboxgrep
[ebuild  N    ] net-mail/mboxgrep-0.7.9-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-29 18:06:46 UTC
Created attachment 608012 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 18:06:51 UTC
Created attachment 608014 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 18:06:54 UTC
Created attachment 608016 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 18:06:59 UTC
Created attachment 608018 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 18:07:02 UTC
Created attachment 608020 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 18:07:05 UTC
Created attachment 608022 [details]
net-mail:mboxgrep-0.7.9-r1:20200129-093347.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 18:07:08 UTC
Created attachment 608024 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-17 11:46:33 UTC
*** Bug 721176 has been marked as a duplicate of this bug. ***
Comment 9 Larry the Git Cow gentoo-dev 2020-05-17 12:10:23 UTC
The bug has been closed via the following commit(s):

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

commit 8c4407a0939ac072040c56f2f00b60fdc7e11176
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-05-17 12:05:59 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-05-17 12:10:20 +0000

    net-mail/mboxgrep: Fix building with CFLAGS=-fno-common
    
    Also:
    - Add missing dependencies
    - EAPI=7
    - New HOMEPAGE
    - Use _DEFAULT_SOURCE to suppress compiler warning
    
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/707224
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../files/mboxgrep-0.7.9-_DEFAULT_SOURCE.patch     | 11 ++++++
 .../mboxgrep/files/mboxgrep-0.7.9-fno-common.patch | 20 +++++++++++
 net-mail/mboxgrep/mboxgrep-0.7.9-r2.ebuild         | 42 ++++++++++++++++++++++
 net-mail/mboxgrep/metadata.xml                     |  3 ++
 4 files changed, 76 insertions(+)