Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707622 - sys-apps/qingy-1.0.0-r4 : fails to build with -fno-common or gcc-10
Summary: sys-apps/qingy-1.0.0-r4 : 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 with 2 votes (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
: 751106 (view as bug list)
Depends on:
Blocks: -fno-common gcc-10-stable
  Show dependency tree
 
Reported: 2020-01-31 17:40 UTC by Toralf Förster
Modified: 2021-02-13 10:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.64 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,247.61 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
environment (environment,126.89 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.44 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,21.04 KB, application/x-bzip)
2020-01-31 17:40 UTC, Toralf Förster
Details
sys-apps:qingy-1.0.0-r4:20200131-053346.log (sys-apps:qingy-1.0.0-r4:20200131-053346.log,185.08 KB, text/plain)
2020-01-31 17:40 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,41.51 KB, application/x-bzip)
2020-01-31 17:40 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-31 17:40:00 UTC
/bin/sh ../../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src   -DSETTINGS_DIR=\"/etc/qingy\" -DSBINDIR=\"/sbin/\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -pipe -W -Wall -O2 -pipe -march=native -fno-common -c -o crypto_libgcrypt.lo crypto_libgcrypt.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../src -DSETTINGS_DIR=\"/etc/qingy\" -DSBINDIR=\"/sbin/\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -pipe -W -Wall -O2 -pipe -march=native -fno-common -c crypto_libgcrypt.c  -fPIC -DPIC -o .libs/crypto_libgcrypt.o
/bin/sh ../../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -DSETTINGS_DIR=\"/etc/qingy\" -DSBINDIR=\"/sbin/\" -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600   -pipe -W -Wall -O2 -pipe -march=native -fno-common -release 1.0.1 -Wl,-O1 -Wl,--as-needed -o libqingy.la -rpath /usr/lib64/qingy scan_settings.lo parse_settings.lo load_settings.lo tty_guardian.lo keybindings.lo session.lo memmgmt.lo logger.lo misc.lo vt.lo  crypto_libgcrypt.lo -lpam -ldl -lgcrypt  -lncurses -ltinfo   -lpthread -ldl -lcrypt 
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/scan_settings.o .libs/parse_settings.o .libs/load_settings.o .libs/tty_guardian.o .libs/keybindings.o .libs/session.o .libs/memmgmt.o .libs/logger.o .libs/misc.o .libs/vt.o .libs/crypto_libgcrypt.o   -Wl,--as-needed -lpam -lgcrypt -lncurses -ltinfo -lpthread -ldl -lcrypt  -O2 -march=native -Wl,-O1   -Wl,-soname -Wl,libqingy-1.0.1.so -o .libs/libqingy-1.0.1.so
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/parse_settings.o:(.bss+0x234): multiple definition of `current_tty'; .libs/scan_settings.o:(.bss+0x334): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/parse_settings.o:(.bss+0x110): multiple definition of `dfb_interface'; .libs/scan_settings.o:(.bss+0x210): first defined here

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

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

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

  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:
*)	AdoptOpenJDK 8.242_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Fri, 31 Jan 2020 04:06:20 +0000

emerge -qpvO sys-apps/qingy
[ebuild  N    ] sys-apps/qingy-1.0.0-r4  USE="crypt pam -X -consolekit -emacs -gpm -opensslcrypt -static"
Comment 1 Toralf Förster gentoo-dev 2020-01-31 17:40:03 UTC
Created attachment 609732 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-31 17:40:06 UTC
Created attachment 609734 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-31 17:40:09 UTC
Created attachment 609736 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-31 17:40:12 UTC
Created attachment 609738 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-31 17:40:15 UTC
Created attachment 609740 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-31 17:40:17 UTC
Created attachment 609742 [details]
sys-apps:qingy-1.0.0-r4:20200131-053346.log
Comment 7 Toralf Förster gentoo-dev 2020-01-31 17:40:20 UTC
Created attachment 609744 [details]
temp.tbz2
Comment 8 Sergey 'L29Ah' Alirzaev 2020-10-25 05:07:15 UTC
*** Bug 751106 has been marked as a duplicate of this bug. ***
Comment 9 Bogdan 2021-02-03 15:09:02 UTC
compilation FAILS with gcc-10.2.0
compilation SUCCESS with gcc-9.3.0
Comment 10 Larry the Git Cow gentoo-dev 2021-02-13 10:14:49 UTC
The bug has been closed via the following commit(s):

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

commit b1988966d0d8dd4e957d3b94db02ee67ba773216
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-02-13 10:14:02 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-02-13 10:14:02 +0000

    sys-apps/qingy: Apply gcc-10 workaround
    
    Closes: https://github.com/gentoo/gentoo/pull/19409
    Closes: https://bugs.gentoo.org/707622
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 sys-apps/qingy/qingy-1.0.0-r5.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)