Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 706906 - dev-scheme/sigscheme-0.8.5-r1 : fails to build with -fno-common or gcc-10
Summary: dev-scheme/sigscheme-0.8.5-r1 : 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: Scheme Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: -fno-common
  Show dependency tree
 
Reported: 2020-01-28 18:36 UTC by Toralf Förster
Modified: 2020-11-29 04:23 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.67 KB, text/plain)
2020-01-28 18:36 UTC, Toralf Förster
Details
dev-scheme:sigscheme-0.8.5-r1:20200128-083600.log (dev-scheme:sigscheme-0.8.5-r1:20200128-083600.log,30.50 KB, text/plain)
2020-01-28 18:36 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.46 KB, text/plain)
2020-01-28 18:36 UTC, Toralf Förster
Details
environment (environment,14.58 KB, text/plain)
2020-01-28 18:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.41 KB, application/x-bzip)
2020-01-28 18:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,17.69 KB, application/x-bzip)
2020-01-28 18:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,10.38 KB, application/x-bzip)
2020-01-28 18:36 UTC, Toralf Förster
Details
files/sigscheme-0.8.5-fno-common.patch (sigscheme-0.8.5-fno-common.patch,355 bytes, patch)
2020-05-30 13:59 UTC, Jeroen Roovers (RETIRED)
Details | Diff

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:36:07 UTC
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.2.2\" "-DPACKAGE_STRING=\"gcroots 0.2.2\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -fexceptions -O2 -pipe -march=native -fno-common -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mach_dep.c  -fPIC -DPIC -o .libs/mach_dep.o
libtool: compile:  x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"gcroots\" -DPACKAGE_TARNAME=\"libgcroots\" -DPACKAGE_VERSION=\"0.2.2\" "-DPACKAGE_STRING=\"gcroots 0.2.2\"" -DPACKAGE_BUGREPORT=\"sigscheme-ja@googlegroups.com\" -DPACKAGE=\"libgcroots\" -DVERSION=\"0.2.2\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DSIZEOF_VOID_P=8 -DALIGNOF_VOID_P=8 -DHAVE_GETCONTEXT=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DSMALL_CONFIG=1 -I./include -fexceptions -O2 -pipe -march=native -fno-common -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -c mach_dep.c -o mach_dep.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -fexceptions -O2 -pipe -march=native -fno-common -pedantic -Wall -Wchar-subscripts -Wmissing-declarations -Wredundant-decls -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -version-info 1:0:1 -Wl,-O1 -Wl,--as-needed -o libgcroots.la -rpath /usr/lib64 mark.lo gcroots.lo mach_dep.lo -ldl  
libtool: link: x86_64-pc-linux-gnu-gcc -shared  .libs/mark.o .libs/gcroots.o .libs/mach_dep.o   -ldl  -march=native -Wl,-O1 -Wl,--as-needed   -Wl,-soname -Wl,libgcroots.so.0 -o .libs/libgcroots.so.0.1.0
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/gcroots.o:(.bss+0x0): multiple definition of `GCROOTS_jmp_buf'; .libs/mark.o:(.bss+0x0): first defined here
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/mach_dep.o:(.bss+0x0): multiple definition of `GCROOTS_jmp_buf'; .libs/mark.o:(.bss+0x0): first defined here

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

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

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

  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 08:06:23 +0000

emerge -qpvO dev-scheme/sigscheme
[ebuild  N    ] dev-scheme/sigscheme-0.8.5-r1
Comment 1 Toralf Förster gentoo-dev 2020-01-28 18:36:10 UTC
Created attachment 606480 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-01-28 18:36:13 UTC
Created attachment 606482 [details]
dev-scheme:sigscheme-0.8.5-r1:20200128-083600.log
Comment 3 Toralf Förster gentoo-dev 2020-01-28 18:36:16 UTC
Created attachment 606484 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-01-28 18:36:19 UTC
Created attachment 606486 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-01-28 18:36:21 UTC
Created attachment 606488 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-01-28 18:36:24 UTC
Created attachment 606490 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-01-28 18:36:27 UTC
Created attachment 606492 [details]
temp.tbz2
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2020-05-30 13:59:23 UTC
Created attachment 642766 [details, diff]
files/sigscheme-0.8.5-fno-common.patch

Only ever so slightly adapted the path from attachment #642764 [details, diff]. The actual bug is in libgcroots which sigscheme bundles, but which was apparently abandoned (upstream) a long time ago.
Comment 9 Larry the Git Cow gentoo-dev 2020-11-28 23:09:44 UTC
The bug has been closed via the following commit(s):

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

commit 5cd5bc929649189c6210696825db557956f9d11e
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2020-11-28 23:08:51 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-11-28 23:08:51 +0000

    dev-scheme/sigscheme: port to EAPI 7
    
    * Thanks to Jeroen Roovers for submitting the patch
    
    Closes: https://bugs.gentoo.org/706906
    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>

 .../sigscheme/files/sigscheme-0.8.5-fno-common.patch       | 11 +++++++++++
 dev-scheme/sigscheme/sigscheme-0.8.5-r1.ebuild             | 14 ++++++++++----
 2 files changed, 21 insertions(+), 4 deletions(-)
Comment 10 Arfrever Frehtes Taifersar Arahesis 2020-11-29 04:23:28 UTC
(In reply to Jeroen Roovers (RETIRED) from comment #8)
> Created attachment 642766 [details, diff] [details, diff]
> files/sigscheme-0.8.5-fno-common.patch
> 
> Only ever so slightly adapted the path from attachment #642764 [details, diff] [details,
> diff]. The actual bug is in libgcroots which sigscheme bundles, but which
> was apparently abandoned (upstream) a long time ago.

https://github.com/uim/libgcroots/pull/4
https://github.com/uim/libgcroots/commit/7e39241344ad0663409e836560ae6b5eb231e1fc


The last release of libgcroots at https://github.com/uim/libgcroots is now 0.3.2.
The last release of sigscheme at https://github.com/uim/sigscheme is now 0.9.1.
Both of them contain above fix for compatibility with GCC 10.