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

Bug 707176

Summary: sci-mathematics/dataplot-20131220 : fails to build with -fno-common or gcc-10
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: ~arch only
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 705764    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-mathematics:dataplot-20131220:20200129-025653.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-01-29 17:54:09 UTC
x11_src.c:1535:6: warning: type of ‘title’ defaults to ‘int’ [-Wimplicit-int]
 1535 | void xrestg_(file_name, title, iwind, iwindn, error_flag)
      |      ^~~~~~~
x86_64-pc-linux-gnu-gfortran  -O2 -pipe -march=native -fno-common -w -fno-range-check  -Wl,-O1 -Wl,--as-needed -o dataplot dp1_linux.o dp2.o dp3.o dp4.o dp5.o dp6.o dp7.o dp8.o dp9.o dp10.o dp11.o dp12.o dp13.o dp14.o dp15.o dp16.o dp17.o dp18.o dp19.o dp20.o dp21.o dp22.o dp23.o dp24.o dp25.o dp26.o dp27.o dp28.o dp29.o dp30.o dp31.o dp32.o dp33.o dp34.o dp35.o dp36.o dp37.o dp38.o dp39.o dp40.o dp41.o dp42.o dp43.o dp44.o dp45.o dp46.o dpcalc.o dpdds2.o dpdds3.o dpdds.o edinit.o edmai2.o edsear.o edsub.o edwrst.o fit3b.o starpac.o tcdriv_nopc.o aqua_src.o cluster.o compgeom.o optimi.o dataplot-libplot_src.o dataplot-rldp.o main.o gks_src.o  gd_src.o dataplot-gl_src.o  dataplot-x11_src.o  -lGL -lGLU -lX11  -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../.. -lgfortran -lm -lquadmath -lreadline -lplot 
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dataplot-gl_src.o:(.bss+0x20): multiple definition of `FONT_NAME_DEFAULT'; dataplot-libplot_src.o:(.bss+0x40): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: dataplot-gl_src.o:(.bss+0x130): multiple definition of `LINE_STYLE_CURRENT'; dataplot-libplot_src.o:(.data+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20200127-214345

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *


llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

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
ghc:
The Glorious Glasgow Haskell Compilation System, version 7.10.3

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

emerge -qpvO sci-mathematics/dataplot
[ebuild  N    ] sci-mathematics/dataplot-20131220  USE="X opengl -examples -gd"
Comment 1 Toralf Förster gentoo-dev 2020-01-29 17:54:11 UTC
Created attachment 607698 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-29 17:54:14 UTC
Created attachment 607700 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-29 17:54:17 UTC
Created attachment 607702 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-29 17:54:20 UTC
Created attachment 607704 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-29 17:54:22 UTC
Created attachment 607706 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-29 17:54:25 UTC
Created attachment 607708 [details]
sci-mathematics:dataplot-20131220:20200129-025653.log
Comment 7 Toralf Förster gentoo-dev 2020-01-29 17:54:28 UTC
Created attachment 607710 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2021-02-27 06:19:44 UTC
The bug has been closed via the following commit(s):

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

commit 3281e8ef05713154e59c8c84c5f73ad5eb00e080
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-27 06:14:45 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-27 06:19:33 +0000

    sci-mathematics/dataplot: fix build with gcc 10
    
    Closes: https://bugs.gentoo.org/707176
    Closes: https://bugs.gentoo.org/722208
    Package-Manager: Portage-3.0.15, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-mathematics/dataplot/dataplot-20131220.ebuild | 25 +++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)