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

Bug 706536

Summary: net-analyzer/nagios-plugins-linux-madrisan-25-r1 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Louis Sautier (sbraz) <sbraz>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/madrisan/nagios-plugins-linux/issues/48
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200126-191535.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-26 19:50:22 UTC
Making all in plugins
x86_64-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..  -include ../config.h -I../include -DMULTIPATHD_SOCKET=\"@/org/kernel/linux/storage/multipathd\"   -Wall -Wformat -Wformat -Wformat-security -Wformat-signedness -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wstringop-truncation -Wunused -O2 -pipe -march=native -fno-common -c -o check_clock.o check_clock.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -std=gnu99  -Wall -Wformat -Wformat -Wformat-security -Wformat-signedness -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wstringop-truncation -Wunused -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o check_clock check_clock.o ../lib/libutils.a -lrt 
libtool: link: x86_64-pc-linux-gnu-gcc -std=gnu99 -Wall -Wformat -Wformat -Wformat-security -Wformat-signedness -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-aliasing=2 -Wstringop-truncation -Wunused -O2 -pipe -march=native -fno-common -Wl,-O1 -o check_clock check_clock.o  -Wl,--as-needed ../lib/libutils.a -lrt
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libutils.a(progname.o):(.bss+0x8): multiple definition of `program_name'; check_clock.o:(.bss+0x8): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ../lib/libutils.a(progname.o):(.bss+0x0): multiple definition of `program_name_short'; check_clock.o:(.bss+0x0): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20200124-204141

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

  Please see the tracker bug for details.

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


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 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 26 Jan 2020 18:26:13 +0000

emerge -qpvO net-analyzer/nagios-plugins-linux-madrisan
[ebuild  N    ] net-analyzer/nagios-plugins-linux-madrisan-25-r1  USE="-curl"
Comment 1 Toralf Förster gentoo-dev 2020-01-26 19:50:25 UTC
Created attachment 604844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-26 19:50:28 UTC
Created attachment 604846 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-26 19:50:31 UTC
Created attachment 604848 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-26 19:50:33 UTC
Created attachment 604850 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-26 19:50:36 UTC
Created attachment 604852 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-26 19:50:39 UTC
Created attachment 604854 [details]
net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200126-191535.log
Comment 7 Toralf Förster gentoo-dev 2020-01-26 19:50:41 UTC
Created attachment 604856 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-01-29 11:05:04 UTC
The bug has been closed via the following commit(s):

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

commit 1c6d84beced12c06ae08c04955d5bb6f799a568e
Author:     Louis Sautier <sbraz@gentoo.org>
AuthorDate: 2020-01-29 11:01:18 +0000
Commit:     Louis Sautier <sbraz@gentoo.org>
CommitDate: 2020-01-29 11:04:07 +0000

    net-analyzer/nagios-plugins-linux-madrisan: fix build w. -fno-common
    
    Closes: https://bugs.gentoo.org/706536
    Package-Manager: Portage-2.3.85, Repoman-2.3.20
    Signed-off-by: Louis Sautier <sbraz@gentoo.org>

 ...-plugins-linux-madrisan-25-fix-fno-common.patch | 37 ++++++++++++++++++++++
 .../nagios-plugins-linux-madrisan-25-r1.ebuild     |  6 +++-
 2 files changed, 42 insertions(+), 1 deletion(-)