During its build process openoffice needs the xmkmf, imake, and gccmakedep scripts/binaries - which exist in /usr/X11R6/bin. Unfortunately, the PATH used to build openoffice does not seem to include this on my system, causing the build to fail early on. Reproducible: Always Steps to Reproduce: I just symlinked the 3 files from /usr/X11R6/bin into /usr/bin - and it built successfully. Didn't work, mind - but that's for another bug :/
Can't reproduce that, the path is here on my system. Are you sure, that your xfree setup is correct, specifically do you have /etc/env.d/10xfree and does it contain PATH=/usr/X11R6/bin ? Anyway, I am quite sure, that this is no problem with openoffice-ximian
Hmm, strange... I do have /etc/env.d/10xfree: PATH=/usr/X11R6/bin ROOTPATH=/usr/X11R6/bin LDPATH=/usr/X11R6/lib MANPATH=/usr/X11R6/man INFODIR=/usr/X11R6/info XINITRC=/etc/X11/xinit/xinitrc CONFIG_PROTECT=/usr/X11R6/lib/X11/xkb Looking through the ebuild, the actions it performs, then the actions that OpenOffice performs as it builds, it seems that there is an autogenerated script (build.sh IIRC?) that OO creates that redefines the PATH variable (e.g. sets it to new values without including $PATH) - and this did not include /usr/X11R6/bin. This may be specific to my machine, but I'm not aware of having changed anything that would affect it. If it makes any difference, my system is up-to-date with the x86 branch, with a small number of ~x86 packages installed (mostly media players).
Actually the PATH variables are just taken from your system while bootstraping, so this shouldn't be a problem. Is /usr/X11R6/bin listed if you do printenv PATH in a root shell?
No further info has been provided and I can't reproduce it so closing this
Sorry for not responding - the disc in my laptop died, so I haven't been able to confirm the requested information. I believe, however, that /usr/X11R6/bin has always been, correctly, in the $PATH for all users. Once I get my machine back (from Sony, natch... could be *ages*) I'll confirm, and reopen this bug if necessary. Thanks guys!
w00t - Sony returned my laptop within 4 days! callisto root # printenv PATH /home/bin:/usr/bin/wrappers:/bin:/sbin:/usr/bin:/usr/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/intel/compiler70/ia32/bin:/opt/Acrobat5:/opt/stuffit/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/bin:/usr/share/qt/2/bin:/opt/interbase/bin:/usr/games/bin:/usr/i686-pc-linux-gnu/gcc-bin/3.3:/opt/intel/compiler70/ia32/bin:/opt/Acrobat5:/opt/stuffit/bin:/usr/X11R6/bin:/opt/blackdown-jdk-1.4.1/bin:/opt/blackdown-jdk-1.4.1/jre/bin:/usr/qt/3/bin:/usr/kde/3.1/sbin:/usr/kde/3.1/bin:/usr/share/qt/2/bin:/opt/interbase/bin So it looks as if it's there twice, for good measure :) If it's any use (which I doubt) here's a chunk from the initial bulid output on my system: mkdir ./unxlngi4.pro/misc/build/nas-1.6/ mkdir: cannot create directory `./unxlngi4.pro/misc/build/nas-1.6/': File exists cd ./unxlngi4.pro/misc/build/nas-1.6/ && xmkmf && touch so_configured_nas xmkmf: Command not found. dmake: Error code 1, while making './unxlngi4.pro/misc/build/so_configured_nas' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.1.49.2/work/oo_1.1_src/nas !!! ERROR: app-office/openoffice-ximian-1.1.49.2 failed. !!! Function src_compile, Line 402, Exitcode 1 !!! Build failed! ... and here's the build output once I'd symlinked xmkmf from /usr/X11R6/bin into /usr/bin: ============ Building project nas ============= /var/tmp/portage/openoffice-ximian-1.1.49.2/work/oo_1.1_src/nas ------------- mkdir ./unxlngi4.pro/misc/build/nas-1.6/ mkdir: cannot create directory `./unxlngi4.pro/misc/build/nas-1.6/': File exists cd ./unxlngi4.pro/misc/build/nas-1.6/ && xmkmf && touch so_configured_nas mv -f Makefile Makefile.bak imake -DUseInstalled -I/usr/X11R6/lib/X11/config /usr/bin/xmkmf: line 68: imake: command not found dmake: Error code 127, while making './unxlngi4.pro/misc/build/so_configured_nas' ---* TG_SLO.MK *--- ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-ximian-1.1.49.2/work/oo_1.1_src/nas !!! ERROR: app-office/openoffice-ximian-1.1.49.2 failed. !!! Function src_compile, Line 402, Exitcode 1 !!! Build failed! It did compile after symlinking xmkmf, imake, and (I think) gccmakedep. As I mentioned previously, I have a look though the OO-ximian build script (i.e. the one generated by the OO build routine itself, *not* the ebuild) and at one point it seemed to rebuild its own $PATH, without keeping the old one. This new set of PATH entries was fairly short, but did not include /usr/X11R6/bin. Any ideas where best to look next?
Do you still get that with recent versions of oox?
No feedback for months, so closing this