Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706536 - net-analyzer/nagios-plugins-linux-madrisan-25-r1 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/nagios-plugins-linux-madrisan-25-r1 : fails to build with -fno-c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Louis Sautier (sbraz)
URL: https://github.com/madrisan/nagios-pl...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-26 19:50 UTC by Toralf Förster
Modified: 2020-01-29 11:05 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.41 KB, text/plain)
2020-01-26 19:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,111.02 KB, text/plain)
2020-01-26 19:50 UTC, Toralf Förster
Details
environment (environment,61.78 KB, text/plain)
2020-01-26 19:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.72 KB, application/x-bzip)
2020-01-26 19:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.62 KB, application/x-bzip)
2020-01-26 19:50 UTC, Toralf Förster
Details
net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200126-191535.log (net-analyzer:nagios-plugins-linux-madrisan-25-r1:20200126-191535.log,25.11 KB, text/plain)
2020-01-26 19:50 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,21.36 KB, application/x-bzip)
2020-01-26 19:50 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-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(-)