Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903706 - media-sound/ncmpc-0.47[-nls] - /.../libintl.h: error: expected unqualified-id before const
Summary: media-sound/ncmpc-0.47[-nls] - /.../libintl.h: error: expected unqualified-id...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-02 19:55 UTC by Toralf Förster
Modified: 2023-09-04 08:06 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.45 KB, text/plain)
2023-04-02 19:55 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,72.68 KB, application/x-bzip)
2023-04-02 19:55 UTC, Toralf Förster
Details
environment (environment,96.75 KB, text/plain)
2023-04-02 19:55 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,720 bytes, application/x-bzip)
2023-04-02 19:55 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,16.45 KB, application/x-bzip)
2023-04-02 19:55 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.80 KB, application/x-bzip)
2023-04-02 19:55 UTC, Toralf Förster
Details
media-sound:ncmpc-0.47:20230402-192727.log (media-sound:ncmpc-0.47:20230402-192727.log,52.94 KB, text/plain)
2023-04-02 19:55 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,26.45 KB, application/x-bzip)
2023-04-02 19:55 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-04-02 19:55:00 UTC
too long lines were shrinked:

[55/93] x86_64-pc-linux-gnu-g++ -Incmpc.p -I. -I../ncmpc-0.47 -Isrc -I../ncmpc-0.47/src -I/usr/include/ncursesw -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attr
[56/93] x86_64-pc-linux-gnu-g++ -Incmpc.p -I. -I../ncmpc-0.47 -Isrc -I../ncmpc-0.47/src -I/usr/include/ncursesw -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attr
[57/93] x86_64-pc-linux-gnu-g++ -Incmpc.p -I. -I../ncmpc-0.47 -Isrc -I../ncmpc-0.47/src -I/usr/include/ncursesw -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attr
FAILED: ncmpc.p/src_QueuePage.cxx.o 
x86_64-pc-linux-gnu-g++ -Incmpc.p -I. -I../ncmpc-0.47 -Isrc -I../ncmpc-0.47/src -I/usr/include/ncursesw -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wpedantic -std=c++2a -Wcast-qual -Wcast-align -Wdouble-promotion -Wmissing-declarations -Wmissing-format-attribute -W
In file included from ../ncmpc-0.47/src/QueuePage.cxx:29:
/usr/include/libintl.h:39:14: error: expected unqualified-id before 'const'
   39 | extern char *gettext (const char *__msgid)
      |              ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-j4-20230327-021011

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.0
Python 3.10.10
Available Ruby profiles:
  [1]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.68.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.18_p10 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
4)	Eclipse Temurin JRE 17.0.6_p10 [openjdk-jre-bin-17]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-jre-bin-17 

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 7efa3854ea1039fa8800c4154e8926bbe4694f78
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 2 18:46:56 2023 +0000

    2023-04-02 18:46:55 UTC

emerge -qpvO media-sound/ncmpc
[ebuild  N    ] media-sound/ncmpc-0.47  USE="help-screen library-screen mouse pcre song-screen -async-connect -chat-screen -doc -key-screen -lirc -lyrics-screen -nls -outputs-screen -search-screen"
Comment 1 Toralf Förster gentoo-dev 2023-04-02 19:55:00 UTC
Created attachment 859441 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-04-02 19:55:02 UTC
Created attachment 859442 [details]
emerge-history.txt.bz2
Comment 3 Toralf Förster gentoo-dev 2023-04-02 19:55:03 UTC
Created attachment 859443 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-04-02 19:55:04 UTC
Created attachment 859444 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-04-02 19:55:05 UTC
Created attachment 859445 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-04-02 19:55:05 UTC
Created attachment 859446 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-04-02 19:55:06 UTC
Created attachment 859447 [details]
media-sound:ncmpc-0.47:20230402-192727.log
Comment 8 Toralf Förster gentoo-dev 2023-04-02 19:55:07 UTC
Created attachment 859448 [details]
temp.tar.bz2
Comment 9 Miroslav Šulc gentoo-dev 2023-05-08 05:11:46 UTC
the issue can be reproduced when nls use flag is turned off. 0.48 is affected too.
Comment 10 Miroslav Šulc gentoo-dev 2023-09-04 08:06:52 UTC
0.49 is affected too