Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 840647 - app-editors/kakoune-2021.11.08 - color.hh: error: call to non-constexpr function void Kakoune::Color::validate_alpha()
Summary: app-editors/kakoune-2021.11.08 - color.hh: error: call to non-constexpr funct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ian Hixson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-04-24 17:51 UTC by Toralf Förster
Modified: 2022-05-19 02:03 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.06 KB, text/plain)
2022-04-24 17:51 UTC, Toralf Förster
Details
app-editors:kakoune-2021.11.08:20220424-171505.log (app-editors:kakoune-2021.11.08:20220424-171505.log,21.95 KB, text/plain)
2022-04-24 17:51 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,245.86 KB, text/plain)
2022-04-24 17:51 UTC, Toralf Förster
Details
environment (environment,56.77 KB, text/plain)
2022-04-24 17:51 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,41.37 KB, application/x-bzip)
2022-04-24 17:51 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,16.16 KB, application/x-bzip)
2022-04-24 17:51 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-04-24 17:51:31 UTC
                 from face_registry.hh:4,
                 from scope.hh:5,
                 from buffer.hh:12:
color.hh: In constructor constexpr Kakoune::Color::Color(unsigned char, unsigned char, unsigned char, unsigned char)’:
color.hh:54:23: error: call to non-constexpr’ function void Kakoune::Color::validate_alpha()’
   54 |         validate_alpha();
      |         ~~~~~~~~~~~~~~^~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.0.1 *
clang/llvm (if any):
/usr/lib/llvm/14
14.0.1
Python 3.9.12
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.60.0 *
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:

  HEAD of ::gentoo
commit 0f5b4e93a7dfc5284a617542a55fc40c10e4b1f9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 24 17:03:28 2022 +0000

    2022-04-24 17:03:27 UTC

emerge -qpvO app-editors/kakoune
[ebuild  N    ] app-editors/kakoune-2021.11.08
Comment 1 Toralf Förster gentoo-dev 2022-04-24 17:51:32 UTC
Created attachment 774206 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-04-24 17:51:34 UTC
Created attachment 774209 [details]
app-editors:kakoune-2021.11.08:20220424-171505.log
Comment 3 Toralf Förster gentoo-dev 2022-04-24 17:51:35 UTC
Created attachment 774212 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-04-24 17:51:36 UTC
Created attachment 774215 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-04-24 17:51:38 UTC
Created attachment 774218 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-04-24 17:51:39 UTC
Created attachment 774221 [details]
temp.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2022-05-19 02:03:51 UTC
The bug has been closed via the following commit(s):

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

commit 75ea56ddb2052f91951e83b4d5e80ed1fc611f6f
Author:     Ian Hixson <mujo@sdf.org>
AuthorDate: 2022-05-18 18:10:13 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-19 01:57:28 +0000

    app-editors/kakoune: Bump to 2021.11.08-r1
    
    Fix build with gcc-12.1.0 bug #840647
    Patch taken from upstream and will no longer be needed once there is a
    new release.
    See https://github.com/mawww/kakoune/issues/4544
    and https://github.com/mawww/kakoune/pull/4549
    for additional details.
    
    Closes: https://bugs.gentoo.org/840647
    Signed-off-by: Ian Hixson <mujo@sdf.org>
    Closes: https://github.com/gentoo/gentoo/pull/25551
    Signed-off-by: Sam James <sam@gentoo.org>

 .../kakoune/files/kakoune-2021.11.08-gcc12.patch   | 58 ++++++++++++++++++++++
 app-editors/kakoune/kakoune-2021.11.08-r1.ebuild   | 44 ++++++++++++++++
 2 files changed, 102 insertions(+)