Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706734 - sys-process/audit-2.8.5 : fails to build with -fno-common or gcc-10
Summary: sys-process/audit-2.8.5 : fails to build with -fno-common or gcc-10
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL: https://github.com/linux-audit/audit-...
Whiteboard:
Keywords: PATCH, UPSTREAM
: 727082 (view as bug list)
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-27 17:44 UTC by Toralf Förster
Modified: 2020-06-04 10:51 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.91 KB, text/plain)
2020-01-27 17:44 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,42.10 KB, text/plain)
2020-01-27 17:44 UTC, Toralf Förster
Details
environment (environment,151.05 KB, text/plain)
2020-01-27 17:44 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.85 KB, application/x-bzip)
2020-01-27 17:44 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.66 KB, application/x-bzip)
2020-01-27 17:44 UTC, Toralf Förster
Details
sys-process:audit-2.8.5:20200127-174027.log (sys-process:audit-2.8.5:20200127-174027.log,116.59 KB, text/plain)
2020-01-27 17:44 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,43.73 KB, application/x-bzip)
2020-01-27 17:44 UTC, Toralf Förster
Details
files/audit-2.8.5-fno-common.patch (audit-2.8.5-fno-common.patch,379 bytes, patch)
2020-02-14 09:07 UTC, Jeroen Roovers
Details | Diff

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-27 17:44:05 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/src -I..  -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5 -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/lib -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/src/libev -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/auparse  -D_GNU_SOURCE -Wno-pointer-sign -O2 -pipe -march=native -fno-common -c -o ausearch-avc.o /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/src/ausearch-avc.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/src -I..  -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5 -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/lib -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/src/libev -I/var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/auparse  -D_GNU_SOURCE -Wno-pointer-sign -O2 -pipe -march=native -fno-common -c -o ausearch-lol.o /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5/src/ausearch-lol.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -Wno-pointer-sign -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o aureport aureport.o auditd-config.o ausearch-llist.o aureport-options.o ausearch-string.o ausearch-parse.o aureport-scan.o aureport-output.o ausearch-lookup.o ausearch-int.o ausearch-time.o ausearch-nvpair.o ausearch-avc.o ausearch-lol.o -L../lib -laudit -L../auparse -lauparse 
libtool: link: x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -Wno-pointer-sign -O2 -pipe -march=native -fno-common -Wl,-O1 -o .libs/aureport aureport.o auditd-config.o ausearch-llist.o aureport-options.o ausearch-string.o ausearch-parse.o aureport-scan.o aureport-output.o ausearch-lookup.o ausearch-int.o ausearch-time.o ausearch-nvpair.o ausearch-avc.o ausearch-lol.o  -Wl,--as-needed -L../lib -L../auparse /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5-abi_x86_64.amd64/auparse/.libs/libauparse.so /var/tmp/portage/sys-process/audit-2.8.5/work/audit-2.8.5-abi_x86_64.amd64/lib/.libs/libaudit.so -lcap-ng
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: ausearch-llist.o:(.bss+0x0): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: aureport-options.o:(.bss+0xa0): multiple definition of `event_node_list'; aureport.o:(.bss+0x28): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20200126-201521

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

  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.6
  [3]   python3.7 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *




repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 27 Jan 2020 16:26:19 +0000

emerge -qpvO sys-process/audit
[ebuild  N    ] sys-process/audit-2.8.5  USE="(split-usr) -gssapi -ldap -python -static-libs" ABI_X86="(64) -32 (-x32)" PYTHON_TARGETS="python2_7 python3_6 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2020-01-27 17:44:08 UTC
Created attachment 605656 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-27 17:44:11 UTC
Created attachment 605658 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-27 17:44:13 UTC
Created attachment 605660 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-27 17:44:16 UTC
Created attachment 605662 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-27 17:44:19 UTC
Created attachment 605664 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-27 17:44:21 UTC
Created attachment 605666 [details]
sys-process:audit-2.8.5:20200127-174027.log
Comment 7 Toralf Förster gentoo-dev 2020-01-27 17:44:24 UTC
Created attachment 605668 [details]
temp.tbz2
Comment 8 Jeroen Roovers gentoo-dev 2020-02-14 09:07:50 UTC
Created attachment 613750 [details, diff]
files/audit-2.8.5-fno-common.patch

Well, that was easy. One of these declarations is not like the others. 8-)
Comment 9 Jeroen Roovers gentoo-dev 2020-02-14 09:39:22 UTC
Also upstream.
Comment 10 Jeroen Roovers gentoo-dev 2020-06-04 10:51:44 UTC
*** Bug 727082 has been marked as a duplicate of this bug. ***