Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125844 - app-office/openoffice-2.0.2 failed to build under amd64
Summary: app-office/openoffice-2.0.2 failed to build under amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-11 08:42 UTC by Andreas Höhmann
Modified: 2006-03-11 10:34 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Höhmann 2006-03-11 08:42:35 UTC
********************************************************************
*                                                                  *
*   OpenOffice.org build configuration.                            *
*                                                                  *
*   The configure process checks your platform to see whether      *
*   you can build OpenOffice.org on it.                            *
*   This process checks all pre-requisites and generates a file    *
*   containing the necessary environment variables.                *
*   Source this file after configure has ended successfully.       *
*                                                                  *
*   Any warning that is generated during the configure process     *
*   must be taken into account since it can be a reason for        *
*   an unsuccessful build of OpenOffice.org                        *
*                                                                  *
********************************************************************

********************************************************************
*                                                                  *
*   Checking the platform pre-requisites.                          *
*                                                                  *
********************************************************************

checking for gawk... gawk
checking for gawk... /bin/gawk
checking for sed... /bin/sed
checking for solenv environment... default
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking whether to enable crashdump feature... no
checking whether to do a debug build... no
checking whether to build with additional debug utilities... no, full product build
checking whether to include symbols into final build... no
checking whether to enable native CUPS support... yes
checking whether to enable fontconfig support... yes
checking whether to enable filters for legacy binary file formats (StarOffice 5.2)... no
checking whether to enable the Access import pieces... no
checking whether to use RPATH in shared libraries... yes
checking whether to include MySpell dictionaries... yes
checking which shell to use... tcsh
checking for tcsh... /bin/tcsh
checking gcc home... /usr/lib/ccache
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for gcc... /usr/lib/ccache/bin/gcc
checking the GNU gcc compiler version... checked (gcc 3.4.5)
checking whether gcc supports -fvisibility=hidden... yes
checking for -Bdirect linker support ... found
checking for GNU make... make
checking the GNU make version... make 3.80
checking whether to enable Mono bindings... no
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking whether to disable vba feature... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking cups/cups.h usability... yes
checking cups/cups.h presence... yes
checking for cups/cups.h... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking whether to link to libpam... no, dynamically open it
checking whether to link to libcrypt... yes
checking for crypt in -lcrypt... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking the GNU C++ compiler version... checked (g++ 3.4.5)
checking whether g++ has the enum bug... no
checking for g++ include path... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3
checking exception type... dwarf2
checking for STLport4 headers... using internal stlport.
checking which memory allocator to use... system
checking for malloc... yes
checking for realloc... yes
checking for calloc... yes
checking for free... yes
checking whether to add custom build version... yes, Build 2.0.2
checking whether to build with Java support... yes
checking for java... /opt/sun-jdk-1.5.0.06/bin/java
checking the installed JDK... checked (JDK 1.5.0_06)
checking for javac... /opt/sun-jdk-1.5.0.06/bin/javac
checking for javadoc... /opt/sun-jdk-1.5.0.06/bin/javadoc
checking how to run the C preprocessor... gcc -E
checking how to run the C++ preprocessor... g++ -E
checking for perl... /usr/bin/perl
checking the Perl version... checked (perl 5)
checking for required Perl modules... all modules found
checking for dmake... no
dmake will be built on ./bootstrap
checking whether to enable EPM for packing... no
checking whether to build the ODK... yes
checking whether to build qadevOOo... yes
checking whether to provide libstdc++/libgcc_s in the installset... no
checking which zlib to use... external
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for deflate in -lz... yes
checking which jpeg to use... external
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_resync_to_restart in -ljpeg... yes
checking which expat to use... internal
checking which freetype to use... external
checking for pkg-config... /usr/bin/pkg-config
checking for freetype2 >= 2.0 ... yes
checking FREETYPE_CFLAGS... -I/usr/include/freetype2
checking FREETYPE_LIBS... -lfreetype -lz
checking which cairo to use... external
checking for cairo >= 0.5.2 ... yes
checking CAIRO_CFLAGS... -I/usr/include/cairo
checking CAIRO_LIBS... -lcairo
checking which libwpd to use... internal
checking which libxml to use... external
checking for libxml-2.0 >= 2.0 ... yes
checking LIBXML_CFLAGS... -I/usr/include/libxml2
checking LIBXML_LIBS... -lxml2 -lz -lm
checking which python to use... external
checking for a Python interpreter with version >= 2.2... python
checking for python... /usr/bin/python
checking for python version... 2.4
checking for python platform... linux2
checking for python script directory... ${prefix}/lib/python2.4/site-packages
checking for python extension module directory... ${exec_prefix}/lib64/python2.4/site-packages
checking which db to use... internal
checking which hsqldb to use... internal
checking which beanshell to use... internal
checking which xml-apis to use... internal
checking which xerces to use... internal
checking which xalan to use... internal
checking which xt to use... internal
checking which sablot to use... internal
checking which curl to use... internal
checking which boost to use... internal
checking which odbc headers to use... internal
checking whether to enable build of Mozilla/Mozilla NSS-using components... yes
checking whether to build Mozilla addressbook connectivity... no, not possible with system-mozilla
checking whether to build XML Security support... yes
checking whether to build LDAP configuration backend... yes
checking which LDAP SDK to use... OpenLDAP
checking ldap.h usability... yes
checking ldap.h presence... yes
checking for ldap.h... yes
checking for ldap_simple_bind_s in -lldap... yes
checking for ldap_set_option in -lldap... yes
checking which mozilla to use... external
checking whether to use Mozilla or Firefox or XULRunner... Mozilla
checking for mozilla-xpcom ... yes
checking MOZILLAXPCOM_CFLAGS... -I/usr/lib64/mozilla/include -I/usr/lib64/mozilla/include/xpcom -I/usr/lib64/mozilla/include/string -I/usr/lib64/mozilla/include/nspr
checking MOZILLAXPCOM_LIBS... -Wl,-rpath,/usr/lib64/mozilla -L/usr/lib64/mozilla -L/usr/lib -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl
checking for nspr ... yes
checking MOZ_NSPR_CFLAGS... -I/usr/include/nspr
checking MOZ_NSPR_LIBS... -Wl,-R/usr/lib64/nspr -L/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl
checking for nss... checking for mozilla-nss ... yes
checking MOZ_NSS_CFLAGS... -I/usr/lib64/mozilla/include/nss -I/usr/lib64/mozilla/include/nspr
checking MOZ_NSS_LIBS... -Wl,-rpath,/usr/lib64/mozilla -L/usr/lib64/mozilla -L/usr/lib -lnss3 -lsmime3 -lssl3 -lsoftokn3 -lplds4 -lplc4 -lnspr4 -lpthread -ldl
checking for PK11_GetCertFromPrivateKey in -lnss3... yes
checking for mozilla-plugin ... yes
checking MOZ_PLUGIN_CFLAGS... -I/usr/lib64/mozilla/include/java -I/usr/lib64/mozilla/include/plugin -I/usr/lib64/mozilla/include -I/usr/lib64/mozilla/include/xpcom -I/usr/lib64/mozilla/include/string -I/usr/lib64/mozilla/include/nspr
checking MOZ_PLUGIN_LIBS... -Wl,-rpath,/usr/lib64/mozilla -L/usr/lib64/mozilla -L/usr/lib -lxpcom -lplds4 -lplc4 -lnspr4 -lpthread -ldl
checking which sane header to use... internal
checking which icu to use... internal
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Xaw/Label.h usability... yes
checking X11/Xaw/Label.h presence... yes
checking for X11/Xaw/Label.h... yes
checking for XOpenDisplay in -lX11... yes
checking fontconfig/fontconfig.h usability... yes
checking fontconfig/fontconfig.h presence... yes
checking for fontconfig/fontconfig.h... yes
checking whether fontconfig is >= 2.2.0... yes
checking whether to link to Xrender... no, dynamically open it
checking which Xrender headers to use... external
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking which nas to use... internal
checking for xmkmf... no
configure: error: install xmkmf to run this script, include openwin in path
make: *** [stamp/build] Fehler 1

!!! ERROR: app-office/openoffice-2.0.2 failed.
Call stack:
  ebuild.sh, line 1933:   Called dyn_compile
  ebuild.sh, line 971:   Called src_compile

localhost ~ # emerge --info

Portage 2.1_pre5-r4 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.4-r0, 2.6.15-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.14
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/xgl-coffee"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 64bit X X509 a52 aac acpi alsa amarok apache2 artworkextra asf atk avi bash-completion berkdb bitmap-fonts bl bonobo bootsplash browserplugin bzip2 cairo ccache cpudetection crypt cups custom-cflags dbus dga dmx doc dri dvd dvdr dvdread eds emboss encode expat fat fbcon festival firefox font-server foomaticdb fortran fuse gatos gif gimp glitz gnokii gnome gpm gstreamer gtk gtk2 hal hpn idea ieee1394 imlib ipv6 java jce jikes jpeg kde libclamav lm_sensors log4j logitech-mouse lzw lzw-tiff moznocompose moznoirc moznomail mozsvg mp3 mp4live mpeg mplayer ncurses nls no-old-linux nptl nptlonly ntfs nvidia on-the-fly-crypt opengl openssh openssl osc pam pam_console pdflib perl png posix python qt quicktime readline real recode reiserfs rtc samba sdl sendmail shared sharedmem smime sockets spell sql ssl subtitles sysfs tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vim-with-x visualization wifi wma wmf wv x264 xanim xatrix xcomposite xext xinerama xml2 xpm xrandr xscreensaver xv xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-03-11 08:45:56 UTC
it's not marked amd64 or ~amd64
Comment 2 Andreas Höhmann 2006-03-11 09:18:03 UTC
(In reply to comment #1)
> it's not marked amd64 or ~amd64
> 

you are right. 

how can i build for amd64? 
where can i get informations? 

or is there no plan to provide amd64-support for openoffice under gentoo?
Comment 3 Andreas Höhmann 2006-03-11 09:36:27 UTC
i found xmkmf :)

echo "~x11-misc/imake-1.0.1" >> /etc/portage/packages.keywords
echo "~x11-misc/xorg-cf-files-1.0.1" >> /etc/portage/packages.keywords

echo "~x11-misc/imake-1.0.1" >> /etc/portage/packages.unmask
echo "~x11-misc/xorg-cf-files-1.0.1" >> /etc/portage/packages.unmask

emerge -vaD x11-misc/imake

(xmkmf is part of imake-tool-package)
Comment 4 Andreas Höhmann 2006-03-11 09:52:39 UTC
next missing tool was gccmakedep

echo "~x11-misc/gccmakedep-1.0.1" >> /etc/portage/packages.keywords
echo "~x11-misc/gccmakedep-1.0.1" >> /etc/portage/packages.unmask
Comment 5 Andreas Höhmann 2006-03-11 10:34:38 UTC
for later usage ... if oo2 got ~amd64/+amd64 flag ;) ... currently the build failed with some java-error ...

<snip>
register component 'javavm.uno.so' in registry '../../unxlngx6.pro/lib/uno_services.rdb' succesful!
regcomp -register  -br ../../unxlngx6.pro/misc/bridgetest/bootstrap.rdb -r ../../unxlngx6.pro/lib/uno_services.rdb -c \
        file:///var/tmp/portage/openoffice-2.0.2/work/ooo-build-2.0.2/build/OOO_2_0_2/testtools/source/bridgetest/../../unxlngx6.pro/class/testComponent.jar \
        -env:URE_INTERNAL_JAVA_DIR=file:///var/tmp/portage/openoffice-2.0.2/work/ooo-build-2.0.2/build/OOO_2_0_2/solver/680/unxlngx6.pro/bin
register component 'file:///var/tmp/portage/openoffice-2.0.2/work/ooo-build-2.0.2/build/OOO_2_0_2/testtools/source/bridgetest/../../unxlngx6.pro/class/testComponent.jar' in registry '../../unxlngx6.pro/lib/uno_services.rdb' failed!
error (RuntimeException): JNI exception occurred
using loader com.sun.star.loader.Java2
dmake:  Error code 1, while making '../../unxlngx6.pro/lib/uno_services.rdb'
dmake:  '../../unxlngx6.pro/lib/uno_services.rdb' removed.
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /var/tmp/portage/openoffice-2.0.2/work/ooo-build-2.0.2/build/OOO_2_0_2/testtools/source/bridgetest
make: *** [stamp/build] Fehler 1