Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710570 - app-shells/scsh-0.6.7-r2 : 52 | Fatal error: C stub tried to copy Scheme string,\n
Summary: app-shells/scsh-0.6.7-r2 : 52 | Fatal error: C stub tried to copy Scheme str...
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:
Depends on:
Blocks:
 
Reported: 2020-02-23 12:22 UTC by Toralf Förster
Modified: 2021-12-31 00:31 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.69 KB, text/plain)
2020-02-23 12:22 UTC, Toralf Förster
Details
app-shells:scsh-0.6.7-r2:20200223-121807.log (app-shells:scsh-0.6.7-r2:20200223-121807.log,18.68 KB, text/plain)
2020-02-23 12:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,125.77 KB, text/plain)
2020-02-23 12:22 UTC, Toralf Förster
Details
environment (environment,47.57 KB, text/plain)
2020-02-23 12:22 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.89 KB, application/x-bzip)
2020-02-23 12:22 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,9.26 KB, application/x-bzip)
2020-02-23 12:22 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,15.69 KB, application/x-bzip)
2020-02-23 12:22 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-02-23 12:22:01 UTC
cig/libcig1.c: In function scheme2c_strcpy:
cig/libcig1.c:52:3: warning: format %x expects argument of type unsigned int, but argument 3 has type s48_value {aka long int} [-Wformat=]
   52 |   "Fatal error: C stub tried to copy Scheme string,\n"
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   53 |   "but malloc failed on arg 0x%x, errno %d.\n",
   54 |   sstr, errno);

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200221-021522

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

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 8.0.2

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sun, 23 Feb 2020 11:37:06 +0000

emerge -qpvO app-shells/scsh
[ebuild  N    ] app-shells/scsh-0.6.7-r2
Comment 1 Toralf Förster gentoo-dev 2020-02-23 12:22:04 UTC
Created attachment 615276 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-02-23 12:22:07 UTC
Created attachment 615278 [details]
app-shells:scsh-0.6.7-r2:20200223-121807.log
Comment 3 Toralf Förster gentoo-dev 2020-02-23 12:22:09 UTC
Created attachment 615280 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-02-23 12:22:12 UTC
Created attachment 615282 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-02-23 12:22:15 UTC
Created attachment 615284 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-02-23 12:22:18 UTC
Created attachment 615286 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-02-23 12:22:21 UTC
Created attachment 615288 [details]
temp.tbz2
Comment 8 Agostino Sarubbo gentoo-dev 2021-01-20 07:34:02 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 9 Larry the Git Cow gentoo-dev 2021-12-31 00:31:28 UTC
The bug has been closed via the following commit(s):

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

commit 93fbed6e982f91eb32076fbf42c017cfcdd6c7ac
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2021-12-31 00:11:18 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2021-12-31 00:31:22 +0000

    app-shells/scsh: build only on 32bit arches; tests; format
    
    libcrypt/GCC not being 32bit/multilib bugs:
    - https://bugs.gentoo.org/589122
    - https://bugs.gentoo.org/710570
    - https://bugs.gentoo.org/830282
    
    Thanks for patches:
    - SCSH_LIB_DIRS environment variable:
      adam@michalik.es
      https://bugs.gentoo.org/413791#c0
    - scheme48vm-prelude (for tests)
      https://bugs.gentoo.org/299414#c2
    
    Closes: https://bugs.gentoo.org/299414
    Closes: https://bugs.gentoo.org/413791
    Closes: https://bugs.gentoo.org/589122
    Closes: https://bugs.gentoo.org/710570
    Closes: https://bugs.gentoo.org/722442
    Closes: https://bugs.gentoo.org/830282
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 app-shells/scsh/files/0.6.7-Makefile.in-AR.patch   | 26 ++++++++++
 ...0.6.7-scheme48vm-prelude.h-SMALL_MULTIPLY.patch | 11 ++++
 app-shells/scsh/scsh-0.6.7-r2.ebuild               | 47 ------------------
 app-shells/scsh/scsh-0.6.7-r3.ebuild               | 58 ++++++++++++++++++++++
 profiles/arch/amd64/no-multilib/package.mask       |  1 +
 5 files changed, 96 insertions(+), 47 deletions(-)