too long lines were shrinked: x86_64-gentoo-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -D_POSIX_C_SOURCE=199506L -I/usr/include/uuid -DFUNCPROTO=15 -DOSMAJORVERSION=6 -DOSMINORVERSION=1 -D_CONST_X_STRING -DDEFCLASS=\"XTerm\" -DPIXMAP_ROOTDIR=\"/usr/share/pixmaps/\" -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wbad-funct x86_64-gentoo-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -D_POSIX_C_SOURCE=199506L -I/usr/include/uuid -DFUNCPROTO=15 -DOSMAJORVERSION=6 -DOSMINORVERSION=1 -D_CONST_X_STRING -DDEFCLASS=\"XTerm\" -DPIXMAP_ROOTDIR=\"/usr/share/pixmaps/\" -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wbad-funct x86_64-gentoo-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -D_POSIX_C_SOURCE=199506L -I/usr/include/uuid -DFUNCPROTO=15 -DOSMAJORVERSION=6 -DOSMINORVERSION=1 -D_CONST_X_STRING -DDEFCLASS=\"XTerm\" -DPIXMAP_ROOTDIR=\"/usr/share/pixmaps/\" -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wbad-funct x86_64-gentoo-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -D_POSIX_C_SOURCE=199506L -I/usr/include/uuid -DFUNCPROTO=15 -DOSMAJORVERSION=6 -DOSMINORVERSION=1 -D_CONST_X_STRING -DDEFCLASS=\"XTerm\" -DPIXMAP_ROOTDIR=\"/usr/share/pixmaps/\" -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wbad-funct x86_64-gentoo-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -D_POSIX_C_SOURCE=199506L -I/usr/include/uuid -DFUNCPROTO=15 -DOSMAJORVERSION=6 -DOSMINORVERSION=1 -D_CONST_X_STRING -DDEFCLASS=\"XTerm\" -DPIXMAP_ROOTDIR=\"/usr/share/pixmaps/\" -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wbad-funct x86_64-gentoo-linux-musl-gcc -I. -I. -DHAVE_CONFIG_H -D_POSIX_C_SOURCE=199506L -I/usr/include/uuid -DFUNCPROTO=15 -DOSMAJORVERSION=6 -DOSMINORVERSION=1 -D_CONST_X_STRING -DDEFCLASS=\"XTerm\" -DPIXMAP_ROOTDIR=\"/usr/share/pixmaps/\" -pipe -march=native -fno-diagnostics-color -O2 -W -Wall -Wbad-funct ./main.c:802:34: error: 'TAB3' undeclared here (not in a function); did you mean 'TAB0'? 802 | { -1, XTTYMODE__tabs, TAB3 }, | ^~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-j4-20230214-161236 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-gentoo-linux-musl-12 * clang/llvm (if any): Python 3.10.10 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-1.67.1 * php cli (if any): HEAD of ::gentoo commit 33bda6fc1315b7c114605f8323b72ffc50b21bed Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Fri Feb 17 06:46:58 2023 +0000 2023-02-17 06:46:58 UTC emerge -qpvO x11-terms/xterm [ebuild U ] x11-terms/xterm-379 [377-r1] USE="Xaw3d openpty unicode -sixel -toolbar -truetype -verify-sig -xinerama"
Created attachment 852126 [details] emerge-info.txt
Created attachment 852128 [details] emerge-history.txt.bz2
Created attachment 852130 [details] environment
Created attachment 852132 [details] etc.portage.tar.bz2
Created attachment 852134 [details] logs.tar.bz2
Created attachment 852136 [details] temp.tar.bz2
Created attachment 852138 [details] x11-terms:xterm-379:20230217-072241.log
I experience the same with xterm-378 also, I also use musl: mips64-unknown-linux-musl
An update: when added to CFLAGS "-D_GNU_SOURCE", it builds. I used package.env folder to do this, as a workaround. Source of idea: https://github.com/NixOS/nixpkgs/issues/214842
tinderbox_musl has reproduced this issue with version 380 - Updating summary.
(In reply to Barnabás Virágh from comment #9) > An update: when added to CFLAGS "-D_GNU_SOURCE", it builds. I used > package.env folder to do this, as a workaround. > > Source of idea: https://github.com/NixOS/nixpkgs/issues/214842 Thank you very much. It now compiles fine! All versions are affected by this compilation issue (379 to 384)
(In reply to David Duchesne from comment #11) > (In reply to Barnabás Virágh from comment #9) > > An update: when added to CFLAGS "-D_GNU_SOURCE", it builds. I used > > package.env folder to do this, as a workaround. > > > > Source of idea: https://github.com/NixOS/nixpkgs/issues/214842 > > Thank you very much. It now compiles fine! > All versions are affected by this compilation issue (379 to 384) On musl amd64 only. With glibc amd64, I can't reproduce it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4de7cba8d0d3a8b1893fd4c6c757242eb82fea commit 0b4de7cba8d0d3a8b1893fd4c6c757242eb82fea Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2023-09-04 06:45:18 +0000 Commit: Joonas Niilola <juippis@gentoo.org> CommitDate: 2023-10-06 12:58:56 +0000 x11-terms/xterm: Fix TAB3 undeclared here \w musl llvm Closes: https://bugs.gentoo.org/895100 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/32600 Signed-off-by: Joonas Niilola <juippis@gentoo.org> .../files/xterm-384-unconditional-gnusource.patch | 12 +++ x11-terms/xterm/xterm-384-r1.ebuild | 110 +++++++++++++++++++++ 2 files changed, 122 insertions(+)