Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706902 - net-analyzer/nagios-core-4.4.5-r6 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/nagios-core-4.4.5-r6 : fails to build with -fno-common or gcc-10
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Orlitzky
URL: https://github.com/NagiosEnterprises/...
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:35 UTC by Toralf Förster
Modified: 2020-04-22 20:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.67 KB, text/plain)
2020-01-28 18:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.16 KB, text/plain)
2020-01-28 18:35 UTC, Toralf Förster
Details
environment (environment,51.14 KB, text/plain)
2020-01-28 18:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.39 KB, application/x-bzip)
2020-01-28 18:35 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.27 KB, application/x-bzip)
2020-01-28 18:35 UTC, Toralf Förster
Details
net-analyzer:nagios-core-4.4.5-r6:20200128-082812.log (net-analyzer:nagios-core-4.4.5-r6:20200128-082812.log,105.34 KB, text/plain)
2020-01-28 18:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.85 KB, application/x-bzip)
2020-01-28 18:35 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-28 18:35:13 UTC
x86_64-pc-linux-gnu-gcc -Wall -I.. -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H -DNSCGI -c -o downtime-cgi.o ../common/downtime.c
x86_64-pc-linux-gnu-gcc -Wall -I.. -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o archiveutils.o archiveutils.c
x86_64-pc-linux-gnu-gcc -Wall -I.. -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -c -o jsonutils.o jsonutils.c
x86_64-pc-linux-gnu-gcc -Wall -I.. -O2 -pipe -march=native -fno-common -DHAVE_CONFIG_H -DNSCGI -DJSON_NAGIOS_4X -Wl,-O1 -Wl,--as-needed -o archivejson.cgi archivejson.c ../common/shared.o getcgi.o cgiutils.o cgiauth.o macros-cgi.o  objects-cgi.o xobjects-cgi.o statusdata-cgi.o xstatusdata-cgi.o comments-cgi.o downtime-cgi.o ../lib/libnagios.a archiveutils.o jsonutils.o 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xstatusdata-cgi.o:(.bss+0x98): multiple definition of `process_performance_data'; ../common/shared.o:(.bss+0x48): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xstatusdata-cgi.o:(.bss+0x9c): multiple definition of `enable_flap_detection'; ../common/shared.o:(.bss+0x28): first defined here

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

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

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

  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 (uninstalled)
  [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

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

emerge -qpvO net-analyzer/nagios-core
[ebuild  N    ] net-analyzer/nagios-core-4.4.5-r6  USE="web -apache2 -classicui -lighttpd -perl -vim-syntax"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:35:15 UTC
Created attachment 606454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:35:18 UTC
Created attachment 606456 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:35:21 UTC
Created attachment 606458 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:35:24 UTC
Created attachment 606460 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:35:26 UTC
Created attachment 606462 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:35:29 UTC
Created attachment 606464 [details]
net-analyzer:nagios-core-4.4.5-r6:20200128-082812.log
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:35:32 UTC
Created attachment 606466 [details]
temp.tbz2
Comment 8 Michael Orlitzky gentoo-dev 2020-04-22 20:10:04 UTC
Optimistically marking this resolved, as it should be fixed in the next upstream release. My pull request in $URL was just merged.