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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: CC-ARCHES, PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-29 17:52 UTC by Toralf Förster
Modified: 2021-01-05 15:47 UTC (History)
4 users (show)

See Also:
Package list:
sci-calculators/galculator-2.1.4-r1
Runtime testing required: ---
nattka: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,16.11 KB, text/plain)
2020-01-29 17:52 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,163.39 KB, text/plain)
2020-01-29 17:52 UTC, Toralf Förster
no flags Details
environment (environment,106.23 KB, text/plain)
2020-01-29 17:52 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,15.53 KB, application/x-bzip)
2020-01-29 17:53 UTC, Toralf Förster
no flags Details
logs.tbz2 (logs.tbz2,20.57 KB, application/x-bzip)
2020-01-29 17:53 UTC, Toralf Förster
no flags 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
no flags Details
temp.tbz2 (temp.tbz2,29.99 KB, application/x-bzip)
2020-01-29 17:53 UTC, Toralf Förster
no flags Details
galculator-gcc-10-no-common.patch (galculator-gcc-10-no-common.patch,491 bytes, patch)
2020-05-16 08:26 UTC, lekto
no flags 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
Comment 10 Nathan Zachary (RETIRED) gentoo-dev 2020-10-29 02:25:12 UTC
Is there any update here as to when the patch will be added?  Reverting to GCC 9.3 seems inefficient and I would imagine that this has to be applied before GCC 10 can be stabilised.
Comment 11 Larry the Git Cow gentoo-dev 2020-11-22 17:11:00 UTC
The bug has been referenced in the following commit(s):

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

commit b609d0e3c7853fb915fb8771a4ecb5120d86bdc4
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-11-22 17:10:40 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-22 17:10:40 +0000

    sci-calculators/galculator: Port to EAPI 7
    
    * invoking maintainer timeout
    * fix spurious test failure
    * fix -fno-common
    
    Bug: https://bugs.gentoo.org/566290
    Bug: https://bugs.gentoo.org/707170
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/galculator-2.1.4-fno-common.patch        | 27 +++++++++++++++
 .../galculator/galculator-2.1.4-r1.ebuild          | 39 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)
Comment 12 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-02 03:07:41 UTC
x86 stable
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 00:52:15 UTC
amd64 done

all arches done
Comment 14 Larry the Git Cow gentoo-dev 2021-01-05 15:47:05 UTC
The bug has been referenced in the following commit(s):

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

commit eecde20fae4808bf870024f9d21b8f8dbcffbe77
Author:     Andreas K. Huettel <dilfridge@gentoo.org>
AuthorDate: 2021-01-05 15:46:06 +0000
Commit:     Andreas K. Huettel <dilfridge@gentoo.org>
CommitDate: 2021-01-05 15:46:50 +0000

    sci-calculators/galculator: Remove old
    
    Bug: https://bugs.gentoo.org/707170
    Package-Manager: Portage-3.0.12, Repoman-3.0.2
    Signed-off-by: Andreas K. Huettel <dilfridge@gentoo.org>

 sci-calculators/galculator/galculator-2.1.4.ebuild | 30 ----------------------
 1 file changed, 30 deletions(-)