Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 756235

Summary: sci-astronomy/predict-2.2.3-r2 :fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Astronomy project <sci-astronomy>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764, 762907    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-astronomy:predict-2.2.3-r2:20201123-091526.log

Description Toralf Förster gentoo-dev 2020-11-23 12:41:55 UTC
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-diagnostics-color -Wall  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o gsat main.o support.o interface.o callbacks.o comms.o plugins.o db.o prefs.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   -ldl -lm 
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: callbacks.o:(.bss+0x8368): multiple definition of `drawmap'; main.o:(.bss+0x8368): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: callbacks.o:(.bss+0x8360): multiple definition of `sourcemap'; main.o:(.bss+0x8360): first defined here

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.47.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Nov 23 09:05:37 AM UTC 2020
/var/db/repos/libressl	Sat Nov  7 03:06:11 PM UTC 2020

emerge -qpvO sci-astronomy/predict
[ebuild  N    ] sci-astronomy/predict-2.2.3-r2  USE="gtk nls -doc -xforms -xplanet"
Comment 1 Toralf Förster gentoo-dev 2020-11-23 12:41:56 UTC
this seems to be either still an issue or a similarity to the one reported in bug 707638
Comment 2 Toralf Förster gentoo-dev 2020-11-23 12:41:57 UTC
Created attachment 674533 [details]
emerge-info.txt
Comment 3 Toralf Förster gentoo-dev 2020-11-23 12:41:59 UTC
Created attachment 674536 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-11-23 12:42:01 UTC
Created attachment 674539 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-11-23 12:42:02 UTC
Created attachment 674542 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-11-23 12:42:04 UTC
Created attachment 674545 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-11-23 12:42:05 UTC
Created attachment 674548 [details]
sci-astronomy:predict-2.2.3-r2:20201123-091526.log
Comment 8 Andreas K. Hüttel archtester gentoo-dev 2020-12-14 17:22:52 UTC
Needs version bump, 2.2.7 is out
Comment 9 Larry the Git Cow gentoo-dev 2021-03-03 17:40:36 UTC
The bug has been closed via the following commit(s):

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

commit edbc7d5eff331c0f5684c59f27a7cac2123b2690
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-03-02 19:26:15 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-03-03 16:51:44 +0000

    sci-astronomy/predict: Apply gcc-10 workaround
    
    Closes: https://bugs.gentoo.org/756235
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-astronomy/predict/predict-2.2.3-r2.ebuild | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)