Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919504 - media-gfx/kuickshow-0.10.2 - <command-line>: error: macro names must be identifiers
Summary: media-gfx/kuickshow-0.10.2 - <command-line>: error: macro names must be ident...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Christian Gerloff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-09 10:39 UTC by Toralf Förster
Modified: 2024-01-02 11:31 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.99 KB, text/plain)
2023-12-09 10:39 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,113.28 KB, application/x-xz)
2023-12-09 10:39 UTC, Toralf Förster
Details
environment (environment,115.55 KB, text/plain)
2023-12-09 10:39 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-09 10:39 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.91 KB, application/x-xz)
2023-12-09 10:39 UTC, Toralf Förster
Details
media-gfx:kuickshow-0.10.2:20231209-060047.log (media-gfx:kuickshow-0.10.2:20231209-060047.log,39.84 KB, text/plain)
2023-12-09 10:39 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,117.94 KB, application/x-xz)
2023-12-09 10:39 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.98 KB, application/x-xz)
2023-12-09 10:39 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 2023-12-09 10:39:16 UTC
too long lines were shrinked:

Command
-------
/usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -dM -E -c /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -D-I/usr/include -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -

Output
------
<command-line>: error: macro names must be identifiers
#define __DBL_MIN_EXP__ (-1021)
#define __UINT_LEAST16_MAX__ 0xffff

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-170505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_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):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 4dbaa54e73eb5af54d6cf2b897b41bc3a7ba3724
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Dec 9 03:02:02 2023 +0000

    2023-12-09 03:02:02 UTC

emerge -qpvO media-gfx/kuickshow
[ebuild  N    ] media-gfx/kuickshow-0.10.2  USE="handbook -debug"
Comment 1 Toralf Förster gentoo-dev 2023-12-09 10:39:17 UTC
Created attachment 878506 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-09 10:39:18 UTC
Created attachment 878507 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-09 10:39:20 UTC
Created attachment 878508 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-09 10:39:20 UTC
Created attachment 878509 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-09 10:39:21 UTC
Created attachment 878510 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-09 10:39:22 UTC
Created attachment 878511 [details]
media-gfx:kuickshow-0.10.2:20231209-060047.log
Comment 7 Toralf Förster gentoo-dev 2023-12-09 10:39:24 UTC
Created attachment 878512 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-09 10:39:25 UTC
Created attachment 878513 [details]
temp.tar.xz
Comment 9 Christian Gerloff 2024-01-02 11:31:12 UTC
I'm sorry it took me so long to reply.

It looks like the compiler is called with an invalid parameter:
> /usr/bin/x86_64-pc-linux-gnu-g++ -std=gnu++11 -dM -E -c
> /usr/share/cmake/Modules/CMakeCXXCompilerABI.cpp -D-I/usr/include
                                                   ^^^^^^^^^^^^^^^^
> -DKCOREADDONS_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
> -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB
> -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -
The "-D" parameter creates a macro as if "#define" was used at the beginning of the source code, but "-I/usr/include" is not a valid C++ identifier.

This may be an issue with the file "cmake/modules/FindIMLIB.cmake", since your logs contain these lines:
> -- Found IMLIB Defs     : -I/usr/include
> -- Found IMLIB Includes : /usr/include
> -- Found IMLIB Libraries: -L/usr/lib64;Imlib;jpeg;tiff;gif;png;z;m;SM;ICE;Xext;X11
The line "Found IMLIB Defs" should not contain the compiler parameter for the include directory.

I'm still trying to figure out why this is the case here.