Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 324897 - app-office/openoffice-3.2.1: build failure - X11/Xaw/Label.h is present, but cannot be compiled
Summary: app-office/openoffice-3.2.1: build failure - X11/Xaw/Label.h is present, but ...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 01:05 UTC by Richard
Modified: 2010-06-25 21:31 UTC (History)
0 users

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


Attachments
build log of failure (build.log,1.12 MB, text/plain)
2010-06-21 01:07 UTC, Richard
Details
environment file from failure (environment,316.88 KB, text/plain)
2010-06-21 01:07 UTC, Richard
Details
config.log of directory that aborted. (config.log,77.46 KB, text/plain)
2010-06-25 20:44 UTC, Richard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard 2010-06-21 01:05:00 UTC
Open office's configure script fails saying that X11/Xaw/Label.h is present, but cannot be compiled.

Reproducible: Always

Steps to Reproduce:
1. emerge openoffice
Actual Results:  
Build failure

Expected Results:  
Successful build

This is a new installation of Gentoo Linux. I already have Open Office installed on the system, but I decided to add -gtk to my USE flags and recompile the system. Unfortunately, it seems that open office does not like that.

$ emerge --info =app-office/openoffice-3.2.1
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 21 Jun 2010 00:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -O2 -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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages multilib-strict news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"                                                                                    
LINGUAS="en"                                                                                                                           
MAKEOPTS="-j5"                                                                                                                         
PKGDIR="/usr/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="/var/lib/layman/java-overlay /var/lib/layman/vmware /var/lib/layman/sunrise /usr/local/portage"                       
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                                                                         
USE="X a52 aac acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gif gpm hal iconv ipv6 java jpeg kde lcms ldap libnotify lzma mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection sdl session spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 xcb xcomposite xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="snd-ctxfi" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"                                                                                                                       
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS                                                                                                                                

=================================================================
                        Package Settings
=================================================================

app-office/openoffice-3.2.1 was built with the following:
USE="cups dbus gtk java kde ldap (multilib) nsplugin opengl pam (-aqua) -bash-completion -binfilter -debug -eds -gnome -gstreamer (-kdeenablefinal) -odk -templates" LINGUAS="en -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el -en_GB -en_US -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"                                                  
CFLAGS="-march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -pipe -DGL_GLEXT_PROTOTYPES"
CXXFLAGS="-march=core2 -mtune=core2 -mcx16 -msahf -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=6144 -pipe -DGL_GLEXT_PROTOTYPES"
Comment 1 Richard 2010-06-21 01:07:04 UTC
Created attachment 236111 [details]
build log of failure

Here is some more information:

$ emerge -pqv =app-office/openoffice-3.2.1
[ebuild   R   ] app-office/openoffice-3.2.1  USE="cups dbus java kde ldap nsplugin opengl pam (-aqua) -bash-completion -binfilter -debug -eds -gnome -gstreamer -gtk* (-kdeenablefinal) -odk -templates" LINGUAS="en -af -ar -as_IN -be_BY -bg -bn -br -brx -bs -ca -cs -cy -da -de -dgo -dz -el -en_GB -en_US -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 2 Richard 2010-06-21 01:07:44 UTC
Created attachment 236113 [details]
environment file from failure
Comment 3 Rafał Mużyło 2010-06-25 13:23:22 UTC
What was in the config.log in the dir where the build aborted ?
Comment 4 Richard 2010-06-25 20:44:13 UTC
Created attachment 236563 [details]
config.log of directory that aborted.

(In reply to comment #3)
> What was in the config.log in the dir where the build aborted ?
> 

There was nothing of particular use. I am attaching it now.

I also made a thread on the Gentoo forums about this, where some progress was made in understanding the issue:

http://forums.gentoo.org/viewtopic-t-833316-highlight-.html
Comment 5 Richard 2010-06-25 21:31:01 UTC
I just did some more investigative work. It appears that the contents of /var/tmp/ccache somehow became corrupted. Building with FEATURES=-ccache fixes the problem, so I cleared my ccache directory and everything seems to be fine again.

This appears to be the result of a hash collision in ccache, as I have two machines that have exhibited this exact issue, but it is unlikely that I can determine the exact files that caused the collision, so I am just going to leave things be and mark this invalid.