Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706920 - x11-plugins/wmping-0.2.1-r1 : fails to build with -fno-common or gcc-10
Summary: x11-plugins/wmping-0.2.1-r1 : fails to build with -fno-common or gcc-10
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:39 UTC by Toralf Förster
Modified: 2020-02-02 23:23 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.67 KB, text/plain)
2020-01-28 18:39 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,108.21 KB, text/plain)
2020-01-28 18:39 UTC, Toralf Förster
Details
environment (environment,19.77 KB, text/plain)
2020-01-28 18:39 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.44 KB, application/x-bzip)
2020-01-28 18:39 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.95 KB, application/x-bzip)
2020-01-28 18:39 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,8.02 KB, application/x-bzip)
2020-01-28 18:39 UTC, Toralf Förster
Details
x11-plugins:wmping-0.2.1-r1:20200128-100832.log (x11-plugins:wmping-0.2.1-r1:20200128-100832.log,6.43 KB, text/plain)
2020-01-28 18:39 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:39:25 UTC
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"wmping\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DLINUX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_SELECT=1  -I. -I. -I/usr/local/include    -O2 -pipe -march=native -fno-common -c `test -f f_ping.c || echo './'`f_ping.c
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"wmping\" -DVERSION=\"0.1.0\" -DSTDC_HEADERS=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBXPM=1 -DLINUX=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRING_H=1 -DHAVE_SELECT=1  -I. -I. -I/usr/local/include    -O2 -pipe -march=native -fno-common -c `test -f wmgeneral.c || echo './'`wmgeneral.c
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o wmping  wmping.o f_ping.o wmgeneral.o -L/usr/lib64 -L/usr/local/lib -lX11  -lXpm -lXext  -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: wmgeneral.o:(.bss+0x328): multiple definition of `display'; wmping.o:(.bss+0x1090): first defined here
collect2: error: ld returned 1 exit status

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

  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:46:21 +0000

emerge -qpvO x11-plugins/wmping
[ebuild  N    ] x11-plugins/wmping-0.2.1-r1  USE="suid"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:39:30 UTC
Created attachment 606576 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:39:33 UTC
Created attachment 606578 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:39:36 UTC
Created attachment 606580 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:39:39 UTC
Created attachment 606582 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:39:42 UTC
Created attachment 606584 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:39:45 UTC
Created attachment 606586 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:39:48 UTC
Created attachment 606588 [details]
x11-plugins:wmping-0.2.1-r1:20200128-100832.log
Comment 8 Larry the Git Cow gentoo-dev 2020-02-02 23:23:46 UTC
The bug has been closed via the following commit(s):

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

commit d9ae948f79aedcb2f8fffc080afd8f9a67605881
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2020-02-02 23:18:32 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2020-02-02 23:23:29 +0000

    x11-plugins/wmping: fix build with -fno-common
    
    Closes: https://bugs.gentoo.org/706920
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 x11-plugins/wmping/files/wmping-0.2.1-gcc-10.patch | 21 +++++++++++++++++++++
 x11-plugins/wmping/wmping-0.2.1-r1.ebuild          |  7 +++++--
 2 files changed, 26 insertions(+), 2 deletions(-)