Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 707170 - sci-calculators/galculator-2.1.4 : fails to build with -fno-common or gcc-10
Summary: sci-calculators/galculator-2.1.4 : 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: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:52 UTC by Toralf Förster
Modified: 2020-05-16 08:27 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.11 KB, text/plain)
2020-01-29 17:52 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,163.39 KB, text/plain)
2020-01-29 17:52 UTC, Toralf Förster
Details
environment (environment,106.23 KB, text/plain)
2020-01-29 17:52 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,15.53 KB, application/x-bzip)
2020-01-29 17:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,20.57 KB, application/x-bzip)
2020-01-29 17:53 UTC, Toralf Förster
Details
sci-calculators:galculator-2.1.4:20200129-024250.log (sci-calculators:galculator-2.1.4:20200129-024250.log,34.68 KB, text/plain)
2020-01-29 17:53 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.99 KB, application/x-bzip)
2020-01-29 17:53 UTC, Toralf Förster
Details
galculator-gcc-10-no-common.patch (galculator-gcc-10-no-common.patch,491 bytes, patch)
2020-05-16 08:26 UTC, lekto
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-29 17:52:51 UTC
 1554 |     static int input  (void)
      |                ^~~~~
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread  -O2 -pipe -march=native -fno-common -Wall -export-dynamic -Wl,-O1 -Wl,--as-needed -o galculator galculator-main.o galculator-math_functions.o galculator-display.o galculator-general_functions.o galculator-calc_basic.o galculator-config_file.o galculator-callbacks.o galculator-ui.o galculator-flex_parser.o -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0  -lm -lquadmath 
libtool: link: x86_64-pc-linux-gnu-gcc -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -O2 -pipe -march=native -fno-common -Wall -Wl,-O1 -o galculator galculator-main.o galculator-math_functions.o galculator-display.o galculator-general_functions.o galculator-calc_basic.o galculator-config_file.o galculator-callbacks.o galculator-ui.o galculator-flex_parser.o -Wl,--export-dynamic  -Wl,--as-needed -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/libquadmath.so -pthread
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: galculator-config_file.o:(.bss+0x0): multiple definition of `prefs'; galculator-main.o:(.bss+0x40): 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_gnome_systemd-libressl-20200125-150902

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

  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

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 29 Jan 2020 00:26:22 +0000

emerge -qpvO sci-calculators/galculator
[ebuild  N    ] sci-calculators/galculator-2.1.4
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:52:54 UTC
Created attachment 607658 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:52:56 UTC
Created attachment 607660 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:52:59 UTC
Created attachment 607662 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:53:02 UTC
Created attachment 607664 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:53:05 UTC
Created attachment 607666 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:53:07 UTC
Created attachment 607668 [details]
sci-calculators:galculator-2.1.4:20200129-024250.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:53:10 UTC
Created attachment 607670 [details]
temp.tbz2
Comment 8 lekto 2020-05-16 08:26:17 UTC
Created attachment 639500 [details, diff]
galculator-gcc-10-no-common.patch
Comment 9 lekto 2020-05-16 08:27:56 UTC
Comment on attachment 639500 [details, diff]
galculator-gcc-10-no-common.patch

 patch; ebuild use EAPI=5, so patch wont be applied automatically from /etc/portaga/patches