Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941457 - x11-plugins/wmxkb-1.2.2-r1 - [ncurses-6.5] [libtool] [gcc-15] wmxkb_x11.c: error: type of FgColours does not match original declaration [-Werror=lto-type-mismatch]
Summary: x11-plugins/wmxkb-1.2.2-r1 - [ncurses-6.5] [libtool] [gcc-15] wmxkb_x11.c: er...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-10-13 09:16 UTC by Toralf Förster
Modified: 2024-10-13 09:16 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.70 KB, text/plain)
2024-10-13 09:16 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,103.66 KB, application/x-xz)
2024-10-13 09:16 UTC, Toralf Förster
Details
environment (environment,78.71 KB, text/plain)
2024-10-13 09:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.00 KB, application/x-xz)
2024-10-13 09:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,51.79 KB, application/x-xz)
2024-10-13 09:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,4.69 KB, application/x-xz)
2024-10-13 09:16 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,107.48 KB, application/x-xz)
2024-10-13 09:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,127.96 KB, application/x-xz)
2024-10-13 09:16 UTC, Toralf Förster
Details
x11-plugins:wmxkb-1.2.2-r1:20241013-090801.log (x11-plugins:wmxkb-1.2.2-r1:20241013-090801.log,10.21 KB, text/plain)
2024-10-13 09:16 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-10-13 09:16:34 UTC
wmxkb.c:141:17: warning: ignoring return value of freopen declared with attribute warn_unused_result [-Wunused-result]
  141 |                 freopen("/dev/null", "r", stdin);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo '# wmxkb library dependencies'  > wmxkb.dep
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wall  -MM wmxkb.c wmxkb_xkb.c wmxkb_x11.c wmxkb_xrm.c > wmxkb.dep
x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -o wmxkb wmxkb.o wmxkb_xkb.o wmxkb_x11.o wmxkb_xrm.o   -lX11 -lXext -lXpm 
wmxkb_x11.c:43:22: error: type of FgColours does not match original declaration [-Werror=lto-type-mismatch]
   43 | extern unsigned long FgColours[XkbNumKbdGroups];
      |                      ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20240930-224005

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
clang version 19.1.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.1
Python 3.12.7
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):
  [1]   php8.3 *
go version go1.23.1 linux/amd64

  HEAD of ::gentoo
commit 255be811a0f420c5bae12646574357361f20ce5c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 13 08:18:34 2024 +0000

    2024-10-13 08:18:34 UTC

emerge -qpvO =x11-plugins/wmxkb-1.2.2-r1
[ebuild  N    ] x11-plugins/wmxkb-1.2.2-r1
Comment 1 Toralf Förster gentoo-dev 2024-10-13 09:16:35 UTC
Created attachment 905559 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-13 09:16:36 UTC
Created attachment 905560 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-10-13 09:16:38 UTC
Created attachment 905561 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-13 09:16:38 UTC
Created attachment 905562 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-13 09:16:39 UTC
Created attachment 905563 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-13 09:16:40 UTC
Created attachment 905564 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-10-13 09:16:42 UTC
Created attachment 905565 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-10-13 09:16:43 UTC
Created attachment 905566 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-10-13 09:16:44 UTC
Created attachment 905567 [details]
x11-plugins:wmxkb-1.2.2-r1:20241013-090801.log