Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 939667 - app-admin/conky-1.21.5 - [gcc-15] /.../colours.h: error: const struct Colour has no member named red
Summary: app-admin/conky-1.21.5 - [gcc-15] /.../colours.h: error: const struct Colour ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2024-09-14 15:07 UTC by Toralf Förster
Modified: 2024-10-07 16:36 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.88 KB, text/plain)
2024-09-14 15:07 UTC, Toralf Förster
Details
app-admin:conky-1.21.5:20240914-145032.log (app-admin:conky-1.21.5:20240914-145032.log,79.08 KB, text/plain)
2024-09-14 15:07 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,82.10 KB, application/x-xz)
2024-09-14 15:07 UTC, Toralf Förster
Details
environment (environment,178.79 KB, text/plain)
2024-09-14 15:07 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,78.93 KB, application/x-xz)
2024-09-14 15:07 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,88.38 KB, application/x-xz)
2024-09-14 15:07 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,37.97 KB, application/x-xz)
2024-09-14 15:07 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-09-14 15:07:09 UTC
   82 |   static Colour from_argb32(uint32_t argb);
      |                             ^~~~~~~~
/var/tmp/portage/app-admin/conky-1.21.5/work/conky-1.21.5/src/colours.h: In member function void Colour::operator=(const Colour&):
/var/tmp/portage/app-admin/conky-1.21.5/work/conky-1.21.5/src/colours.h:60:5: error: red was not declared in this scope
   60 |     red = c.red;
      |     ^~~
/var/tmp/portage/app-admin/conky-1.21.5/work/conky-1.21.5/src/colours.h:60:13: error: const struct Colour has no member named red
   60 |     red = c.red;
      |             ^~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20240908-010502

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  /etc/portage/package.unmask/60gcc:<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/llvm (if any):
Python 3.12.6
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  (none found)
go version go1.23.0 linux/amd64

  HEAD of ::gentoo
commit f61e626b1ee9899bec6010ab1c86ba0a43eae203
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Sep 14 13:49:14 2024 +0000

    2024-09-14 13:49:14 UTC

emerge -qpvO =app-admin/conky-1.21.5
[ebuild  N    ] app-admin/conky-1.21.5  USE="X bundled-toluapp curl iconv lua-cairo-xlib moc ncurses portmon -apcupsd -cmus -colour-name-map -doc -extras -hddtemp -ical -imlib -intel-backlight -iostats -irc -lua-cairo -lua-imlib -lua-rsvg -math -mouse-events -mpd -mysql -nvidia -pulseaudio -rss -systemd -test -thinkpad -truetype -wayland -webserver -wifi -xinerama -xinput -xmms2" LUA_SINGLE_TARGET="lua5-4"
Comment 1 Toralf Förster gentoo-dev 2024-09-14 15:07:10 UTC
Created attachment 902986 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-14 15:07:12 UTC
Created attachment 902987 [details]
app-admin:conky-1.21.5:20240914-145032.log
Comment 3 Toralf Förster gentoo-dev 2024-09-14 15:07:13 UTC
Created attachment 902988 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-09-14 15:07:14 UTC
Created attachment 902989 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-09-14 15:07:15 UTC
Created attachment 902990 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-14 15:07:17 UTC
Created attachment 902991 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-14 15:07:18 UTC
Created attachment 902992 [details]
temp.tar.xz
Comment 8 Andy Figueroa 2024-10-07 03:25:56 UTC
Newer conky requires USE = colour-name-map to interpret color names (not spelling of colour). I believe that USE should be default.

Thanks to forum post at: http://forums.gentoo.org/viewtopic.php?p=8842348#8842348
Comment 9 Daniel Pielmeier gentoo-dev 2024-10-07 16:36:14 UTC
(In reply to Andy Figueroa from comment #8)
> Newer conky requires USE = colour-name-map to interpret color names (not
> spelling of colour). I believe that USE should be default.
> 
> Thanks to forum post at:
> http://forums.gentoo.org/viewtopic.php?p=8842348#8842348

There might be a relation to recent changes which added this option but the actual problem seems to be related to the gcc version used as the blocker states. Here when compiling with gcc-13 everything is fine with and without the flag enabled.