Created attachment 583122 [details] build.log USE='-X bitmap -cairo -compat doc -examples -gd -ggi latex libcaca -libcerf -lua -qt5 -readline regis -wxwidgets' emerge -1 =sci-visualization/gnuplot-5.2.6 [...] ../term/caca.trm:2583:3: warning: implicit declaration of function ‘process_event’; did you mean ‘process_image’? [-Wimplicit-function-declaration] process_event(GE_replot, 0, 0, 0, 0, 0); ^~~~~~~~~~~~~ process_image ../term/caca.trm:2583:17: error: ‘GE_replot’ undeclared (first use in this function); did you mean ‘do_3dplot’? process_event(GE_replot, 0, 0, 0, 0, 0); ^~~~~~~~~ do_3dplot ../term/caca.trm:2583:17: note: each undeclared identifier is reported only once for each function it appears in variable.c: In function ‘fontpath_handler’: variable.c:397:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(envval,255,fcmd); ^~~~~~~~~~~~~~~~~~~~~~ powerpc-unknown-linux-gnu-gcc -O2 -mcpu=7450 -pipe -L/usr/lib/lib -Wl,-rpath -Wl,/usr/lib/lib -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o bf_test bf_test.o -lm make[4]: *** [Makefile:970: term.o] Error 1
Created attachment 583124 [details] emerge --info
Upstream reference: https://sourceforge.net/p/gnuplot/mailman/message/34342174/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f799bef8d9836659126a079ed99e5510d1f08707 commit f799bef8d9836659126a079ed99e5510d1f08707 Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2019-07-23 07:17:27 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2019-07-23 07:18:51 +0000 sci-visualization/gnuplot: Fix compilation with USE=caca. Closes: https://bugs.gentoo.org/690014 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Ulrich Müller <ulm@gentoo.org> sci-visualization/gnuplot/files/gnuplot-5.2.6-caca.patch | 13 +++++++++++++ sci-visualization/gnuplot/gnuplot-5.2.6.ebuild | 1 + sci-visualization/gnuplot/gnuplot-5.2.7.ebuild | 1 + 3 files changed, 15 insertions(+)
The bug reappeared in gnuplot-5.4.0, and I am no longer sure whether the previous patch is the best way to fix this. Reported upstream: https://sourceforge.net/p/gnuplot/bugs/2351/
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2075d9f92611c4cbcb875bbf94cfbf75309c43a commit c2075d9f92611c4cbcb875bbf94cfbf75309c43a Author: Ulrich Müller <ulm@gentoo.org> AuthorDate: 2020-11-07 23:06:46 +0000 Commit: Ulrich Müller <ulm@gentoo.org> CommitDate: 2020-11-07 23:07:54 +0000 sci-visualization/gnuplot: Fix build with USE=libcaca. Compilation failed with USE="libcaca -ggi -wxwidgets -X". Fixed in 5.4.0-r2 and patch backported to 5.2.8. Closes: https://bugs.gentoo.org/690014 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Ulrich Müller <ulm@gentoo.org> .../gnuplot/files/gnuplot-5.2.6-caca.patch | 13 ------ .../gnuplot/files/gnuplot-5.2.8-caca.patch | 33 ++++++++++++++++ .../gnuplot/files/gnuplot-5.4.0-caca.patch | 46 ++++++++++++++++++++++ sci-visualization/gnuplot/gnuplot-5.2.8.ebuild | 2 +- .../gnuplot/gnuplot-5.4.0-r100.ebuild | 1 + sci-visualization/gnuplot/gnuplot-5.4.0-r2.ebuild | 1 + 6 files changed, 82 insertions(+), 14 deletions(-)