Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307421 - app-office/openoffice-3.2.0 build fails "while making 'fix_system_lucene'"
Summary: app-office/openoffice-3.2.0 build fails "while making 'fix_system_lucene'"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-02 05:47 UTC by Matt Whitlock
Modified: 2010-03-02 23:12 UTC (History)
0 users

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


Attachments
build.log.bz2 (build.log.bz2,175.46 KB, application/octet-stream)
2010-03-02 05:50 UTC, Matt Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2010-03-02 05:47:44 UTC
Entering /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/transex3/source/help
echo Manifest-Version: 1.0 > ../../unxlngx6.pro/class/HelpLinker/META-INF/MANIFEST.MF               
echo "Solar-Version: 320m12(Build:9483)" >> ../../unxlngx6.pro/class/HelpLinker/META-INF/MANIFEST.MF
Fix Java Class-Path entry for Lucene libraries from system.                                         
sed: can't read ../../unxlngx6.pro/class/HelpLinker/META-INF/MANIFEST.MF: No such file or directory 
dmake:  Error code 2, while making 'fix_system_lucene'                                              

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.2.0/work/ooo/build/OOO320_m12/transex3/source/help                                                                                                                      
rmdir /var/tmp/portage/app-office/openoffice-3.2.0/temp/3cpShX4UUP                                                           
make: *** [stamp/build] Error 1                                                                                              
 * ERROR: app-office/openoffice-3.2.0 failed:                                                                                
 *   Build failed                                                                                                            
 *                                                                                                                           
 * Call stack:                                                                                                               
 *     ebuild.sh, line  48:  Called src_compile                                                                              
 *   environment, line 6103:  Called die                                                                                     
 * The specific snippet of code:                                                                                             
 *       make || die "Build failed"                                                                                          
 *                                                                                                                           
 * If you need support, post the output of 'emerge --info =app-office/openoffice-3.2.0',                                     
 * the complete build log and the output of 'emerge -pqv =app-office/openoffice-3.2.0'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.18"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/openoffice-3.2.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.2.0/temp/environment'.
 * S: '/var/tmp/portage/app-office/openoffice-3.2.0/work/ooo'


# emerge --info =app-office/openoffice-3.2.0                                                   
Portage 2.2_rc63 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11-r1, 2.6.31-gentoo-r6 x86_64)   
=================================================================                                            
                        System Settings                                                                      
=================================================================                                            
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.1    
Timestamp of tree: Mon, 01 Mar 2010 11:30:01 +0000                                                           
app-shells/bash:     4.1_p2                                                                                  
dev-java/java-config: 2.1.10                                                                                 
dev-lang/python:     2.6.4-r1, 3.1.1-r1                                                                      
dev-util/cmake:      2.8.0-r2                                                                                
sys-apps/baselayout: 2.0.1                                                                                   
sys-apps/openrc:     0.6.0-r1                                                                                
sys-apps/sandbox:    2.2                                                                                     
sys-devel/autoconf:  2.13, 2.65                                                                              
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1                                                                
sys-devel/binutils:  2.20-r1                                                                                 
sys-devel/gcc:       4.4.3                                                                                   
sys-devel/gcc-config: 1.4.1                                                                                  
sys-devel/libtool:   2.2.6b                                                                                  
virtual/os-headers:  2.6.32                                                                                  
ACCEPT_KEYWORDS="amd64 ~amd64"                                                                               
ACCEPT_LICENSE="* -@EULA"                                                                                    
CBUILD="x86_64-pc-linux-gnu"                                                                                 
CFLAGS="-march=native -O3 -ggdb -pipe"                                                                       
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O3 -ggdb -pipe"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_US en"
MAKEOPTS="-j5"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/overlay /var/lib/layman/java-overlay /var/lib/layman/sunrise /var/lib/layman/qting-edge /var/lib/layman/kde /var/lib/layman/lcd-filtering"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa amd64 berkdb bzip2 cairo cdparanoia cli consolekit cracklib crypt cups curl cxx dbus dri dvd dvdr dvdread encode exif fam ffmpeg flac gdbm geoip gif git gstreamer gtk hal iconv java java5 java6 jpeg kde lame lirc lzma mad matroska mjpeg mmx mmxext mng modules mp3 mpeg mudflap mysql ncurses nptl nptlonly nsplugin ogg opengl openmp pcre pdf perl phonon php png ppds pppd python qt4 quicktime rdesktop readline reflection sdl semantic-desktop session spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib theora threads tiff truetype unicode usb vdpau vnc vorbis webkit x264 xcb xcomposite xml xorg xv xvid yahoo 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_US en" LIRC_DEVICES="mceusb" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


# emerge -pqv =app-office/openoffice-3.2.0
[ebuild  N    ] app-office/openoffice-3.2.0  USE="cups dbus gstreamer gtk java kde nsplugin opengl (-aqua) -bash-completion -binfilter -debug -eds -gnome (-kdeenablefinal) -ldap -mono -odk -pam -templates" LINGUAS="en en_US -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el -en_GB -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi_IN -hr -hu -id -it -ja -ka -kk -km -kn_IN -ko -kok -ks -ku -lt -mai -mk -ml_IN -mn -mni -mr_IN -nb -ne -nl -nn -nr -ns -oc -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sa_IN -sat -sd -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -uz -ve -vi -xh -zh_CN -zh_TW -zu"
Comment 1 Matt Whitlock 2010-03-02 05:50:19 UTC
Created attachment 221753 [details]
build.log.bz2

The uncompressed build.log is 2800 KiB, so it exceeded the attachment size limit.
Comment 2 Matt Whitlock 2010-03-02 05:52:46 UTC
Oh, I set MAKEOPTS='' on the command line when I invoked emerge.  So I don't think this is a parallel build issue.
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2010-03-02 07:58:16 UTC
Which version of lucene and lucene-analyzers are you using? Also: Sure that your disk didn't run full?
Comment 4 Matt Whitlock 2010-03-02 08:10:10 UTC
(In reply to comment #3)
> Which version of lucene and lucene-analyzers are you using? Also: Sure that
> your disk didn't run full?

$ equery list lucene lucene-analyzers
 * Searching for lucene ...
[IP-] [  ] dev-java/lucene-1.9.1:1.9
[IP-] [  ] dev-java/lucene-2.3.2-r1:2.3

 * Searching for lucene-analyzers ...
[IP-] [  ] dev-java/lucene-analyzers-1.9.1-r1:1.9
[IP-] [  ] dev-java/lucene-analyzers-2.3.2:2.3

$ df -h /var/tmp/portage
Filesystem            Size  Used Avail Use% Mounted on
/dev/root             1.8T  1.7T  102G  95% /
Comment 5 Matt Whitlock 2010-03-02 12:44:20 UTC
I got it to work.  Apparently setting the MAXPROCESS [1] environment variable now breaks the build.  So we effectively have no reliable parallelism at all in the OOo build.  What a shame.

Sorry for the noise.  Closing this bug as INVALID.

[1] http://wiki.services.openoffice.org/wiki/Documentation/Building_Guide/Building_on_Linux#parallel_builds
Comment 6 Hanno Zysik (geki) 2010-03-02 13:02:16 UTC
I do parallel builds with two processes without a problem. Be assured, I fix issues that come up on that setup. See my overlay:
https://forums.gentoo.org/viewtopic-t-804244.html

AFAIS the gentoo openoffice ebuild parses MAKEOPTS.
So a 'MAKEOPTS="-j2" emerge openoffice' should succeed.

A build with four processes failed recently AFAIR. :)
Comment 7 Matt Whitlock 2010-03-02 23:12:35 UTC
(In reply to comment #6)
> AFAIS the gentoo openoffice ebuild parses MAKEOPTS.

It does, but that's different.  That's how many libraries you want to build in parallel.  MAXPROCESS is how many source files you want to compile in parallel.  Until now, the latter has built far more quickly and reliably.  See bug 267290, which addresses the difference.