Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884601 - dev-util/codeblocks-20.03-r5 - ../.../SquirrelObject.h: error: too few arguments to function SQRESULT sq_getinstanceup(HSQUIRRELVM
Summary: dev-util/codeblocks-20.03-r5 - ../.../SquirrelObject.h: error: too few argume...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-12-06 16:50 UTC by Toralf Förster
Modified: 2023-02-10 08:57 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.51 KB, text/plain)
2022-12-06 16:50 UTC, Toralf Förster
Details
dev-util:codeblocks-20.03-r5:20221206-154617.log (dev-util:codeblocks-20.03-r5:20221206-154617.log,59.34 KB, text/plain)
2022-12-06 16:50 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,77.60 KB, application/x-bzip)
2022-12-06 16:50 UTC, Toralf Förster
Details
environment (environment,98.82 KB, text/plain)
2022-12-06 16:50 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,705 bytes, application/x-bzip)
2022-12-06 16:50 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,47.47 KB, application/x-bzip)
2022-12-06 16:50 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.48 KB, application/x-bzip)
2022-12-06 16:50 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,34.42 KB, application/x-bzip)
2022-12-06 16:50 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-12-06 16:50:46 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/include/squirrel -I../../../../src/include/scripting/sqplus -DCB_AUTOCONF -DNDEBUG -DPIC -DTIXML_USE_STL=YES -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -fPIC -fexceptions -c Squir
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/include/squirrel -I../../../../src/include/scripting/sqplus -DCB_AUTOCONF -DNDEBUG -DPIC -DTIXML_USE_STL=YES -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -fPIC -fexceptions -c SqPlu
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../../../src/include -I/usr/include/squirrel -I../../../../src/include/scripting/sqplus -DCB_AUTOCONF -DNDEBUG -DPIC -DTIXML_USE_STL=YES -pipe -march=native -fno-diagnostics-color -O2 -fno-strict-aliasing -fPIC -fexceptions -c Squir
In file included from ../../../../src/include/scripting/sqplus/sqplus.h:58,
                 from SquirrelObject.cpp:1:
../../../../src/include/scripting/sqplus/SquirrelObject.h: In member function 'void* StackHandler::GetInstanceUp(SQInteger, SQUserPointer)':
../../../../src/include/scripting/sqplus/SquirrelObject.h:149:46: error: too few arguments to function 'SQRESULT sq_getinstanceup(HSQUIRRELVM, SQInteger, void**, SQUserPointer, SQBool)'
  149 |                 if(SQ_FAILED(sq_getinstanceup(v,idx,(SQUserPointer*)&self,tag)))
      |                              ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221203-111136

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-11
 [2] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.6
Python 3.10.8
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.17_p8 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.5_p8 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.352_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 9a59b68fdc686918cdca811c41a8fa59a75193f1
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Dec 6 14:46:48 2022 +0000

    2022-12-06 14:46:48 UTC

emerge -qpvO dev-util/codeblocks
[ebuild  N    ] dev-util/codeblocks-20.03-r5  USE="fortran -contrib -debug"
Comment 1 Toralf Förster gentoo-dev 2022-12-06 16:50:47 UTC
Created attachment 840455 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-12-06 16:50:48 UTC
Created attachment 840457 [details]
dev-util:codeblocks-20.03-r5:20221206-154617.log
Comment 3 Toralf Förster gentoo-dev 2022-12-06 16:50:50 UTC
Created attachment 840459 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-12-06 16:50:51 UTC
Created attachment 840461 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-12-06 16:50:52 UTC
Created attachment 840463 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-12-06 16:50:53 UTC
Created attachment 840465 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-12-06 16:50:54 UTC
Created attachment 840467 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-12-06 16:50:56 UTC
Created attachment 840469 [details]
temp.tar.bz2
Comment 9 Sergey Torokhov 2023-02-07 15:50:51 UTC
There were several CodeBlocks upstream patches in 2021 with removing using of system installed squirell [1] because of patching bundled version (originally v3.1) and explanation how CodeBlocks upstream use bundled squirrel [2].

[1] https://sourceforge.net/p/codeblocks/code/12418/

[2] https://sourceforge.net/p/codeblocks/code/12421/
Comment 10 Larry the Git Cow gentoo-dev 2023-02-10 08:57:35 UTC
The bug has been closed via the following commit(s):

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

commit b924a78400249ae434557c8dfb8a8f5a0eafdec2
Author:     Matthew White <mehw.is.me@inventati.org>
AuthorDate: 2023-01-20 08:09:58 +0000
Commit:     Joonas Niilola <juippis@gentoo.org>
CommitDate: 2023-02-10 08:56:42 +0000

    dev-util/codeblocks: use bundled dev-lang/squirrel
    
    Fix a compiling issue when dev-lang/squirrel is installed.
    
    Upstream disabled the use of system wide squirrel in favor of the
    bundled version.  Do not use the system's /usr/include/squirrel.h
    header, since the API may have been changed.
    
    r12418 | fuscated | 2021-05-09 14:50:21 +0200 (Sun, 09 May 2021) | 5 lines
    
    $ svn checkout svn://svn.code.sf.net/p/codeblocks/code/trunk
    $ cd trunk
    $ svn log --diff configure.ac@r12418
    
    In the ebuild, sed expression and comments by band-a-prend.
    
    Closes: https://bugs.gentoo.org/884601
    Package-Manager: portage-3.0.43-r1, pkgdev-0.2.4
    Closes: https://github.com/gentoo/gentoo/pull/29186
    Signed-off-by: Joonas Niilola <juippis@gentoo.org>

 dev-util/codeblocks/codeblocks-20.03-r6.ebuild | 94 ++++++++++++++++++++++++++
 1 file changed, 94 insertions(+)