Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951555 - www-apps/cgit-1.2.3_p20240802 - [gcc-15] reflog.c: error: unreachable undeclared (first use in this function)
Summary: www-apps/cgit-1.2.3_p20240802 - [gcc-15] reflog.c: error: unreachable undecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c23-porting
  Show dependency tree
 
Reported: 2025-03-18 17:23 UTC by Toralf Förster
Modified: 2025-05-03 04:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.35 KB, text/plain)
2025-03-18 17:23 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,59.14 KB, application/x-xz)
2025-03-18 17:23 UTC, Toralf Förster
Details
environment (environment,125.39 KB, text/plain)
2025-03-18 17:23 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-18 17:23 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.26 KB, application/x-xz)
2025-03-18 17:23 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,63.71 KB, application/x-xz)
2025-03-18 17:23 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,25.97 KB, application/x-xz)
2025-03-18 17:23 UTC, Toralf Förster
Details
www-apps:cgit-1.2.3_p20240802:20250318-165517.log (www-apps:cgit-1.2.3_p20240802:20250318-165517.log,147.80 KB, text/plain)
2025-03-18 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 2025-03-18 17:23:14 UTC
reflog.c:268:61: error: macro unreachable passed 3 arguments, but takes just 0
  268 |                         if (unreachable(cb, old_commit, ooid) || unreachable(cb, new_commit, noid))
      |                                                             ^
/usr/lib/gcc/x86_64-pc-linux-gnu/15/include/stddef.h:453:9: note: macro unreachable defined here
  453 | #define unreachable() (__builtin_unreachable ())
      |         ^~~~~~~~~~~
reflog.c:268:29: error: unreachable undeclared (first use in this function); did you mean mark_reachable?
  268 |                         if (unreachable(cb, old_commit, ooid) || unreachable(cb, new_commit, noid))
      |                             ^~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib-20250313-193502

  KEYWORDED/UNMASKED

  [gcc-15] Requested by sam
  <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 20.1.0
llvm-config: 20.1.0
Python 3.12.9
go version go1.24.1 linux/amd64
  [1]   php8.3 *
  [2]   php8.4
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 2b48d02cbc8f2c9b5e478c1861757ab9c5f95e3b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Mar 18 16:18:20 2025 +0000

    2025-03-18 16:18:19 UTC

emerge -qpvO =www-apps/cgit-1.2.3_p20240802
[ebuild  N    ] www-apps/cgit-1.2.3_p20240802  USE="highlight lua -doc -test -vhosts" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4 -luajit" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2025-03-18 17:23:15 UTC
Created attachment 921192 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-18 17:23:16 UTC
Created attachment 921193 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-03-18 17:23:17 UTC
Created attachment 921194 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-03-18 17:23:18 UTC
Created attachment 921195 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-03-18 17:23:19 UTC
Created attachment 921196 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-18 17:23:20 UTC
The file size of ./files/logs.tar.xz is too big (1.2M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_no_multilib-20250313-193502/var/tmp/tb/issues/20250318-165556-www-apps_cgit-1.2.3_p20240802/files/logs.tar.xz is valid.
Comment 7 Toralf Förster gentoo-dev 2025-03-18 17:23:21 UTC
Created attachment 921197 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-18 17:23:22 UTC
Created attachment 921198 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2025-03-18 17:23:24 UTC
Created attachment 921199 [details]
www-apps:cgit-1.2.3_p20240802:20250318-165517.log
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-05-03 04:56:37 UTC
commit 8b979f80983c2bb7f219e65d0f55aab4f43b32b3
Author: Sam James <sam@gentoo.org>
Date:   Sat Nov 16 23:26:57 2024 +0000

    dev-vcs/git: build with -std=gnu17

    Bug: https://lore.kernel.org/git/87ed3apy2u.fsf@gentoo.org/
    Signed-off-by: Sam James <sam@gentoo.org>
Comment 11 Larry the Git Cow gentoo-dev 2025-05-03 04:58:40 UTC
The bug has been closed via the following commit(s):

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

commit b3e6f910ef8cf28cbbfecc0bd98844082c856657
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-05-03 04:57:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-05-03 04:58:14 +0000

    www-apps/cgit: build w/ -std=gnu17
    
    These can be dropped w/ newer git but not going to test that right now.
    
    Closes: https://bugs.gentoo.org/951555
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apps/cgit/cgit-1.2.3-r203.ebuild      | 7 +++++--
 www-apps/cgit/cgit-1.2.3_p20240802.ebuild | 5 ++++-
 www-apps/cgit/cgit-9999-r1.ebuild         | 8 ++++++--
 www-apps/cgit/cgit-9999.ebuild            | 8 ++++++--
 4 files changed, 21 insertions(+), 7 deletions(-)