Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865133 - app-misc/openrgb-0.7 - Controllers/.../RGBController_GigabyteRGBFusion2USB.cpp: error: binding reference of type nlohmann::json_ab
Summary: app-misc/openrgb-0.7 - Controllers/.../RGBController_GigabyteRGBFusion2USB.cp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-08-14 08:28 UTC by Toralf Förster
Modified: 2022-08-26 23:57 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.73 KB, text/plain)
2022-08-14 08:28 UTC, Toralf Förster
Details
app-misc:openrgb-0.7:20220813-210806.log.bz2 (app-misc:openrgb-0.7:20220813-210806.log.bz2,12.99 KB, application/x-bzip)
2022-08-14 08:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.33 KB, text/plain)
2022-08-14 08:28 UTC, Toralf Förster
Details
environment (environment,76.50 KB, text/plain)
2022-08-14 08:28 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,33.90 KB, application/x-bzip)
2022-08-14 08:28 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,32.29 KB, application/x-bzip)
2022-08-14 08:28 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-08-14 08:28:43 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DGENTOO_PLUGINS_DIR=\"/usr/lib64/OpenRGB/plugins\" -DVERSION_STRING=\""0.7\"" -DBUILDDATE_STRING=\""Sat, 13 Aug 2022 23:08:09 +0200\"" -DGIT_COMMIT_ID=\""\"" -DGIT_COMMIT_DATE=\""
x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DGENTOO_PLUGINS_DIR=\"/usr/lib64/OpenRGB/plugins\" -DVERSION_STRING=\""0.7\"" -DBUILDDATE_STRING=\""Sat, 13 Aug 2022 23:08:09 +0200\"" -DGIT_COMMIT_ID=\""\"" -DGIT_COMMIT_DATE=\""
x86_64-pc-linux-gnu-g++ -c -pipe -march=native -fno-diagnostics-color -O2 -std=gnu++1z -Wall -Wextra -D_REENTRANT -fPIC -DGENTOO_PLUGINS_DIR=\"/usr/lib64/OpenRGB/plugins\" -DVERSION_STRING=\""0.7\"" -DBUILDDATE_STRING=\""Sat, 13 Aug 2022 23:08:09 +0200\"" -DGIT_COMMIT_ID=\""\"" -DGIT_COMMIT_DATE=\""
Controllers/GigabyteRGBFusion2USBController/RGBController_GigabyteRGBFusion2USB.cpp: In member function 'void RGBController_RGBFusion2USB::Load_Device_Config()':
Controllers/GigabyteRGBFusion2USBController/RGBController_GigabyteRGBFusion2USB.cpp:320:141: error: binding reference of type 'nlohmann::json_abi_v3_11_2::detail::iteration_proxy_value<nlohmann::json_abi_v3_11_2::detail::iter_impl<nlohmann::json_abi_v3_11_2::basic_json<> > >&' to 'const nlohmann::js
  320 | ter_impl<nlohmann::json>>& it : device_settings[SectionLayout].items())
      |                                                                      ^

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.1
 [2] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.6
Python 3.10.6
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.62.1 *
The following VMs are available for generation-2:
1)	OpenJDK 17.0.3_p7 [openjdk-17]
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-17 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli:

  HEAD of ::gentoo
commit 3272d82053c2d4a985b7a499def10b1c3c90c66e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 13 19:31:51 2022 +0000

    2022-08-13 19:31:50 UTC

emerge -qpvO app-misc/openrgb
[ebuild  N    ] app-misc/openrgb-0.7
Comment 1 Toralf Förster gentoo-dev 2022-08-14 08:28:44 UTC
Created attachment 799519 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-08-14 08:28:45 UTC
Created attachment 799521 [details]
app-misc:openrgb-0.7:20220813-210806.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-08-14 08:28:46 UTC
Created attachment 799523 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-08-14 08:28:48 UTC
Created attachment 799525 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-08-14 08:28:49 UTC
Created attachment 799527 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-08-14 08:28:51 UTC
Created attachment 799529 [details]
temp.tar.bz2
Comment 7 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-08-19 17:20:57 UTC
Seems like a regression with nlohmann_json-3.11.2
Comment 8 Larry the Git Cow gentoo-dev 2022-08-26 23:57:07 UTC
The bug has been closed via the following commit(s):

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

commit 4afe1169372beb379f024cc5acdcdb2c48b6fe8b
Author:     Alexey Sokolov <alexey+gentoo@asokolov.org>
AuthorDate: 2022-08-22 23:42:01 +0000
Commit:     Patrick McLean <chutzpah@gentoo.org>
CommitDate: 2022-08-26 23:56:53 +0000

    app-misc/openrgb: fix build with dev-cpp/nlohmann_json-3.11.2
    
    Closes: https://bugs.gentoo.org/865133
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
    Signed-off-by: Patrick McLean <chutzpah@gentoo.org>

 app-misc/openrgb/files/OpenRGB-0.7-json.patch | 24 ++++++++++++++++++++++++
 app-misc/openrgb/openrgb-0.7.ebuild           |  1 +
 2 files changed, 25 insertions(+)