Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 253386 - app-office/openoffice-3.0.0: build fails and states: scp2 module need to be rebuilt
Summary: app-office/openoffice-3.0.0: build fails and states: scp2 module need to be r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-01 21:41 UTC by Gabriel Avanzi
Modified: 2009-01-12 00:08 UTC (History)
9 users (show)

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


Attachments
build.log from a failed build of openoffice-3.0.0 (build.log.lzma,626.32 KB, application/octet-stream)
2009-01-09 06:20 UTC, Neil Cathey
Details
build.log and environment (logs.7z,516.54 KB, application/octet-stream)
2009-01-09 14:20 UTC, Jacob Godserv
Details
Fix of the problem (scp2.missing-build-dependency.patch,1.41 KB, patch)
2009-01-11 11:58 UTC, David Tardon
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gabriel Avanzi 2009-01-01 21:41:13 UTC
Building app-office/openoffice-3.0.0 fails.

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice


Actual Results:  
Build of app-office/openoffice-3.0.0 failed.

Expected Results:  
app-office/openoffice-3.0.0 compiled successfull.

Checking DLL ../unxlngx6.pro/lib/check_libswuilx.so ...: ok
-rwxr-xr-x 1 root root 3043054 Jan  1 18:45 ../unxlngx6.pro/lib/libswuilx.so
Making: ../unxlngx6.pro/bin/swen-US.res
Making: ../unxlngx6.pro/bin/swpt-BR.res
using rsc multi-res feature
rsc -presponse @/var/tmp/portage/app-office/openoffice-3.0.0/temp/mktmUwYX > /dev/null
-------------
Running processes: 0
deliver -- version: 1.130
Module 'sw' delivered successfully. 263 files copied, 0 files unchanged

1 module(s): 
	scp2
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/scp2/source/extensions

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from scp2"

rmdir /tmp/23219
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5496:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build 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/app-office/openoffice-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 * 
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.17"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info

>>> Failed to emerge app-office/openoffice-3.0.0, Log file:

>>>  '/var/tmp/portage/app-office/openoffice-3.0.0/temp/build.log'

 * Messages for package app-office/openoffice-3.0.0:

 * 
 *  It is important to note that OpenOffice.org is a very fragile  
 *  build when it comes to CFLAGS.  A number of flags have already 
 *  been filtered out.  If you experience difficulty merging this  
 *  package and use agressive CFLAGS, lower the CFLAGS and try to  
 *  merge again. Also note that building OOo takes a lot of time and 
 *  hardware ressources: 4-6 GB free diskspace and 256 MB RAM are 
 *  the minimum requirements. If you have less, use openoffice-bin 
 *  instead. 
 * 
 *  Also if you experience a build break, please make sure to retry 
 *  with MAKEOPTS=-j1 before filing a bug. 
 * 
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5496:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build 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/app-office/openoffice-3.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/openoffice-3.0.0/temp/environment'.
 * 

Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-Intel-R-_Pentium-R-_D_CPU_3.20GHz-with-glibc2.2.5
Timestamp of tree: Wed, 31 Dec 2008 21:15:02 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.4.4-r13, 2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ "
LANG="pt_BR.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pt_BR"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="java X acl alsa amd64 berkdb bzip2 cairo cdr cli cracklib crypt dbus dri dvd dvdr emerald ffmpeg fortran gdbm glitz gnome gpm gtk hal iconv ipv6 isdnlog jpeg jpeg2k midi mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd unicode wma xcb xgl xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt_BR" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Tried with MAKEOPTS="-j1" twice already, does not work also.
Tell me if you need more info.
Thanks in advance.
Comment 1 Stephen Bunn 2009-01-03 03:06:52 UTC
Would like to confirm this

Running processes: 0
deliver -- version: 1.130
Module 'sc' delivered successfully. 168 files copied, 6 files unchanged

1 module(s): 
	scp2
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/scp2/source/extensions

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from scp2"

rmdir /tmp/8317
make: *** [stamp/build] Error 1

GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""

emerge --info
-------------
Portage 2.1.6.4 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo-Mahayana x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-Mahayana-x86_64-AMD_Phenom-tm-_9850_Quad-Core_Processor-with-glibc2.2.5
Timestamp of tree: Fri, 02 Jan 2009 08:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -msse3 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.daum.net/gentoo/ http://ftp.lecl.net/pub/gentoo/ ftp://ftp.kaist.ac.kr/gentoo/ ftp://ftp.daum.net/gentoo/ http://ftp.kaist.ac.kr/pub/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/desktop-effects /usr/portage/local/layman/xfce-dev /usr/portage/local/layman/sunrise /usr/portage/local/layman/emacs"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cdr cli cracklib crypt css dbus dri dvd dvdr dvdread eds emboss emerald encode evo fam fbcon firefox flac fortran ftp gdbm gif git gpm gstreamer gtk gzip hal hardened hddtemp iconv imap ipod isdnlog java java6 javascript jpeg libnotify libsamplerate lm_sensors lzo mad mailwrapper matroska midi mikmod mmx mp3 mpeg mplayer mudflap multilib ncurses netboot nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support quicktime rdesktop readline reflection samba session smartcard smp speex spell spl sqlite3 sse sse2 sse3 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis x264 xaw3d xcb xcomposite xfce xfce4 xml xorg xosd xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Stephen Bunn 2009-01-03 03:41:04 UTC
building with MAKEOPTS="-j1" FEATURES="" emerge -av openoffice was successful.  Based on the previous comments I think something in FEATURES caused the issue, I'll try later to figure out what it was.
Comment 3 Benjamin Lee 2009-01-03 11:57:56 UTC
FEATURES="-ccache" solved the problem for me but comment #0 does not show ccache enabled.

$ emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================
System uname: Linux-2.6.28-gentoo-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-glibc2.0
Timestamp of tree: Thu, 01 Jan 2009 22:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
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.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
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/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US ko"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa bash-completion berkdb branding bzip2 cairo cjk cleartype cli cracklib crypt css cups dbus dri dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif glitz gpm gtk iconv injection ipv6 isdnlog java java6 jpeg mad madwifi midi mmx mp3 mp4 mpeg mudflap ncurses new-login nls nptl nptlonly nsplugin opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt4 readline reflection sdl session spell spl sse sse2 ssl svg sysfs tcpd templates tiff truetype unicode usb vim-syntax visualization win32codecs x264 x86 xcb xinerama xorg xscreensaver xvid 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 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="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US ko" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 4 Daniel V. 2009-01-03 13:09:50 UTC
(In reply to comment #2)
> building with MAKEOPTS="-j1" FEATURES="" emerge -av openoffice was successful. 
> Based on the previous comments I think something in FEATURES caused the issue,
> I'll try later to figure out what it was.
> 

I've FEATURES="nodoc noinfo userfetch" set and i get the same error. I haven't touched MAKEOPTS, so this might help you.
Comment 5 Mario Bachmann 2009-01-04 21:10:58 UTC
similar problem here. i have 2 bad modules, not only the scp2.

app-office/openoffice-3.0.0  USE="binfilter%* cups dbus java opengl pam" LINGUAS="de"

my /etc/make.conf has:
  FEATURES="-userfetch metadata-transfer"
  MAKEOPTS="-j5"

2 module(s): 
        scp2
        helpcontent2
need(s) to be rebuilt

Reason(s):

ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/scp2/source/extensions
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/helpcontent2/util/sdatabase

Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command "build --from scp2 helpcontent2"

rmdir /tmp/28555
make: *** [stamp/build] Error 1

----------------------------------------------------------
emerge --info
Portage 2.1.6.4 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r0, 2.6.27.8 x86_64)
=================================================================
System uname: Linux-2.6.27.8-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-glibc2.2.5
Timestamp of tree: Sun, 04 Jan 2009 13:45:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-util/cmake:      2.6.2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.19
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -m3dnow -mmmx -msse -msse2 -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/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -m3dnow -mmmx -msse -msse2 -msse3"
DISTDIR="/mnt/data/gentoo/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans"
GENTOO_MIRRORS="rsync://duron/distfiles rsync://amd2000/distfiles ftp://mirror.qubenet.net/mirror/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.muntinternet.net/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ ftp://mirror.netcologne.de/gentoo/ ftp://mirror.cambrium.nl/pub/os/linux/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ ftp://de-mirror.org/distro/gentoo/ ftp://gentoo.tiscali.nl/pub/mirror/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/ http://de-mirror.org/distro/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://mirror.cambrium.nl/pub/os/linux/gentoo/ http://mirror.muntinternet.net/pub/gentoo/ http://gentoo.tiscali.nl/ http://mirror.qubenet.net/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/mnt/data/gentoo/packages"
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/portage_overlay"
SYNC="rsync://194.97.4.250/gentoo-portage"
USE="3dnow 3dnowext X aac acl acpi aiglx alsa amd64 berkdb bzip2 cli cracklib crypt cups dbus dri dvb dvd dvdr dvdread encode exif fam flac fortran gdbm glitz gpm hal iconv imagemagick imlib ipv6 isdnlog jpeg lcms lm_sensors midi mmx mmxext mp3 mudflap multilib ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre pdf perl png pppd python qt3support qt4 readline reflection sdl session smp spell spl sse sse2 sse3 ssl svg sysfs tcpd threads tiff truetype unicode usb v4l v4l2 vorbis wmf x264 xcomposite xine xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="hda-intel intel8x0" 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="alias auth_basic authn_file authz_groupfile authz_host authz_user autoindex deflate dir filter ident log_config logio mime status" DVB_CARDS="dibusb-usb1" ELIBC="glibc" INPUT_DEVICES="joystick keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nv nvidia vesa vga"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 pa4wdh 2009-01-04 21:40:36 UTC
I had the same problem, after recompiling with MAKEOPTS="-j1" it worked again.

More information about my situation can be found in this forum topic:
http://forums.gentoo.org/viewtopic-t-724028-start-0-postdays-0-postorder-asc-highlight-.html
Comment 7 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-04 21:56:03 UTC
(In reply to comment #5)
> similar problem here. i have 2 bad modules, not only the scp2.
> 

So try to rebuild with MAKEOPTS="-j1" ...
Comment 8 cyrillic 2009-01-05 05:36:09 UTC
I noticed the same thing.
The previous 3.0.0 version compiled fine with FEATURES="distcc" and MAKEOPTS="-j8"
The current 3.0.0.3.6 version fails unless you use MAKEOPTS="-j1"
Comment 9 mimosinnet 2009-01-05 09:40:56 UTC
I was unable to emerge OpenOffice and I am using MAKEOPTS="-j3" and
FEATURES="ccache parallel-fetch userfetch splitdebug".

Like Benjamin, I have successfully emerged OpenOffice with:

FEATURES="-ccache" emerge -av openoffice
Comment 10 Daniel V. 2009-01-05 16:05:31 UTC
I suggest that the ebuild should warn (or require) the user to use MAKEOPTS="-j1" _before_ building the whole thing, and not with the post-install messages.
Comment 11 Dmitry Dzhus 2009-01-05 17:22:49 UTC
I confirm this bug. I get exactly the same error when compiling with `MAKEOPTS="-j3"`, although turning off parallel building allowed me to emerge this package.


Here's my `emerge --info` output:

Portage 2.1.6.1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.28-rc8-git6 i686)
=================================================================
System uname: Linux-2.6.28-rc8-git6-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_5000+-with-glibc2.0
Timestamp of tree: Wed, 31 Dec 2008 17:00:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.7-r2
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms splitdebug strict test unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.ru/pub/Linux/gentoo"
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/x11 /usr/portage/local/layman/gnash-cvs /usr/portage/local/layman/mozilla /usr/portage/local/layman/sunrise /usr/portage/local/layman/science /usr/portage/local/layman/emacs /usr/portage/local/layman/lisp /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa applet bash-completion bluetooth branding bzip2 cairo cdda cdio cdparanoia cdr cjk cli context cpudetection cracklib crypt curl custom-cflags cyrillic dbus dhcp djvu doc dri dts dvd dvdr dvdread dvi emacs emboss encode evo exif extra fam ffmpeg firefox flac fontconfig fortran games gdbm gif gnome gnome-keyring gnutls gpg gpm graphics graphviz grub gs gsf gsl gstreamer gtk guile gzip hal iconv icu id3tag imagemagick imap imlib iptc isdnlog javascript jpeg kpathsea latex libburn libcaca libnotify mad matroska midi mikmod mozdevelop mp3 mpeg mudflap mzscheme ncurses nls nntp nptl nptlonly ocaml offensive ogg omega pam pcre pdf plugins png ppds pppd preview-latex publishers python qt3support quicktime readline reflection science sdl sdl-image session slang smp sound speex spell spl sqlite sqlite3 ssl svg sysfs t1lib theora threads tiff timidity tracker truetype unicode usb vorbis win32codecs wxwindows x86 xcb xetex xft xml xorg xulrunner xv 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 pa4wdh 2009-01-05 19:46:21 UTC
As far as i know the 2.x ebuilds enforced MAKEOPTS="-j1", so regardless of the setting in make.conf it was build without parallel processes. Maybe it's a good idea to re-introduce that behavior.
Comment 13 Mario Bachmann 2009-01-06 10:28:31 UTC
I do not _want_ to compile openoffice with "-j1" on my dual-core. excuse me. i own a dual core with 8 gb of ram to see "emerge" running, not walking :-)

i hope it will be possible to compile everything with at least "-j4" (-> quad cores are around) soon. 
Comment 14 Shaun Attfield 2009-01-06 19:39:51 UTC
I do not know if we need more confirmation, but I can confirm that on two very different systems I get that same results.
One system is ~x86 the other is ~amd64.

Emerging with -j3 fails and emerging with -j1 succeeds.
Comment 15 Alex Buell 2009-01-06 20:33:17 UTC
I'm getting the same error on all of my x86 boxes; Pentium II 400MHz, Pentium IV 2800MHz and AMD64 X2 4200MHz. They all stop at the same place; scp2. I am using distcc to distribute the build across these boxes. Since USE flags are different on these boxes it can't possibly be an USE flag. I believe this is definitely due to the parallel builds, maybe someone needs to ensure that the build of required modules are done in the correct order; otherwise it just whine about rebuilding scp2 etc., and fails... :S
Comment 16 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-08 14:54:21 UTC
(In reply to comment #12)
> As far as i know the 2.x ebuilds enforced MAKEOPTS="-j1", so regardless of the
> setting in make.conf it was build without parallel processes. Maybe it's a good
> idea to re-introduce that behavior.
> 

No, that's a simple bug which has to be fixed.

Still I don't quite see what is triggering this, the current patchset worked perfectly fine with -j3 when I tested it before putting it in portage. Did anyone already dive in the log file to find the actual error message? (due to the parallel build this doesn't show up at the end)
Comment 17 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-08 21:42:56 UTC
Just tried on two different x86 machines, one with -j2 and ccache one with -j3 and without ccache both built perfectly fine. So can't reproduce this atm.
Comment 18 Neil Cathey 2009-01-09 06:10:08 UTC
(In reply to comment #16)
[snip]
> Still I don't quite see what is triggering this, the current patchset worked
> perfectly fine with -j3 when I tested it before putting it in portage. Did
> anyone already dive in the log file to find the actual error message? (due to
> the parallel build this doesn't show up at the end)
> 

Here's what I see from my build.log (I'll attach it in a moment, with a big, fat warning):
=============
Building module scp2

[snip]

cpp.lcc -+ -P -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE-DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.0-alpha20090102/include/g++-v4 -DSUPD=300 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DGSTREAMER -DCUI -DSOLAR_JAVA   -DSYSTEM_DB -DWITHOUT_EXTENSION_MEDIAWIKI -DWITHOUT_EXTENSION_REPORTDESIGN -DWITHOUT_FONTOOO -DWITH_EXTENSION_INTEGRATION -DWITH_EXTENSION_SUN_TEMPLATE_PACK -DWITHOUT_FONTS -DUDK_MAJOR=3 -Ugcc3 -DCOMID=gcc3 -DCOMNAME=gcc3 -D_gcc3 -DCCNUMVER=000400040000 -DSHORTSTDCPP3=6 -DDLLPOSTFIX=lx -I. -I../../inc -I../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc/external -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/unxlngx6/inc -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/inc -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/res -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc/stl -I/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solenv/inc/Xp31 -I/opt/sun-jdk-1.6.0.11/include -I/opt/sun-jdk-1.6.0.11/include/linux -I/opt/sun-jdk-1.6.0.11/include/native_threads/include -Idefault_x_includes  module_extensions.scp > ../../unxlngx6.pro/misc/osl/module_extensions.pre
/usr/bin/perl -w modules.pl -i ../../source/templates/module_langpack_binfilter.sct -o ../../unxlngx6.pro/inc/alllangmodules_binfilter.inc.tmp && mv ../../unxlngx6.pro/inc/alllangmodules_binfilter.inc.tmp ../../unxlngx6.pro/inc/alllangmodules_binfilter.inc
cpp version 17.8.1999
In file included from /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc/basegfx/polygon/b2dpolypolygon.hxx:35,
                 from ../../inc/vcl/region.hxx:38,
                 from ../../inc/vcl/bitmap.hxx:38,
                 from ../../inc/vcl/graph.hxx:37,
                 from ../../inc/vcl/graphictools.hxx:40,
                 from ../../inc/vcl/pdfwriter.hxx:42,
                 from ./pdfwriter_impl.hxx:33,
                 from /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/source/gdi/pdfwriter.cxx:34:
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc/o3tl/cow_wrapper.hxx:281: warning: type qualifiers ignored on function return type
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/solver/300/unxlngx6.pro/inc/o3tl/cow_wrapper.hxx:285: warning: type qualifiers ignored on function return type
cpp: module_extensions.scp:132 Could not find include file "alllangmodules_extensions_root.inc"
dmake:  Error code 1, while making '../../unxlngx6.pro/par/osl/module_extensions.par'

[snip]

/usr/bin/perl -w modules.pl -i ../../source/templates/module_langpack_extensions_root.sct -o ../../unxlngx6.pro/inc/alllangmodules_extensions_root.inc.tmp && mv ../../unxlngx6.pro/inc/alllangmodules_extensions_root.inc.tmp ../../unxlngx6.pro/inc/alllangmodules_extensions_root.inc
Reading template file: ../../source/templates/module_langpack_extensions_root.sct
Wrote modules for 93 languages (930 lines)!

[end]

So, if I'm reading this right (parallel make makes this difficult), first "alllangmodules_extensions_root.inc"  is not found, then a few lines later, it is created.  If I'm reading that right...
Comment 19 Neil Cathey 2009-01-09 06:20:46 UTC
Created attachment 177844 [details]
build.log from a failed build of openoffice-3.0.0

OK, here's the build.log I said I'd attach.  And here's the warning:

I copied the ebuild from the portage tree and modified it to do the following:
A) Apply some patches so that it will compile with gcc-4.4
B) Remove the -O2 filter

I realize this is unsupported.  If you choose to disregard my posts, I understand.  That said, parallel make worked with my modified Revision 1.18 of openoffice-3.0.0, but fails with my modified Revision 1.19 unless I set MAKEOPTS="-j1".  So if I disable parallel make, I can get openoffice-3.0.0 to build with gcc-4.4_alpha with my modified ebuild.

If you do want to look at the build.log I've provided, you may want to look at line 54606, that's the file not found error.  Line 54621 seems to be where the "missing" file is created.
Comment 20 Jacob Godserv 2009-01-09 14:20:13 UTC
I can confirm this. I also used MAKEOPTS="-j2", but I'll try with "-j1" as well.

I'll be attaching logs and whatnot in a moment...
Comment 21 Jacob Godserv 2009-01-09 14:20:53 UTC
Created attachment 177876 [details]
build.log and environment
Comment 22 Jacob Godserv 2009-01-09 14:25:15 UTC
Oh, here's my emerge --info:

Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_1.80GHz-with-glibc2.0
Timestamp of tree: Fri, 09 Jan 2009 11:10:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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"   
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv xvid 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 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 auth_digest" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 23 Neil Cathey 2009-01-10 00:30:03 UTC
(In reply to comment #20)
> I can confirm this. I also used MAKEOPTS="-j2", but I'll try with "-j1" as
> well.
> 
> I'll be attaching logs and whatnot in a moment...
> 

Looking at your build.log, I see the same error:

[Line 46473]
cpp: module_extensions.scp:132 Could not find include file "alllangmodules_extensions_root.inc"
dmake:  Error code 1, while making '../../unxlngi6.pro/par/osl/module_extensions.par'

[Line 46537]
/usr/bin/perl -w modules.pl -i ../../source/templates/module_langpack_extensions_root.sct -o ../../unxlngi6.pro/inc/alllangmodules_extensions_root.inc.tmp && mv ../../unxlngi6.pro/inc/alllangmodules_extensions_root.inc.tmp ../../unxlngi6.pro/inc/alllangmodules_extensions_root.inc

I don't get that error when compiling with MAKEOPTS="-j1".
Comment 24 Jacob Godserv 2009-01-10 01:53:13 UTC
(10 hours of compiling later)

-j1 allowed the compile to succeed for me as well. However, I think that -j1 should be seen only as a workaround, and that this bug shouldn't be marked as resolved.
Comment 25 David Tardon 2009-01-11 11:58:17 UTC
Created attachment 178032 [details, diff]
Fix of the problem

The missing file, alllangmodules_extensions_root.inc, is built from scp2/source/templates, hence scp2/source/extensions must depend on that directory.
Comment 26 Neil Cathey 2009-01-11 18:29:01 UTC
(In reply to comment #25)
> Created an attachment (id=178032) [edit]
> Fix of the problem
> 
> The missing file, alllangmodules_extensions_root.inc, is built from
> scp2/source/templates, hence scp2/source/extensions must depend on that
> directory.
> 

Wait. Is that a patch for a patch that patches a patch?  Whoa.

Anyway, I added your patch to my overlay and tried a 

ebuild openoffice-3.0.0 clean unpack compile

and it successfully compiled with a quad-core AMD Phenom and MAKEOPTS="-j8".  Unfortunately, this isn't totally conclusive since the unpatched openoffice-3.0.0 would OCCASIONALLY succeed.  I'll try it again later when I have time to see if it's repeatable.

Comment 27 Brad Allen 2009-01-11 23:18:05 UTC
(In reply to comment #25)
> Created an attachment (id=178032) [edit]
> Fix of the problem
> 
> The missing file, alllangmodules_extensions_root.inc, is built from
> scp2/source/templates, hence scp2/source/extensions must depend on that
> directory.


I never got as far as the problem you guys had while I uncovered another bug biting me (which I finally fixed), but I profilactically added your patch, and it dutifully succeeded, with make -j2 running no problems.  This is a uniprocessor AMD64, at 4413.40 BogoMIPS (lpj=8826818), and completed in 5.8 hours:

1231690649: starting install of package app-office/openoffice-3.0.0:0::gentoo (1 of 1)
1231711558: finished install of package app-office/openoffice-3.0.0:0::gentoo (1 of 1)
1231711559: finished install of targets app-office/openoffice

I'm not surprised the developer with quad-core core 2 duo processors finished first.
Comment 28 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-12 00:08:36 UTC
The fix for this is in portage now, thanks (again) to David for the patch!