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

Bug 708548

Summary: sci-mathematics/pspp-1.2.0 : 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 Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/16785
Whiteboard:
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:pspp-1.2.0:20200206-224941.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-02-06 22:57:04 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/ui/gui/src_ui_gui_psppire-widgets.o:(.bss+0x10): multiple definition of `align_enum_type'; src/ui/gui/src_ui_gui_psppire-psppire-dict.o:(.bss+0x10): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/ui/gui/src_ui_gui_psppire-widgets.o:(.bss+0x8): multiple definition of `measure_enum_type'; src/ui/gui/src_ui_gui_psppire-psppire-dict.o:(.bss+0x8): first defined here

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200203-051815

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

  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.6
  [3]   python3.7 (fallback)
  [4]   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 <==
Thu, 06 Feb 2020 21:27:06 +0000

emerge -qpvO sci-mathematics/pspp
[ebuild  N    ] sci-mathematics/pspp-1.2.0  USE="cairo gtk ncurses nls -doc -emacs -examples -perl -postgres -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-02-06 22:57:06 UTC
Created attachment 612380 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-06 22:57:09 UTC
Created attachment 612382 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-02-06 22:57:12 UTC
Created attachment 612384 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-02-06 22:57:15 UTC
Created attachment 612386 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-02-06 22:57:18 UTC
Created attachment 612388 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-06 22:57:21 UTC
Created attachment 612390 [details]
sci-mathematics:pspp-1.2.0:20200206-224941.log
Comment 7 Toralf Förster gentoo-dev 2020-02-06 22:57:24 UTC
Created attachment 612392 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-10-04 16:38:57 UTC
The bug has been closed via the following commit(s):

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

commit 2e42197fcabcd1372267affa74297e1e9c19c092
Author:     John Helmert III <jchelmert3@posteo.net>
AuthorDate: 2020-10-04 16:38:32 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-10-04 16:38:32 +0000

    sci-mathematics/pspp: Add security patches
    
    This fixes several QA issues, adds a missing dependency, fixes
    compiling with GCC 10, fixes tests, and adds patches for security.
    
    Bug: https://bugs.gentoo.org/679392
    Closes: https://bugs.gentoo.org/674362
    Closes: https://bugs.gentoo.org/677282
    Closes: https://bugs.gentoo.org/682342
    Closes: https://bugs.gentoo.org/708548
    Package-Manager: Portage-3.0.0, Repoman-2.3.23
    Signed-off-by: John Helmert III <jchelmert3@posteo.net>
    Closes: https://github.com/gentoo/gentoo/pull/16785
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../pspp/files/pspp-1.2.0-CVE-2018-20230.patch     | 134 +++++++++++++++++++++
 .../pspp/files/pspp-1.2.0-CVE-2019-9211.patch      |  74 ++++++++++++
 .../pspp/files/pspp-1.2.0-fix-gcc10.patch          |  30 +++++
 .../pspp/files/pspp-1.2.0-fix-overflow.patch       |  32 +++++
 .../pspp/files/pspp-1.2.0-fix-segfaults.patch      |  45 +++++++
 .../pspp/files/pspp-1.2.0-fix-tests.patch          |  61 ++++++++++
 sci-mathematics/pspp/files/pspp-1.2.0-py3.patch    |  38 ++++++
 sci-mathematics/pspp/pspp-1.2.0-r1.ebuild          | 112 +++++++++++++++++
 8 files changed, 526 insertions(+)