Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832510 - dev-scheme/c-wrapper-0.6.1-r2 - c-ffi.c: error: too few arguments to function Scm_InstanceSlotRef
Summary: dev-scheme/c-wrapper-0.6.1-r2 - c-ffi.c: error: too few arguments to function...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Akinori Hattori
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-01 17:23 UTC by Toralf Förster
Modified: 2022-02-03 14:18 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.53 KB, text/plain)
2022-02-01 17:23 UTC, Toralf Förster
Details
dev-scheme:c-wrapper-0.6.1-r2:20220201-004732.log (dev-scheme:c-wrapper-0.6.1-r2:20220201-004732.log,13.08 KB, text/plain)
2022-02-01 17:23 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,323.01 KB, text/plain)
2022-02-01 17:23 UTC, Toralf Förster
Details
environment (environment,72.24 KB, text/plain)
2022-02-01 17:23 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,38.62 KB, application/x-bzip)
2022-02-01 17:23 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,3.98 KB, application/x-bzip)
2022-02-01 17:23 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,22.19 KB, application/x-bzip)
2022-02-01 17:23 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 2022-02-01 17:23:18 UTC
x86_64-pc-linux-gnu-gcc -c -DGAUCHE_API_0_8_8 -I/usr/lib64/libffi/include   -D_GNU_SOURCE '-I/usr/lib64/gauche-0.98/0.9.11-p1/include' -pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16 -fPIC -o 'c-lex.o' 'c-lex.c'
/usr/bin/gauche-package compile --cppflags="-DGAUCHE_API_0_8_8 -I/usr/lib64/libffi/include   -D_GNU_SOURCE" --cflags="-pipe -march=native -fno-diagnostics-color -O2 -falign-functions=32:25:16" --ldflags="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 " --libs="-lffi   " --verbose c-parser c-parser.c c-parserlib.stub
In file included from c-ffi.c:31:
c-ffi.c: In function ‘ffi_type_of’:
c-ffi.c:350:34: error: too few arguments to function ‘Scm_InstanceSlotRef’
  350 |         return SCM_FFI_TYPE_DATA(Scm_InstanceSlotRef(ctype, sa->slotNumber));
      |                                  ^~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220127-161921

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-11.2.1 *
clang/llvm (if any):
/usr/lib/llvm/13
13.0.0
Python 3.9.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.58.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 11.0.14_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 8.322_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0
  [3]   php8.1 *

  HEAD of ::gentoo
commit 74892d8e946f0e10621bfeac32e70aa84afc77f1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 31 23:37:01 2022 +0000

    2022-01-31 23:37:00 UTC

emerge -qpvO dev-scheme/c-wrapper
[ebuild   R   ] dev-scheme/c-wrapper-0.6.1-r2  USE="-examples"
Comment 1 Toralf Förster gentoo-dev 2022-02-01 17:23:19 UTC
Created attachment 764099 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-02-01 17:23:20 UTC
Created attachment 764100 [details]
dev-scheme:c-wrapper-0.6.1-r2:20220201-004732.log
Comment 3 Toralf Förster gentoo-dev 2022-02-01 17:23:22 UTC
Created attachment 764101 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-02-01 17:23:23 UTC
Created attachment 764102 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-02-01 17:23:24 UTC
Created attachment 764103 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-02-01 17:23:25 UTC
Created attachment 764104 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-02-01 17:23:26 UTC
Created attachment 764105 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-02-03 14:18:00 UTC
The bug has been closed via the following commit(s):

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

commit 22c363fb3820b785b15631b618edec4ee3a023a1
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2022-02-03 14:16:40 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2022-02-03 14:17:56 +0000

    dev-scheme/c-wrapper: fix build with >=dev-scheme/gauche-0.9.11
    
    Closes: https://bugs.gentoo.org/832510
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Akinori Hattori <hattya@gentoo.org>

 dev-scheme/c-wrapper/c-wrapper-0.6.1-r2.ebuild     |  3 ++-
 .../files/c-wrapper-gauche-abi-0.98.patch          | 28 ++++++++++++++++++++++
 2 files changed, 30 insertions(+), 1 deletion(-)