too long lines were shrinked: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DQT_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DGNUPLOT_SHARE_DIR=\"/usr/share/gnuplot/5.4\" -DGNUPLOT_PS_DIR=\"/usr/share/gnuplot/5.4/PostScript\" -DGNUPLOT_JS_DI x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DQT_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DGNUPLOT_SHARE_DIR=\"/usr/share/gnuplot/5.4\" -DGNUPLOT_PS_DIR=\"/usr/share/gnuplot/5.4/PostScript\" -DGNUPLOT_JS_DI x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DQT_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DGNUPLOT_SHARE_DIR=\"/usr/share/gnuplot/5.4\" -DGNUPLOT_PS_DIR=\"/usr/share/gnuplot/5.4/PostScript\" -DGNUPLOT_JS_DI x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../term -I../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DQT_DRIVER_DIR=\"/usr/libexec/gnuplot/5.4\" -DGNUPLOT_SHARE_DIR=\"/usr/share/gnuplot/5.4\" -DGNUPLOT_PS_DIR=\"/usr/share/gnuplot/5.4/PostScript\" -DGNUPLOT_JS_DI In file included from term.h:298, from term.c:1211: ../term/post.trm:4016:11: error: expected declaration specifiers or ... before string constant 4016 | fputs("%%%%BeginImage\n", gppsfile); | ^~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no_multilib_hardened-20231007-091504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-13 * clang/llvm (if any): Python 3.11.6 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.73.0 * php cli (if any): go version go1.21.1 linux/amd64 HEAD of ::gentoo commit cbfb9f527d52692cc1aaf4767c4fa1d929e7e35d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Mon Oct 9 06:01:58 2023 +0000 2023-10-09 06:01:57 UTC emerge -qpvO sci-visualization/gnuplot [ebuild U ] sci-visualization/gnuplot-5.4.9 [5.4.8] USE="libcaca libcerf readline -X (-aqua) -bitmap -cairo -doc -examples -gd -ggi -latex -lua -qt5 -regis -wxwidgets" LUA_SINGLE_TARGET="lua5-1 -lua5-3 -lua5-4"
Created attachment 872408 [details] emerge-info.txt
Created attachment 872409 [details] emerge-history.txt
Created attachment 872410 [details] environment
Created attachment 872411 [details] etc.portage.tar.xz
Created attachment 872412 [details] logs.tar.xz
Created attachment 872413 [details] sci-visualization:gnuplot-5.4.9:20231009-060739.log
Created attachment 872414 [details] temp.tar.xz
This happens only with USE="-cairo -gd" and is caused by unbalanced parentheses in term/post.trm (leading to a very confusing error message from the compiler): #ifdef HAVE_DEFLATE_ENCODER if (ps_params->level3) { encoded_image = (void *)PS_encode_png_image(M, N, image, color_mode, bits_per_component, max_colors, cscale, &num_encoded_bytes); } else { #endif encoded_image = PS_encode_image(M, N, image, color_mode, bits_per_component, max_colors, cscale, (ps_params->level1 ? PS_ASCII_HEX : PS_ASCII85), &num_encoded_bytes); } A fix is available upstream: https://sourceforge.net/p/gnuplot/gnuplot-main/ci/b5b668ca442e0d7399e2b432fe5fe5fb4c48a1a2/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbb42d862a08de57da2ed67b7b6fb6661ad706f5 commit fbb42d862a08de57da2ed67b7b6fb6661ad706f5 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2023-10-09 19:28:27 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2023-10-09 19:30:50 +0000 sci-visualization/gnuplot: Fix unbalanced braces in C source Closes: https://bugs.gentoo.org/915492 Signed-off-by: Ulrich Müller <ulm@gentoo.org> .../gnuplot/files/gnuplot-5.4.9-unbal-braces.patch | 31 ++++++++++++++++++++++ sci-visualization/gnuplot/gnuplot-5.4.9.ebuild | 1 + 2 files changed, 32 insertions(+)