Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707430 - x11-misc/xvkbd-4.0 : fails to build with -fno-common or gcc-10
Summary: x11-misc/xvkbd-4.0 : 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: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-30 19:11 UTC by Toralf Förster
Modified: 2021-01-05 18:41 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.26 KB, text/plain)
2020-01-30 19:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,123.68 KB, text/plain)
2020-01-30 19:11 UTC, Toralf Förster
Details
environment (environment,62.82 KB, text/plain)
2020-01-30 19:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.53 KB, application/x-bzip)
2020-01-30 19:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,5.39 KB, application/x-bzip)
2020-01-30 19:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.03 KB, application/x-bzip)
2020-01-30 19:12 UTC, Toralf Förster
Details
x11-misc:xvkbd-4.0:20200130-030320.log (x11-misc:xvkbd-4.0:20200130-030320.log,9.66 KB, text/plain)
2020-01-30 19:12 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-30 19:11:44 UTC
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.    -DXAW_INTERNATIONALIZATION -DXAW_GRAY_BLKWHT_STIPPLES -DXAW_ARROW_SCROLLBARS   -DUSE_I18N -DUSE_XTEST -Wall -DSHAREDIR=\"/usr/share\/xvkbd\" -O2 -pipe -march=native -fno-common -c -o xvkbd-findwidget.o `test -f 'findwidget.c' || echo './'`findwidget.c
x86_64-pc-linux-gnu-gcc -DXAW_INTERNATIONALIZATION -DXAW_GRAY_BLKWHT_STIPPLES -DXAW_ARROW_SCROLLBARS   -DUSE_I18N -DUSE_XTEST -Wall -DSHAREDIR=\"/usr/share\/xvkbd\" -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o xvkbd xvkbd-xvkbd.o xvkbd-findwidget.o -lXaw3d -lXmu -lXt -lX11  -lXmu -lXt -lX11 -lXtst  -lXtst -lXt -lX11 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: xvkbd-findwidget.o:(.bss+0x0): multiple definition of `appres'; xvkbd-xvkbd.o:(.bss+0x0): 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_plasma-libressl-20200126-092715

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

  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
  [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
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Thu, 30 Jan 2020 01:26:20 +0000

emerge -qpvO x11-misc/xvkbd
[ebuild  N    ] x11-misc/xvkbd-4.0
Comment 1 Toralf Förster gentoo-dev 2020-01-30 19:11:47 UTC
Created attachment 608864 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-30 19:11:50 UTC
Created attachment 608866 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-30 19:11:53 UTC
Created attachment 608868 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-30 19:11:56 UTC
Created attachment 608870 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-30 19:11:59 UTC
Created attachment 608872 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-30 19:12:02 UTC
Created attachment 608874 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-30 19:12:05 UTC
Created attachment 608876 [details]
x11-misc:xvkbd-4.0:20200130-030320.log
Comment 8 Larry the Git Cow gentoo-dev 2020-01-31 11:53:07 UTC
The bug has been closed via the following commit(s):

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

commit 35db8d18eeb785d6cf17b660ba1bacb1f6fad6b5
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-31 11:52:42 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-31 11:53:03 +0000

    x11-misc/xvkbd: Fix CFLAGS=-fno-common
    
    Package-Manager: Portage-2.3.86, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=707430
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 x11-misc/xvkbd/files/xvkbd-4.0-fno-common.patch | 22 ++++++++++++++++++++++
 x11-misc/xvkbd/xvkbd-4.0.ebuild                 |  3 ++-
 2 files changed, 24 insertions(+), 1 deletion(-)