Package: gnuplot
Version: 4.2.4-5
Severity: serious
Justification: no longer builds from source

Hi,
gnuplot currently fails to build with libreadline (i.e. if i replace
--with-readline=bsd with --with-readline=gnu in debian/rules), it errors
on

i486-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I../term -I../term
-DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/lib/gnuplot\"
-DGNUPLOT_PS_DIR=\"/usr/share/gnuplot/gnuplot/4.2/PostScript\"
-DCONTACT=\"http://sourceforge.net/projects/gnuplot\";
-DHELPFILE=\"/usr/share/gnuplot/gnuplot.gih\" -I/usr/include  -Wall -g
-O2 -MT history.o -MD -MP -MF .deps/history.Tpo -c -o history.o
history.c
history.c: In function ‘write_history_list’:
history.c:355: error: ‘the_list’ undeclared (first use in this function)
history.c:355: error: (Each undeclared identifier is reported only once
history.c:355: error: for each function it appears in.)
history.c:395: warning: suggest parentheses around assignment used as
truth value

The error is apparrently caused by Debian patch 03_use_libedit.diff,
line 248
+    (const HIST_ENTRY *) *the_list = history_list();
Gnuplot builds successfully and seems to work fine if i change it to
+    HIST_ENTRY **the_list = history_list();
though i'm not familiar with the source so i don't know if it's correct
solution.

Regards
Anton Khirnov

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-rc6-zohar.a (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnuplot depends on:
ii  gnuplot-nox                   4.2.4-5    A command-line driven interactive
ii  gnuplot-x11                   4.2.4-5    A command-line driven interactive

gnuplot recommends no packages.

Versions of packages gnuplot suggests:
ii  gnuplot-doc                   4.2.4-5    A command-line driven interactive

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to