Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708234 - sci-chemistry/chemtool-1.6.14 : fails to build with -fno-common or gcc-10
Summary: sci-chemistry/chemtool-1.6.14 : 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: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-02-04 17:10 UTC by Toralf Förster
Modified: 2020-08-29 12:30 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-02-04 17:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,228.53 KB, text/plain)
2020-02-04 17:10 UTC, Toralf Förster
Details
environment (environment,90.73 KB, text/plain)
2020-02-04 17:10 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,14.67 KB, application/x-bzip)
2020-02-04 17:10 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.35 KB, application/x-bzip)
2020-02-04 17:10 UTC, Toralf Förster
Details
sci-chemistry:chemtool-1.6.14:20200204-104608.log (sci-chemistry:chemtool-1.6.14:20200204-104608.log,18.06 KB, text/plain)
2020-02-04 17:10 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.73 KB, application/x-bzip)
2020-02-04 17:10 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-02-04 17:10:07 UTC
inout.c:6133:3: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
 6133 |   fscanf (xfile, "%s", myname);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc -DGTK2 -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o chemtool main.o draw.o graph.o chemproc.o undo.o inout.o -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   -lX11 -lX11 -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: graph.o:(.bss+0x1b8): multiple definition of `babelout'; draw.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: graph.o:(.bss+0x1c0): multiple definition of `outmode'; draw.o:(.bss+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20200129-211601

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

  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.41.0 *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 3.15.0 [icedtea-8]
*)	IcedTea JDK 3.14.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8  system-vm
ghc:
The Glorious Glasgow Haskell Compilation System, version 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 04 Feb 2020 09:48:47 +0000

emerge -qpvO sci-chemistry/chemtool
[ebuild  N    ] sci-chemistry/chemtool-1.6.14  USE="gnome nls -emf"
Comment 1 Toralf Förster gentoo-dev 2020-02-04 17:10:10 UTC
Created attachment 611596 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-04 17:10:13 UTC
Created attachment 611598 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-04 17:10:16 UTC
Created attachment 611600 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-04 17:10:18 UTC
Created attachment 611602 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-04 17:10:21 UTC
Created attachment 611604 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-04 17:10:25 UTC
Created attachment 611606 [details]
sci-chemistry:chemtool-1.6.14:20200204-104608.log
Comment 7 Toralf Förster gentoo-dev 2020-02-04 17:10:28 UTC
Created attachment 611608 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-29 12:30:30 UTC
The bug has been closed via the following commit(s):

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

commit aafe737392a43a92dac2cd87ca068937d9d9df61
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-08-29 12:30:09 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-08-29 12:30:09 +0000

    sci-chemistry/chemtool: Port to EAPI 7
    
    * fix `-fno-common`/GCC 10
    * fix broken check target
    
    Closes: https://bugs.gentoo.org/708234
    Closes: https://bugs.gentoo.org/728954
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: David Seifert <soap@gentoo.org>

 sci-chemistry/chemtool/chemtool-1.6.14.ebuild      | 49 ++++++++++++----------
 .../chemtool/files/chemtool-1.6.14-fix-tests.patch |  6 +++
 .../files/chemtool-1.6.14-fno-common.patch         | 37 ++++++++++++++++
 ...patch => chemtool-1.6.14-no-underlinking.patch} |  0
 4 files changed, 70 insertions(+), 22 deletions(-)