too long lines were shrinked: clang -c -Demacs -I. -I. -I../lib -I../lib -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -pthread -I/usr/include/cairo -I/usr/inclu clang -c -MMD -MF deps/EvHand.d -MP -Wno-switch -Wno-pointer-sign -Wno-string-plus-int -Wno-unknown-attributes -Wno-initializer-overrides -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=impli In file included from dispnew.c:33: In file included from ./keyboard.h:27: ./xterm.h:71:10: fatal error: 'cairo-xlib.h' file not found #include <cairo-xlib.h> ^~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-j4-20221004-160003 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-12.2.0 * clang/llvm (if any): clang version 15.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/15/bin /usr/lib/llvm/15 15.0.1 Python 3.10.7 Available Ruby profiles: [1] ruby27 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.64.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17] Available Java Virtual Machines: [1] openjdk-bin-17 system-vm php cli (if any): GNU Make 4.3 HEAD of ::gentoo commit a7d72d81ce25b9d16eb27e51cbe9f0d910626e59 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Tue Oct 4 19:47:52 2022 +0000 2022-10-04 19:47:52 UTC emerge -qpvO app-editors/emacs [ebuild N ] app-editors/emacs-28.2 USE="acl cairo gmp gpm gui inotify jpeg kerberos png sound ssl svg threads xft xpm zlib -Xaw3d -alsa (-aqua) -athena -dbus -dynamic-loading -games -gfile -gif -gsettings -gtk -gzip-el -harfbuzz -imagemagick -jit -json -lcms -libxml2 -livecd -m17n-lib -mailutils -motif (-selinux) -source -systemd -tiff -toolkit-scroll-bars -wide-int -xwidgets"
Created attachment 820408 [details] emerge-info.txt
Created attachment 820411 [details] app-editors:emacs-28.2:20221004-201519.log
Created attachment 820414 [details] clang.tar.bz2
Created attachment 820417 [details] emerge-history.txt
Created attachment 820420 [details] environment
Created attachment 820423 [details] etc.portage.tar.bz2
Created attachment 820426 [details] logs.tar.bz2
Created attachment 820429 [details] temp.tar.bz2
(In reply to Toralf Förster from comment #2) > Created attachment 820411 [details] > app-editors:emacs-28.2:20221004-201519.log clang -c -Demacs -I. -I. -I../lib -I../lib -I/usr/include/librsvg-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -pthread -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/freetype2 -MMD -MF deps/dispnew.d -MP -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -Wno-switch -Wno-pointer-sign -Wno-string-plus-int -Wno-unknown-attributes -Wno-initializer-overrides -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int dispnew.c I see -I/usr/include/cairo there, so I wonder why it doesn't find the file. Maybe a missing USE dependency on cairo? In file included from dispnew.c:33: In file included from ./keyboard.h:27: ./xterm.h:71:10: fatal error: 'cairo-xlib.h' file not found #include <cairo-xlib.h> ^~~~~~~~~~~~~~ Do you have the file /usr/include/cairo/cairo-xlib.h?
(In reply to Ulrich Müller from comment #9) > Do you have the file /usr/include/cairo/cairo-xlib.h? no: # ls -l /usr/include/cairo/cairo-xlib.h* ls: cannot access '/usr/include/cairo/cairo-xlib.h*': No such file or directory
Right. Looks like we need cairo[X].
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cc149f5d5938cbd0087f55cb9b590fd9cd442b5 commit 1cc149f5d5938cbd0087f55cb9b590fd9cd442b5 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2022-10-05 15:17:25 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2022-10-05 15:18:36 +0000 app-editors/emacs: Depend on x11-libs/cairo[X] Closes: https://bugs.gentoo.org/875230 Signed-off-by: Ulrich Müller <ulm@gentoo.org> app-editors/emacs/{emacs-25.3-r11.ebuild => emacs-25.3-r12.ebuild} | 2 +- app-editors/emacs/{emacs-26.3-r7.ebuild => emacs-26.3-r8.ebuild} | 2 +- app-editors/emacs/{emacs-27.2-r5.ebuild => emacs-27.2-r6.ebuild} | 2 +- app-editors/emacs/emacs-28.1-r2.ebuild | 2 +- app-editors/emacs/emacs-28.1-r3.ebuild | 2 +- app-editors/emacs/{emacs-28.2.ebuild => emacs-28.2-r1.ebuild} | 2 +- app-editors/emacs/emacs-28.2.9999.ebuild | 2 +- app-editors/emacs/emacs-29.0.9999.ebuild | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-)