Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 720088 - net-analyzer/ossec-hids-3.6.0 : fails to build with -fno-common or gcc-10
Summary: net-analyzer/ossec-hids-3.6.0 : fails to build with -fno-common or gcc-10
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ralph Seichter
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-04-30 07:24 UTC by Toralf Förster
Modified: 2020-05-24 17:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.22 KB, text/plain)
2020-04-30 07:24 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,217.20 KB, text/plain)
2020-04-30 07:24 UTC, Toralf Förster
Details
environment (environment,21.11 KB, text/plain)
2020-04-30 07:24 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.18 KB, application/x-bzip)
2020-04-30 07:24 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,1.15 KB, application/x-bzip)
2020-04-30 07:24 UTC, Toralf Förster
Details
net-analyzer:ossec-hids-3.6.0:20200430-054836.log (net-analyzer:ossec-hids-3.6.0:20200430-054836.log,56.76 KB, text/plain)
2020-04-30 07:24 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-04-30 07:24:24 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: client-agent/config.o:(.bss+0x60): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: client-agent/event-forward.o:(.bss+0x0): multiple definition of `server_ibuf'; client-agent/agentd.o:(.bss+0x0): first defined here

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

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

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
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-bin-1.43.0
  [2]   rust-1.43.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)

The Glorious Glasgow Haskell Compilation System, version 7.10.3

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Thu 30 Apr 2020 02:08:50 AM UTC

emerge -qpvO net-analyzer/ossec-hids
[ebuild  N    ] net-analyzer/ossec-hids-3.6.0  USE="agent -hybrid -local -mysql -postgres -server -sqlite -test"
Comment 1 Toralf Förster gentoo-dev 2020-04-30 07:24:28 UTC
there is still a similar issue at unstable amd64 tinderbox image 17.1_no-multilib-20200425-101740 (see bug 710508)
Comment 2 Toralf Förster gentoo-dev 2020-04-30 07:24:30 UTC
Created attachment 635318 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-30 07:24:34 UTC
Created attachment 635320 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-30 07:24:37 UTC
Created attachment 635322 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-30 07:24:39 UTC
Created attachment 635324 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-30 07:24:43 UTC
Created attachment 635326 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-30 07:24:46 UTC
Created attachment 635328 [details]
net-analyzer:ossec-hids-3.6.0:20200430-054836.log
Comment 8 Ralph Seichter 2020-05-02 12:01:06 UTC
Upstream issue https://github.com/ossec/ossec-hids/issues/1871 filed.
Comment 9 Ralph Seichter 2020-05-20 19:00:25 UTC
Upstream has confirmed this issue as a bug on their end. According to the comments, they are currently testing fixes.
Comment 10 Ralph Seichter 2020-05-24 17:39:49 UTC
Upstream has made changes to address the issue. I have opened the linked pull request which modifies ebuild version 3.6.0 to include a patch which combines these changes.