Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690014 - sci-visualization/gnuplot-5.2.6: ../term/caca.trm:2583:17: error: ‘GE_replot’ undeclared
Summary: sci-visualization/gnuplot-5.2.6: ../term/caca.trm:2583:17: error: ‘GE_replot’...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ulrich Müller
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2019-07-16 18:37 UTC by ernsteiswuerfel
Modified: 2020-11-07 23:08 UTC (History)
3 users (show)

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


Attachments
build.log (gnuplot-5.2.6:20190716-180452.log,54.16 KB, text/plain)
2019-07-16 18:37 UTC, ernsteiswuerfel
Details
emerge --info (file_690014.txt,5.98 KB, text/plain)
2019-07-16 18:38 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2019-07-16 18:37:43 UTC
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
Comment 1 ernsteiswuerfel archtester 2019-07-16 18:38:40 UTC
Created attachment 583124 [details]
emerge --info
Comment 2 Ulrich Müller gentoo-dev 2019-07-23 06:40:56 UTC
Upstream reference:
https://sourceforge.net/p/gnuplot/mailman/message/34342174/
Comment 3 Larry the Git Cow gentoo-dev 2019-07-23 07:19:01 UTC
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(+)
Comment 4 Ulrich Müller gentoo-dev 2020-11-07 08:28:09 UTC
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/
Comment 5 Larry the Git Cow gentoo-dev 2020-11-07 23:08:08 UTC
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(-)