Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196207 - sci-visualization/gnuplot-4.2.2 failed at creating texinfo
Summary: sci-visualization/gnuplot-4.2.2 failed at creating texinfo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-17 19:31 UTC by Dominique Michel
Modified: 2007-11-04 13:07 UTC (History)
3 users (show)

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


Attachments
config.log with original /usr/share/emacs hierarchy (config.log,125.95 KB, text/plain)
2007-10-21 10:05 UTC, Dominique Michel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique Michel 2007-10-17 19:31:50 UTC
When emerging gnuplot-4.2.2, it fail with:

Making install in docs
make[1]: Entering directory `/mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/docs'
../mkinstalldirs /mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih
mkdir -p -- /mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih
/usr/bin/install -c -m 644 gnuplot.gih /mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih/gnuplot.gih
Creating texinfo
Symbol's value as variable is void: load
make[1]: *** [gnuplot.texi] Error 255
make[1]: Leaving directory `/mnt/data/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 117:   Called die


Reproducible: Always

Steps to Reproduce:
1. emerge gnuplot
2.
3.

Actual Results:  
The build fail with the error above

Expected Results:  
That portage compile and install this package.

Other gentoo user seems to get it too: http://www.nabble.com/trouble-on-make-install-t3951083.html

According to this, it can maybe be related to emacs.
Comment 1 Dominique Michel 2007-10-17 19:52:14 UTC
# emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.19.1-rt15-3D-fb-alsaext i686)
=================================================================
System uname: 2.6.19.1-rt15-3D-fb-alsaext i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Mon, 15 Oct 2007 18:30:01 +0000
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.1.2-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
ALSA_CARDS="emu10k1 intel8x0 ens1370 bt87x mpu401 virmidi dummy usb-audio"
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"
ALSA_TOOLS="as10k1 ac3dec"
ANT_HOME="/usr/share/ant-core"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CG_COMPILER_EXE="/usr/bin/cgc"
CHOST="i686-pc-linux-gnu"
CLASSPATH="."
CLEAN_DELAY="5"
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISPLAY=":0.0"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--alphabetical --verbose"
EMERGE_WARNING_DELAY="10"
FEATURES="confcache distlocks metadata-transfer sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
FLTK_DOCDIR="/usr/share/doc/fltk-1.1.7-r2/html"
GCC_PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.1.2"
GCC_SPECS=""
GDK_USE_XFT="1"
GENERATION="2"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://gentoo.mirror.solnet.ch"
GUILE_LOAD_PATH="/usr/share/guile/1.8"
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/info:/usr/share/info/emacs-21"
INPUT_DEVICES="keyboard mouse"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KDEDIRS="/usr:/usr/local:/usr/kde/3.5"
KERNEL="linux"
LADSPA_PATH="/usr/lib/ladspa"
LANG="en_GB.UTF-8"
LANGUAGE="en_GB.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="fr en sv"
LOGNAME="root"
LS_COLORS="no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.18/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.1.2/man:/opt/blackdown-jdk-1.4.2.03/man:/etc/java-config/system-vm/man/:/usr/lib/php5/man/:/usr/kde/3.5/share/man:/usr/qt/3/doc/man:/opt/insight/man"
OPENGL_PROFILE="nvidia"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/ghc/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
PKGDIR="/usr/portage/packages"
PKG_CONFIG_PATH="/usr/qt/3/lib/pkgconfig"
PORTAGE_ARCHLIST="ppc s390 amd64 x86 ppc64 x86-fbsd m68k arm sparc sh mips ia64 alpha ppc-macos hppa sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn info error"
PORTAGE_ELOG_MAILFROM="portage"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="3"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
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_RSYNC_RETRIES="3"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_TMPFS="/dev/shm"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/test /usr/portage/local/layman/science /usr/portage/local/layman/zugaina /usr/portage/local/layman/kpex-media /usr/portage/local/layman/webapps-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/proaudio-dev"
PORT_LOGDIR="/var/log/portage"
PRELINK_PATH_MASK="/usr/lib/gstreamer-0.10:/usr/lib/klibc"
PWD="/root"
PYTHONPATH="/usr/lib/portage/pym"
QMAKESPEC="linux-g++"
QTDIR="/usr/qt/3"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O ${DISTDIR}/${FILE} ${URI}"
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/i686-pc-linux-gnu/gcc-bin/4.1.1:/opt/ghc/bin:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin"
RPMDIR="/usr/portage/rpm"
RUBYOPT="-rauto_gem"
SANE_CONFIG_DIR="/etc/sane.d"
SGML_CATALOG_FILES="/etc/sgml/sgml-docbook.cat:/etc/sgml/openjade-1.3.2.cat:/etc/sgml/linuxdoc.cat:/etc/sgml/xml-docbook-4.4.cat:/etc/sgml/sgml-ent.cat:/etc/sgml/xml-simple-docbook-1.0.cat:/etc/sgml/xml-simple-docbook-4.1.2.4.cat:/etc/sgml/xml-docbook-4.1.2.cat:/etc/sgml/sgml-docbook-3.0.cat:/etc/sgml/sgml-docbook-3.1.cat:/etc/sgml/sgml-docbook-4.0.cat:/etc/sgml/sgml-docbook-4.1.cat:/etc/sgml/sgml-docbook-4.2.cat:/etc/sgml/sgml-docbook-4.4.cat:/etc/sgml/sgml-lite.cat:/etc/sgml/dsssl-docbook-stylesheets.cat"
SHELL="/bin/bash"
SHLVL="1"
STAGE1_USE="nptl nptlonly unicode"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
SYNCH="rsync://rsync.europe.gentoo.org/gentoo-portage"
TERM="rxvt-unicode"
USE="X Xaw3d a52 aac acl acpi aim alsa amr apache2 arts audiofile avi berkdb bidi bitmap-fonts bxip2 bzip2 cairo cdparanoia cdr cjk clamav cli cracklib crypt css cups daap dbus dga dio div4linux dri dssi dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd evo exif expat fam ffmpeg fftw firefox flac flash fluidsynth foomaticdb fortran ftp gb gd gdbm gif gnome gphoto2 gpm graphviz gstreamer gtk gtk2 gtkhtml hal howl iconv icq ieee1394 imagemagick imlib ipv6 isdnlog jabber jack jack-tmpfs jackmidi java jbig jpeg jpeg2k kde kerberos ladspa lame lapack lash lcms ldap libedit libsamplerate libvisual mad matroska midi mikmod mime ming mmx mng motif mp3 mpeg mpi mplayer msn mtp mudflap mule musepack mysql nas ncurses nis nls nntp nptl nptlonly nsplugin odbc offensive ogg openal openexr opengl openmp oscar oss pam pcre pdf perl pic plotutils png posix postgres ppds pppd python qt3 qt3support qt4 quicktime readline recode reflection scanner sdl seamonkey session shorten slang slp sndfile sox speex spell spl sqlite sqlite3 sse sse2 ssl svg szip tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts unicode v4l vcd vorbis vst win32codecs wmf wxwindows x264 x86 xface xine xinerama xml xml2 xorg xosd xpm xv xvid yahoo zlib" ALSA_CARDS="emu10k1 intel8x0 ens1370 bt87x mpu401 virmidi dummy usb-audio" 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="fr en sv" USERLAND="GNU" VIDEO_CARDS="nv nvidia v4l vesa"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS USERLAND VIDEO_CARDS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="nv nvidia v4l vesa"
VMHANDLE="blackdown-jdk-1.4.2"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthR306jJ"
XDG_DATA_DIRS="/usr/share:/usr/kde/3.5/share:/usr/local/share"
_="/usr/bin/emerge"

Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-18 06:33:07 UTC
Please give the output of "emerge -pv gnuplot" and "eselect emacs list"
Comment 3 Dominique Michel 2007-10-18 18:53:00 UTC
Thanks, here they are:

# 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.0-r2] USE="X -doc emacs gd -ggi pdf plotutils (-png%*) readline -svga tetex%* wxwindows%* -xemacs" 0 kB 

Total: 1 package (1 upgrade), Size of downloads: 0 kB

# eselect emacs list
Available GNU Emacs symlink targets:
  [1]   emacs-21 *
  [2]   emacs-22

I am trying to switch to emacs-22 and re-merge gnuplot. I will report how it work.
Comment 4 Dominique Michel 2007-10-18 19:15:26 UTC
Well, I get exactly the same error with emacs-22.
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-19 06:02:49 UTC
(In reply to comment #4)
> Well, I get exactly the same error with emacs-22.

 For me it looks like a problem with an additional Emacs package.  Did you switch Emacs versions before?  Do a radical thing, move your ~/.emacs to a different location, rename the whole /usr/share/emacs hierarchy temporarily and try again, please.  And before you can check if there are any messages pointing to a problem in Emacs when you start it normally?  With the same USE flags I can't reproduce here, the rest looks sane, too.  Could you maybe attach the config.log?
Comment 6 Dominique Michel 2007-10-21 10:05:24 UTC
Created attachment 134009 [details]
config.log with original /usr/share/emacs hierarchy
Comment 7 Dominique Michel 2007-10-21 10:06:16 UTC
(In reply to comment #5)
>  For me it looks like a problem with an additional Emacs package.  Did you
> switch Emacs versions before?
Not 100% sure, but I don't think so.

>  Do a radical thing, move your ~/.emacs to a
> different location, rename the whole /usr/share/emacs hierarchy temporarily and
> try again, please.
I am trying just now

>  And before you can check if there are any messages pointing
> to a problem in Emacs when you start it normally?
I get the following message in emacs:

load-with-code-conversion: Symbol's value as variable is void: load
Comment 8 Dominique Michel 2007-10-21 10:19:33 UTC
When moving the emacs hierarchy, gnuplot fail with:

Making install in docs
make[1]: Entering directory `/mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/docs'
../mkinstalldirs /mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih
mkdir -p -- /mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih
/usr/bin/install -c -m 644 gnuplot.gih /mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/image//usr/share/gnuplot/gih/gnuplot.gih
Creating texinfo
Warning: arch-independent data dir (/usr/share/emacs/22.1/etc/) does not exist.
Warning: Lisp directory `/usr/share/emacs/22.1/site-lisp' does not exist.
Warning: Lisp directory `/usr/share/emacs/site-lisp' does not exist.
Warning: Lisp directory `/usr/share/emacs/22.1/lisp' does not exist.
Warning: Lisp directory `/usr/share/emacs/22.1/leim' does not exist.
Cannot open load file: encoded-kb
make[1]: *** [gnuplot.texi] Error 255
make[1]: Leaving directory `/mnt/data/var/tmp/portage/sci-visualization/gnuplot-4.2.2/work/gnuplot-4.2.2/docs'
make: *** [install-recursive] Error 1
Comment 9 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-23 06:15:12 UTC
(In reply to comment #7)
> >  And before you can check if there are any messages pointing
> > to a problem in Emacs when you start it normally?
> I get the following message in emacs:
> load-with-code-conversion: Symbol's value as variable is void: load

 Hmm, this looks typical for an emerge with a different version.  Could you please remerge everything from app-emacs/* you have and do an ls of your /usr/share/emacs/site-lisp/.  At the moment I can connect the function to a package and I need some testing material.
Comment 10 Canek Peláez Valdés 2007-10-28 20:14:54 UTC
It fails for me too, and I don't have emacs installed, only XEmacs (from the emacs overlay).
Comment 11 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-30 08:16:26 UTC
(In reply to comment #10)
> It fails for me too, and I don't have emacs installed, only XEmacs (from the
> emacs overlay).

 Canek, you surely have a different failure.  See bug 194216 and test the patch applied there.
Comment 12 Canek Peláez Valdés 2007-10-30 08:49:40 UTC
Christian: You're right, with the patch gnuplot now compiles with XEmacs 21.5.
Comment 13 Christian Faulhammer (RETIRED) gentoo-dev 2007-10-31 06:21:18 UTC
Dominique, I removed the Texinfo generation (that's where your build fails) entirely, as a pregenerated one is shipped in the Gnuplot tarball.  Could you please test if the info file is properly installed for you and report back (reopen this bug if necessary).  Thanks for your report.
Comment 14 Dominique Michel 2007-11-03 14:29:00 UTC
Sorry to be so late with this. gnuplot-4.0-r2 did it fine. Thanks for the fix.
Comment 15 Christian Faulhammer (RETIRED) gentoo-dev 2007-11-04 09:44:14 UTC
(In reply to comment #14)
> Sorry to be so late with this. gnuplot-4.0-r2 did it fine. Thanks for the fix.

 I hope you did not try 4.0-r2.  4.2.2-r1 is the one I want.
Comment 16 Dominique Michel 2007-11-04 13:07:32 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > Sorry to be so late with this. gnuplot-4.0-r2 did it fine. Thanks for the fix.
> 
>  I hope you did not try 4.0-r2.  4.2.2-r1 is the one I want.
> 

My mistake, it was 4.2.2-r1.