Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 194216 - sci-visualization/gnuplot-4.2.2 build fails in makeinfo
Summary: sci-visualization/gnuplot-4.2.2 build fails in makeinfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: XEmacs team
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-29 19:18 UTC by Jochen Schlick
Modified: 2007-10-31 06:19 UTC (History)
1 user (show)

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


Attachments
full build log (build.log,197.47 KB, text/plain)
2007-09-29 19:21 UTC, Jochen Schlick
Details
Patch for doc2texi to work with XEmacs 21.5 (doc2texi-xemacs-21.5-fix.patch,439 bytes, patch)
2007-10-26 07:30 UTC, Hans de Graaff
Details | Diff
Patch for gnuplot-4.2.2 ebuild (ebuild.patch,1.19 KB, text/plain)
2007-10-26 07:41 UTC, Hans de Graaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jochen Schlick 2007-09-29 19:18:45 UTC
Making or updating menus in *doc2texi*...done
Done...updated all the menus.  You may save the buffer.
Saving file /var/tmp/portage/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/docs/gnuplot.texi...
Wrote /var/tmp/portage/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/docs/gnuplot.texi
/bin/sh /var/tmp/portage/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/missing --run makeinfo -I. ./gnuplot.texi --no-split --output=gnuplot.info
./gnuplot.texi:283: Multiline command @example used improperly.
./gnuplot.texi:308: Multiline command @example used improperly.
./gnuplot.texi:335: Multiline command @example used improperly.
./gnuplot.texi:344: Multiline command @example used improperly.
./gnuplot.texi:10191: Multiline command @example used improperly.
./gnuplot.texi:10238: Multiline command @example used improperly.
./gnuplot.texi:10245: Multiline command @example used improperly.
./gnuplot.texi:10943: Multiline command @example used improperly.
./gnuplot.texi:19658: Multiline command @example used improperly.
./gnuplot.texi:19667: Multiline command @example used improperly.
./gnuplot.texi:19681: Multiline command @example used improperly.
makeinfo: Removing output file `gnuplot.info' due to errors; use --force to preserve.
make[1]: *** [gnuplot.info] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/docs'
make: *** [install-recursive] Error 1
 *
 * ERROR: sci-visualization/gnuplot-4.2.2 failed.
 * Call stack:
 *              ebuild.sh, line 1684:  Called dyn_install
 *              ebuild.sh, line 1119:  Called qa_call 'src_install'
 *              ebuild.sh, line   44:  Called src_install
 *   gnuplot-4.2.2.ebuild, line  117:  Called die
 * The specific snippet of code:
 *      make DESTDIR="${D}" install || die "make install failed"
 *  The die message:
 *   make install failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/portage/sci-visualization/gnuplot-4.2.2/temp/build.log'.
 *

Reproducible: Always
Comment 1 Jochen Schlick 2007-09-29 19:21:03 UTC
Created attachment 132195 [details]
full build log
Comment 2 Jochen Schlick 2007-09-29 19:22:11 UTC
Portage 2.1.3.11 (default-linux/amd64/2007.0/no-multilib, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r8 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Timestamp of tree: Sat, 29 Sep 2007 05:20:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.5.1-r2
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ "
LANG="C"
LINGUAS="en de"
MAKEOPTS="-j2 "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/xemacs /usr/portage/local/layman/xen /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X Xaw3d a52 aac aalib acct acl acpi aiglx aio alsa amarok amd amd64 amr ao apm arts asf audiofile autoreplace avi bash-completion berkdb binary-drivers bitmap-fonts boost branding cairo ccache cdb cdparanoia cdr cdrom cg chroot cli colordiff connectionstatus cpudetection cracklib crypt css cups curl cvs d dbase dbus debugger deprecated device-mapper dia diet directfb disk-partition dlloader dmi dnd dri dv dvd dvdnav dvdr dvdread dxr3 emboss encode exif extrafilters fat fbdev ffmpeg fftw fortran gdbm gif gnome gnutls gpm graphviz gstreamer gtk gtk2 hal iconv imagemagick imap ipv6 jack john jpeg kde kdm keyring lcd lcms libcaca lm_sensors logrotate lzo mad maildir mhash midi mjpeg mmap mmx mmxext mng mozilla mp2 mp3 mp3rtp mp4 mpeg mplayer mudflap mysql nat ncurses network-cron nls nptl nptlonly nsplugin ntfs ntlm nvidia ogg opengl openmp openssl pam pam_chroot pam_console pam_timestamp pcre pdflib perl png portaudio postproc postscript ppds pppd prelude python qmail qt3 qt3support qt4 quicktime rar readline realmedia reflection rrdtool rss rtc scanner sdl seamonkey session sftp sftplogging sockets socks5 spell spl sql sqlite sqlite3 sse sse2 ssl subversion svg swig sysfs sysvipc taglib tagwriting tcpd tcpwrapper theora threads tidy tiff timestats tomsfastmath tordns transcode truetype truetype-fonts type1-fonts udev unicode unix98 urandom usb utempter v4l v4l2 vcd vorbis vpopmail wifi wireshark wma wmf wmp wxwindows x264 xanim xattr xemacs xen xforms xfs xine xinetd xml xorg xosd xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-01 20:12:45 UTC
What is your version of app-xemacs/texinfo installed?
Comment 4 Jochen Schlick 2007-10-01 21:06:06 UTC
app-xemacs/texinfo-1.30
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-01 22:41:35 UTC
With stable x86 I cannot reproduce here, please provide the output of emerge -pv gnuplot and everything from app-xemacs/ you have installed.  Oh, and please tell which XEmacs version you have, I fear you use 21.5.28 from the overlay which is not supported by me/us.  So, try with the latest from the official tree and tell me if it still fails.
Comment 6 Jochen Schlick 2007-10-04 21:50:15 UTC
sorry for the delay.

yes xemacs is from overlay: Version 21.5.28

# emerge -pv gnuplot
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild     U ] sci-visualization/gnuplot-4.2.2 [4.2.0-r2] USE="X readline wxwindows xemacs -doc -emacs -gd -ggi -pdf -plotutils (-svga) -tetex" 0 kB


##################################

it compiles fine with official xemacs version 21.4.20-r5
Comment 7 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-05 18:36:49 UTC
(In reply to comment #6)
> it compiles fine with official xemacs version 21.4.20-r5

 Ok, then WONTFIX as discussed on email.  XEmacs maintainers for Gentoo are informed.

Comment 8 Hans de Graaff gentoo-dev Security 2007-10-06 16:49:18 UTC
I'll try to have a look at this when I have a bit of time and when xemacs 21.5 is getting closer to being ready for inclusion in the tree.
Comment 9 Hans de Graaff gentoo-dev Security 2007-10-06 16:50:12 UTC
I'll actually repopen, and reassign so that it doesn't get lost in the closed bugs.
Comment 10 Hans de Graaff gentoo-dev Security 2007-10-26 07:30:33 UTC
Created attachment 134401 [details, diff]
Patch for doc2texi to work with XEmacs 21.5

I believe that the problem is caused by a difference in handling newlines in XEmacs 21.5. I'll attach a patch that fixes this in a way that should also be save for GNU Emacs and XEmacs 21.4, but I haven't tested this yet with either. Some feedback on it would be nice.

Perhaps a more simple solution would be to patch the makefile and simply not re-generate the gnuplot.texi file. There really is no need given that it's already being distributed.
Comment 11 Hans de Graaff gentoo-dev Security 2007-10-26 07:31:47 UTC
Adding emacs back in to have a look at the patch from a GNU Emacs perspective.
Comment 12 Hans de Graaff gentoo-dev Security 2007-10-26 07:41:22 UTC
Created attachment 134404 [details]
Patch for gnuplot-4.2.2 ebuild

Looking at the xemacs support in the ebuild I also propose this patch for it. 

Note that currently xemacs is not multilib-safe at all, so using get_libdir on a system where /lib isn't a link to /lib64 will cause these files not to be found.
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-30 08:17:58 UTC
(In reply to comment #12)
> Created an attachment (id=134404) [edit]
> Patch for gnuplot-4.2.2 ebuild
> Looking at the xemacs support in the ebuild I also propose this patch for it. 

 Ok, this looks sane.
 
> Note that currently xemacs is not multilib-safe at all, so using get_libdir on
> a system where /lib isn't a link to /lib64 will cause these files not to be
> found. 

 Will be changed back.  Give me till the end of the week.
Comment 14 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-30 09:15:53 UTC
Has been reported upstream, see URL field.
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-31 06:19:24 UTC
Hans, your patch has been accepted upstream and I incorporated your proposed fixes (XEmacs support itself, disable Texi generation as a whole).

Jochen, could you please test gnuplot-4.2.2-r1 and see if the info file gets properly installed for you.

Thanks to everyone.