Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942958 - dev-scheme/guile-ssh-0.16.4-r100 - [gcc-15] /.../session-func.c: error: expected expression before _Bool
Summary: dev-scheme/guile-ssh-0.16.4-r100 - [gcc-15] /.../session-func.c: error: expec...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2024-11-06 19:01 UTC by Toralf Förster
Modified: 2024-11-19 03:55 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.55 KB, text/plain)
2024-11-06 19:01 UTC, Toralf Förster
Details
dev-scheme:guile-ssh-0.16.4-r100:20241106-132518.log (dev-scheme:guile-ssh-0.16.4-r100:20241106-132518.log,37.46 KB, text/plain)
2024-11-06 19:01 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,41.12 KB, text/plain)
2024-11-06 19:01 UTC, Toralf Förster
Details
environment (environment,88.77 KB, text/plain)
2024-11-06 19:01 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-11-06 19:01 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.34 KB, application/x-xz)
2024-11-06 19:01 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.83 KB, application/x-xz)
2024-11-06 19:01 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,107.05 KB, text/plain)
2024-11-06 19:01 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.89 KB, application/x-xz)
2024-11-06 19:01 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 2024-11-06 19:01:24 UTC
/var/tmp/portage/dev-scheme/guile-ssh-0.16.4-r100/work/guile-ssh-0.16.4/libguile-ssh/session-func.c:233:3: warning: useless type name in empty declaration
  233 |   int32_t bool;
      |   ^~~~~~~
/var/tmp/portage/dev-scheme/guile-ssh-0.16.4-r100/work/guile-ssh-0.16.4/libguile-ssh/session-func.c:237:8: error: expected identifier or '(' before '=' token
  237 |   bool = scm_to_bool (value);
      |        ^
/var/tmp/portage/dev-scheme/guile-ssh-0.16.4-r100/work/guile-ssh-0.16.4/libguile-ssh/session-func.c:238:43: error: expected expression before '_Bool'
  238 |   return ssh_options_set (session, type, &bool);
      |                                           ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241105-145436

  UNMASKED:
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 18.1.8
llvm-config: 19.1.3
Python 3.12.7
  [1]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit d842cad6d9e28c6dd6823fca4d03a8bc374127b3
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Nov 6 11:48:37 2024 +0000

    2024-11-06 11:48:36 UTC

emerge -qpvO =dev-scheme/guile-ssh-0.16.4-r100
[ebuild  N    ] dev-scheme/guile-ssh-0.16.4-r100  GUILE_TARGETS="3-0 -2-2"
Comment 1 Toralf Förster gentoo-dev 2024-11-06 19:01:25 UTC
Created attachment 908015 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-06 19:01:26 UTC
Created attachment 908016 [details]
dev-scheme:guile-ssh-0.16.4-r100:20241106-132518.log
Comment 3 Toralf Förster gentoo-dev 2024-11-06 19:01:27 UTC
Created attachment 908017 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-06 19:01:28 UTC
Created attachment 908018 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-06 19:01:28 UTC
Created attachment 908019 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-06 19:01:29 UTC
Created attachment 908020 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-06 19:01:30 UTC
Created attachment 908021 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-06 19:01:31 UTC
Created attachment 908022 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-06 19:01:32 UTC
Created attachment 908023 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-19 03:52:55 UTC
The bug has been closed via the following commit(s):

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

commit d2facc542948cfb79193220e7beb9d1c9837df8a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-19 03:48:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-19 03:52:22 +0000

    sys-devel/gcc: backport C23 fix to 15.0.0_pre20241117
    
    Backport a -std=gnu23/-std=c23 fix to 15.0.0_pre20241117 which prevented
    coersion from _Bool to NULL. Note that this is still dodgy code and some
    are proposing this be banned in a future C version (maybe even C2y), but
    it shouldn't be rejected in this version at least.
    
    I've added Closes tags for all bugs which, at a glance, look related,
    but I haven't re-tested them all and one or two might need reopening.
    
    Bug: https://gcc.gnu.org/PR112556
    Closes: https://bugs.gentoo.org/943862
    Closes: https://bugs.gentoo.org/943861
    Closes: https://bugs.gentoo.org/943843
    Closes: https://bugs.gentoo.org/943811
    Closes: https://bugs.gentoo.org/943809
    Closes: https://bugs.gentoo.org/943753
    Closes: https://bugs.gentoo.org/943715
    Closes: https://bugs.gentoo.org/943704
    Closes: https://bugs.gentoo.org/942958
    Signed-off-by: Sam James <sam@gentoo.org>

 ...llow-bool-and-enum-null-pointer-constants.patch | 244 +++++++++++++++++++++
 sys-devel/gcc/gcc-15.0.0_pre20241117-r2.ebuild     |  54 +++++
 2 files changed, 298 insertions(+)