Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 245054 - app-office/openoffice-3.0.0 USE="mono" - /usr/include/X11/extensions/XTest.h:50:35: error: X11/extensions/XInput.h: No such file or directory
Summary: app-office/openoffice-3.0.0 USE="mono" - /usr/include/X11/extensions/XTest.h:...
Status: RESOLVED INVALID
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: 2008-10-31 11:59 UTC by Maciej Józiewicz
Modified: 2008-12-03 12:13 UTC (History)
1 user (show)

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


Attachments
buildlog with error on saldisp.obj (openoffice-3.build.log.gz,327.03 KB, application/octet-stream)
2008-12-03 08:39 UTC, Florian Mickler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Józiewicz 2008-10-31 11:59:58 UTC
Tried with MAKEOPTS="-j1" also.

Reproducible: Always

Steps to Reproduce:
1. Try to emerge OOo3 with "templates" flag.
Actual Results:  
That's where it crashed:

-------------
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/unx/kde
KDE disabled - nothing to build
/var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/unx/source/app
Making: ../../../unxlngx6.pro/slo/i18n_cb.obj
Making: ../../../unxlngx6.pro/slo/i18n_ic.obj
Making: ../../../unxlngx6.pro/slo/i18n_im.obj
Making: ../../../unxlngx6.pro/slo/i18n_xkb.obj
Making: ../../../unxlngx6.pro/slo/i18n_wrp.obj
Making: ../../../unxlngx6.pro/slo/i18n_status.obj
Making: ../../../unxlngx6.pro/slo/i18n_keysym.obj
Making: ../../../unxlngx6.pro/slo/saldata.obj
Making: ../../../unxlngx6.pro/slo/saltimer.obj
Making: ../../../unxlngx6.pro/slo/saldisp.obj
In file included from /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/unx/source/app/saldisp.cxx:85:
/usr/include/X11/extensions/XTest.h:50:35: error: X11/extensions/XInput.h: No such file or directory
/usr/include/X11/extensions/XTest.h:104: error: 'XDevice' has not been declared
/usr/include/X11/extensions/XTest.h:114: error: 'XDevice' has not been declared
/usr/include/X11/extensions/XTest.h:124: error: 'XDevice' has not been declared
/usr/include/X11/extensions/XTest.h:133: error: 'XDevice' has not been declared
../../../inc/vcl/salobj.hxx:77: warning: unused parameter 'bEnable'
dmake:  Error code 1, while making '../../../unxlngx6.pro/slo/saldisp.obj'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0/work/ooo/build/ooo300-m9/vcl/unx/source/app
rmdir /tmp/23933
make: *** [stamp/build] Error 1
 * 
 * ERROR: app-office/openoffice-3.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5500:  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.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.07"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info


Expected Results:  
It should build fine ;]

szczerb@nomad ~ $ emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-rc2 x86_64)
=================================================================
System uname: 2.6.28-rc2 x86_64 Intel(R) Pentium(R) Dual CPU T2370 @ 1.73GHz
Timestamp of tree: Thu, 30 Oct 2008 21:45:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
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.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:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
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/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ ftp://ftp.vectranet.pl/gentoo/ http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl http://gentoo.po.opole.pl ftp://gentoo.po.opole.pl ftp://mirror.icis.pcz.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ "
LANG="pl_PL.utf8"
LC_ALL="pl_PL.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl en"
MAKEOPTS="-j1"
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/wschlich-testing /usr/portage/local/layman/x11"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apm avahi bash-completion berkdb bluetooth branding bzip2 cairo caps cddb cdr cli cracklib crypt css cups cxx dbus dga djvu doc dri dts dvd dvdr dvdread eds emboss encode esd evo exif fbcon ffmpeg flac fltk fortran ftp gd gdbm gif gimp glut gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk gtkhtml guile hal hddtemp iconv idn ieee1394 imagemagick imlib ipv6 java javascript jbig joystick jpeg jpeg2k kerberos lame latex lcms ldap libcaca libgda libnotify lm_sensors lzo mad matroska midi mikmod mime mmx mng mono mp3 mpeg mplayer mudflap multilib musepack ncurses networkmanager nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcmcia pcre pda pdf perl png portaudio ppds python qt3 qt3support qt4 quicktime rdesktop readline reflection samba scanner sdl session slang speex spell sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff tk truetype unicode usb vcd videos vim-syntax vorbis wavpack wifi wma wmf x264 xattr xine xinerama xml xorg xosd xpm xulrunner xv xvid 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="intel"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maciej Józiewicz 2008-10-31 14:32:29 UTC
Actually it won't build with the mono use flag - sorry the mistake.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2008-10-31 16:07:03 UTC
Which version of x11-proto/xextproto do you have?
Comment 3 Maciej Józiewicz 2008-11-01 16:59:40 UTC
I have x11-proto/xextproto-7.0.3 (which is ~amd64)
Comment 4 Andreas Proschofsky (RETIRED) gentoo-dev 2008-11-23 11:54:43 UTC
(In reply to comment #1)
> Actually it won't build with the mono use flag - sorry the mistake.
> 

So did you try without the mono use-flag or why do you think this should have anything to do with mono? 
Comment 5 Maciej Józiewicz 2008-11-25 21:19:15 UTC
Sorry for not updating on this matter. It built fine without mono. Then. I didt a lot of Xorg updating in that time so I'm not really sure which is it - but I can't rebuild it with any flags any more.

I found out when something about the binfilter flag was changed and OOo started appearing on my 'emerge -DuNva world'. It keeps failing ever since. Every time at the same moment.

It's described in this forum topic: (no need to duplicate it all here)
http://forums.gentoo.org/viewtopic-t-714071.html

At first I thought I was out of space - then I made sure I have space and it keeps on failing the same way.

Should I report another bug on this? Or can they be somehow connected?
Comment 6 Maciej Józiewicz 2008-11-26 06:43:19 UTC
All in all it was a rasqal problem. I added my comment to the right bug. Really sorry for making such a mess here ;/
Comment 7 Florian Mickler 2008-12-03 08:39:35 UTC
Created attachment 174138 [details]
buildlog with error on saldisp.obj
Comment 8 Florian Mickler 2008-12-03 08:44:01 UTC
thx for opening this.
 i had the same problem (also lot of xorg-upgrading done) and a google search for "openoffice saldisp.obj" turned this up.

i have lots of rasqual undefined references in my buildlog (attached) 

this should be closed as duplicate of 237556.. shouldn't it?
Comment 9 Florian Mickler 2008-12-03 08:53:27 UTC
i cannot change the summary line to:

"app-office/openoffice-3.0.0: Error code 1, while making '../../../unxlngx6.pro/slo/saldisp.obj' "

to reflect the actual error reported by the original poster instead of the wrong assumption (mono). 
Comment 10 Hanno Zysik (geki) 2008-12-03 09:00:27 UTC
@Florian
Just open another bugreport. It looks unrelated anyway. ;)
But I guess one of your inputproto issues is covered here:
http://bugs.gentoo.org/show_bug.cgi?id=213052#c4

The redefinition warning from X header to OOo header is evil.
One party should rename their definition.
Better both since generic name definitions just call for problems...
Comment 11 Florian Mickler 2008-12-03 12:13:05 UTC
i did fix the issue by emerging rasqal ( bug #237556 )
    this did fix all those undefined references but still the Xge.h failure (naturally... hmpf)

i then bumped up my installed xextproto-9999 which pulled a new version of Xge.h from git and this fixed the build. 

(note: i already was on an unstable x11-stack as i expirienced the build-failure)

thanx for looking into this and your help!