Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 192855 - sci-visualization/gnuplot-4.2.2 fails to build when xemacs is installed
Summary: sci-visualization/gnuplot-4.2.2 fails to build when xemacs is installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 193144
  Show dependency tree
 
Reported: 2007-09-17 21:00 UTC by Aldo Cassola
Modified: 2007-09-20 14:04 UTC (History)
4 users (show)

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


Attachments
The build log for USE=-xemacs emerge gnuplot (build.log,55.19 KB, text/plain)
2007-09-19 20:48 UTC, Aldo Cassola
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aldo Cassola 2007-09-17 21:00:43 UTC
make install for gnuplot-4.2.2 crashes.

Reproducible: Always

Steps to Reproduce:
1. emerge =sci-visualization/gnuplot-4.2.2
2. 
3.

Actual Results:  
The last lines of output are:

mkdir -p -- /var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih
/usr/bin/install -c -m 644 gnuplot.gih /var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih/gnuplot.gih
Creating texinfo
Inserting help for terminals ...
Analyzing doc file ...
Converting to texinfo ...
Menus, nodes, xrefs ...
Cannot open load file: texinfo
xemacs exiting
.
make[1]: *** [gnuplot.texi] Error 255
make[1]: Leaving directory `/var/tmp/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 1654:   Called dyn_install
 *   ebuild.sh, line 1089:   Called qa_call 'src_install'
 *   ebuild.sh, line 44:   Called src_install
 *   gnuplot-4.2.2.ebuild, line 114:   Called die
 *
 * 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/sci-visualization/gnuplot-4.2.2/temp/build.log'.
 *


Expected Results:  
Build and installation succed

emerge --info follows:
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-suspend2-r1-lean i686)
=================================================================
System uname: 2.6.22-suspend2-r1-lean i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Mon, 17 Sep 2007 17:00:01 +0000
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-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r4
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="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
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=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://rsync.namerica.gentoo.org http://mirror.datapipe.net/gentoo http://gentoo.mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en es"
MAKEOPTS="-j4"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi aim akode alsa amarok apache2 arts asm avi berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr cdrom cli cracklib crypt cups dbus dlloader dri dts dvd dvdr dvdread dvi eap-tls eds emboss encode esd evo exif fam fbsplash ffmpeg firefox flac flash foomaticdb fortran gdbm gif gimp gimpprint gnome gnutls gpm gstreamer gtk gtk2 hal iconv ipod ipv6 isdnlog jpeg kde kerberos ldap libg++ mad matroska midi mikmod mmx mmxext mp3 mp4 mpeg mpeg2 mplayer mudflap musicbrainz ncurses nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl opensslcrypt oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl subtitles svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32codecs x86 xine xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en es" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-19 15:35:46 UTC
You have what USE flags for gnuplot? (emerge -pv gnuplot)
Comment 2 Aldo Cassola 2007-09-19 15:44:54 UTC
$ 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 pdf readline svga -doc -emacs -gd -ggi -plotutils -tetex -wxwindows -xemacs" 0 kB
Comment 3 Aldo Cassola 2007-09-19 17:21:08 UTC
I have xemacs installed. Unmerging xemacs allows the make install to succeed. Changed the summary to reflect this fact.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-19 18:06:29 UTC
I cannot reproduce your problems with your set of USE flags.  Neither with stable XEmacs nor testing one.  Though the rest of the system here is stable.
Comment 5 Aldo Cassola 2007-09-19 20:00:23 UTC
(In reply to comment #4)
> I cannot reproduce your problems with your set of USE flags.  Neither with
> stable XEmacs nor testing one.  Though the rest of the system here is stable.
> 

After doing some tests, I have determined that app-editors/xemacs fails on this operation when app-xemacs/texinfo is not installed (sys-apps/texinfo is unrelated). Could you please do one last check to see if you can reproduce it now with this information?

I have looked into this, and I have seen several systems under my control exhibiting this problem. Somehow, texinfo is never pulled in...

Anyway, this seems to be turning into an xemacs bug after all.
Comment 6 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-19 20:12:20 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > I cannot reproduce your problems with your set of USE flags.  Neither with
> > stable XEmacs nor testing one.  Though the rest of the system here is stable.
> After doing some tests, I have determined that app-editors/xemacs fails on this
> operation when app-xemacs/texinfo is not installed (sys-apps/texinfo is
> unrelated). Could you please do one last check to see if you can reproduce it
> now with this information?

 There is no app-xemacs/texinfo installed here...and XEmacs is never called with your set of USE flags.  Are you sure you have no XEmacs support activated?
 
> Anyway, this seems to be turning into an xemacs bug after all.

 Partly.  Maybe the dependency must be updated for USE=xemacs but it should not be called at all with USE=-xemacs.
Comment 7 Aldo Cassola 2007-09-19 20:46:08 UTC
(In reply to comment #6)
>  There is no app-xemacs/texinfo installed here...and XEmacs is never called
> with your set of USE flags.  Are you sure you have no XEmacs support activated?

I am 100% sure. Even with 'USE=-xemacs emerge gnuplot' attempts to call xemacs at 'make install' (info, to be more exact) time. I am attaching build.log for the above emerge to aid in this. Notice that configure sees xemacs and then sets EMACS=xemacs on doc/Makefile.
 
>  Partly.  Maybe the dependency must be updated for USE=xemacs but it should not
> be called at all with USE=-xemacs.

I'm not sure about that. I thought USE=xemacs just installs lisp files, which AFAICS is unrelated to the error, which happens during texinfo documentation generation.
Comment 8 Aldo Cassola 2007-09-19 20:48:11 UTC
Created attachment 131337 [details]
The build log for USE=-xemacs emerge gnuplot
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-20 06:14:34 UTC
XEmacs team, please have a look at this issue, with regards on comments #5 and #6, build.log in #8.

Aldo, I will patch out XEmacs/GNU Emacs detection if none of the two USE flags is set, as that would be useless.
Comment 10 Christian Faulhammer (RETIRED) gentoo-dev 2007-09-20 07:27:50 UTC
Removing XEmacs team, you are not needed!  I should think about the meaning of three little letters and how they change the meaning of a sentence: "not".

I could not reproduce as Emacs is detected before XEmacs and I have both installed.  Now TeXInfo generation is only done when USE=emacs or xemacs, with the latter app-xemacs/texinfo is pulled in now. Please test my fix I just commited (wait half an hour to let it hit the rsync mirrors).

Dropping HPPA keyword, as the don't have app-xemacs/texinfo keyworded
Comment 11 Aldo Cassola 2007-09-20 14:04:16 UTC
Very well, I have tested it in my systems. (X)Emacs are not seen by configure when  no emacs keyword is present. We are good to go. Thanks, Christian.