Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706936 - x11-libs/xforms-1.2.4 : fails to build with -fno-common or gcc-10
Summary: x11-libs/xforms-1.2.4 : 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: Patrice Clement
URL: https://sources.debian.org/src/libfor...
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:43 UTC by Toralf Förster
Modified: 2021-01-04 21:58 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,15.84 KB, text/plain)
2020-01-28 18:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.45 KB, text/plain)
2020-01-28 18:43 UTC, Toralf Förster
Details
environment (environment,87.88 KB, text/plain)
2020-01-28 18:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.87 KB, application/x-bzip)
2020-01-28 18:43 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.76 KB, application/x-bzip)
2020-01-28 18:43 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.25 KB, application/x-bzip)
2020-01-28 18:43 UTC, Toralf Förster
Details
x11-libs:xforms-1.2.4:20200128-115017.log (x11-libs:xforms-1.2.4:20200128-115017.log,69.62 KB, text/plain)
2020-01-28 18:43 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-01-28 18:43:24 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../lib -I./xpm     -O2 -pipe -march=native -fno-common -c -o sp_xyplot.o sp_xyplot.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../lib -I./xpm     -O2 -pipe -march=native -fno-common -c -o sp_util.o sp_util.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O2 -pipe -march=native -fno-common  -Wl,-O1 -Wl,--as-needed -o fdesign fd_attribs.o fd_control.o fd_fake.o fd_file.o fd_file_fun.o fd_forms.o fd_groups.o fd_help.o fd_initforms.o fd_main.o fd_names.o fd_objects.o fd_pallette.o fd_printC.o fd_rubber.o fd_select.o fd_spec.o fd_super.o fd_iconinfo.o fd_util.o sp_browser.o sp_button.o sp_choice.o sp_counter.o sp_spinner.o sp_dial.o sp_freeobj.o sp_menu.o sp_pixmap.o sp_positioner.o sp_scrollbar.o sp_slider.o sp_twheel.o sp_xyplot.o sp_util.o ../lib/libforms.la  -lSM -lICE -lXpm -lX11 -lc -lm   -lc -lm 
libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-common -Wl,-O1 -o .libs/fdesign fd_attribs.o fd_control.o fd_fake.o fd_file.o fd_file_fun.o fd_forms.o fd_groups.o fd_help.o fd_initforms.o fd_main.o fd_names.o fd_objects.o fd_pallette.o fd_printC.o fd_rubber.o fd_select.o fd_spec.o fd_super.o fd_iconinfo.o fd_util.o sp_browser.o sp_button.o sp_choice.o sp_counter.o sp_spinner.o sp_dial.o sp_freeobj.o sp_menu.o sp_pixmap.o sp_positioner.o sp_scrollbar.o sp_slider.o sp_twheel.o sp_xyplot.o sp_util.o  -Wl,--as-needed ../lib/.libs/libforms.so -lSM -lICE -lXpm -lX11 -lc -lm
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: sp_twheel.o:(.bss+0x0): multiple definition of `curobj'; sp_spinner.o:(.bss+0x0): 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_plasma-libressl-20200126-092715

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

  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 (uninstalled)
  [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 <==
Tue, 28 Jan 2020 10:46:23 +0000

emerge -qpvO x11-libs/xforms
[ebuild  N    ] x11-libs/xforms-1.2.4  USE="opengl -doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:43:27 UTC
Created attachment 606688 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:43:30 UTC
Created attachment 606690 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:43:33 UTC
Created attachment 606692 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:43:36 UTC
Created attachment 606694 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:43:38 UTC
Created attachment 606696 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:43:41 UTC
Created attachment 606698 [details]
temp.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:43:44 UTC
Created attachment 606700 [details]
x11-libs:xforms-1.2.4:20200128-115017.log
Comment 8 Larry the Git Cow gentoo-dev 2020-11-27 17:37:08 UTC
The bug has been closed via the following commit(s):

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

commit f034d2ba8860375257ff85d79d75a0fe30d68a19
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-27 17:36:37 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-27 17:36:37 +0000

    x11-libs/xforms: port to EAPI 7
    
    Closes: https://github.com/gentoo/gentoo/pull/18430
    Closes: https://bugs.gentoo.org/706936
    Package-Manager: Portage-3.0.9, Repoman-3.0.1
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../xforms/files/xforms-1.2.4-fno-common.patch     | 40 +++++++++++++++++
 x11-libs/xforms/xforms-1.2.4-r1.ebuild             | 51 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)