Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152570 - app-office/koffice-1.6.0-r2: fails to build
Summary: app-office/koffice-1.6.0-r2: fails to build
Status: RESOLVED DUPLICATE of bug 129769
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-23 09:09 UTC by Serge Gavrilov
Modified: 2007-03-18 14:02 UTC (History)
2 users (show)

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


Attachments
Koffice compile failure (kofficeerr,6.56 KB, text/plain)
2006-10-23 14:06 UTC, Neil Skrypuch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Serge Gavrilov 2006-10-23 09:09:47 UTC
Compilation dies with the following error:

make[4]: Entering directory `/var/tmp/portage/koffice-1.6.0-r2/work/koffice-1.6.0/lib/kross/ruby'
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../lib/kross -I/usr/lib/ruby/1.8/i686-linux -I/usr/kde/3.5/
include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -W
char-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-ne
w -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF -fexceptions -c -o rubyinterpreter.lo rubyinterpreter.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/gthr-default.h:44,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/gthr.h:96,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/i686-pc-linux-gnu/bits/c++io.h:37,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/iosfwd:47,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_algobase.h:70,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/bits/stl_tree.h:66,
                 from /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3/map:66,
                 from rubyinterpreter.cpp:21:
/usr/include/unistd.h:266: error: declaration of `int eaccess(const char*, int) throw ()' throws different exceptions
/usr/lib/ruby/1.8/i686-linux/missing.h:43: error: than previous declaration `int eaccess(const char*, int)'
make[4]: *** [rubyinterpreter.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/koffice-1.6.0-r2/work/koffice-1.6.0/lib/kross/ruby'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/koffice-1.6.0-r2/work/koffice-1.6.0/lib/kross'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/koffice-1.6.0-r2/work/koffice-1.6.0/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/koffice-1.6.0-r2/work/koffice-1.6.0'
make: *** [all] Error 2

!!! ERROR: app-office/koffice-1.6.0-r2 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  koffice-1.6.0-r2.ebuild, line 84:   Called kde_src_compile
  kde.eclass, line 171:   Called kde_src_compile 'all'
  kde.eclass, line 338:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 334:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if relevant.


emerge --info:
Portage 2.1.1 (default-linux/x86/2006.1/desktop, gcc-3.4.4, glibc-2.4-r3, 2.6.16-suspend2-r8 i686)
=================================================================
System uname: 2.6.16-suspend2-r8 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 02:00:02 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.12-r6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
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/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="ru_RU.KOI8-R"
LINGUAS="en ru en_US en_GB"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi alsa apache2 arts asf audiofile avi beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt ctype cups dba dbus dlloader doc dri dts dvd dvdr eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile hal idn imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg jpeg2k kde kernel_linux lcms libg++ libwww linguas_en linguas_en_GB linguas_en_US linguas_ru lirc lirc_devices_avermedia98 mad mbox memlimit mikmod mmx mng motif mozilla mozsvg mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre pdflib perl png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets speex spell spl sse ssl tcltk tcpd theora threads tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l vcd video_cards_fglrx video_cards_mga video_cards_radeon video_cards_vesa vidix vorbis win32codecs x86 xinerama xml xml2 xorg xsl xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-23 09:13:27 UTC
Reopen if you can reproduce with current stable gcc. Thanks.

http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 2 Serge Gavrilov 2006-10-23 13:05:27 UTC
Looks like this is not a compiler issue:

http://bugs.kde.org/show_bug.cgi?id=126083
Comment 3 Neil Skrypuch 2006-10-23 14:05:24 UTC
I'm seeing this too. The error is too long to post here, I will attach it in a moment.

Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i686)
=================================================================
System uname: 2.6.18-gentoo i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 23 Oct 2006 02:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
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/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://x2-42/ http://gentoo.chem.wisc.edu/gentoo/ http://prometheus.cs.wmich.edu/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://x2-42/gentoo-portage"
USE="x86 X a52 aac aalib acpi aim alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 bzlib calender cdparanoia cdr cli cpdflib cracklib crypt cups curl curlwrappers cvs daap dga dio directfb dlloader dri dts dvd dvdread elibc_glibc emboss encode ethereal exif fbcon ffmpeg fftw flac foomaticdb fortran ftp gdbm gif glut gpm gtk gtk2 hal icq imlib input_devices_keyboard input_devices_mouse isdnlog java jpeg jpeg2k junit kde kernel_linux libg++ libwww linguas_en logitech-mouse mad mcal mikmod mime mmx mng motif mozilla mp3 mpeg msn musicbrainz ncurses nls nocd nptl nptlonly offensive ogg oggvorbis openal opengl oscar oss pam pcmcia pcre pdf pdflib perl png pnp ppds pppd python qt qt3 qt4 quicktime readline reflection sdl session slp sndfile sockets softmmu spell spl sql sse sse2 ssl subversion svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userland_GNU vcd video_cards_ati video_cards_radeon videos vorbis wifi win32codecs wmf xcomposite xine xml xorg xpm xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Neil Skrypuch 2006-10-23 14:06:45 UTC
Created attachment 100325 [details]
Koffice compile failure
Comment 5 Neil Skrypuch 2006-10-25 15:09:37 UTC
This apparently was fixed in ruby in January of this year, and I have ruby 1.8.5, but the problem still persists. If it's still broken with no workaround, shouldn't Koffice 1.6 be masked?
Comment 6 Neil Skrypuch 2006-10-26 16:50:52 UTC
Looks like this is now fixed. Koffice 1.6 compiled and installed successfully now.
Comment 7 Tuomas Nurmi 2006-10-31 12:10:36 UTC
I tried to compile koffice trunk from sources, with failure. Stack follows. It shows that this is a ruby issue, and people in #koffice informed me that this is gentoo specific. 

As it seems that I reproduced this on AMD64, I suggest the platform is changed to All.

[ 27%] Building CXX object libs/kross/ruby/CMakeFiles/krossruby.dir/rubyinterpreter.o
/usr/bin/c++   -Dkrossruby_EXPORTS   -Wnon-virtual-dtor -Wno-long-long -ansi -Wundef -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -fno-exceptions -fno-check-new -fno-common  -fexceptions -g3 -fno-inline -fPIC -I/home/kde4/koffice-build/libs/kross/ruby -I/home/kde4/koffice/libs/kross/ruby -I/home/kde4/koffice -I/home/kde4/koffice-build -I/home/kde4/koffice/libs/kofficecore -I/home/kde4/koffice-build/libs/kofficecore -I/home/kde4/koffice/libs/store -I/home/kde4/koffice-build/libs/store -I/home/kde4/koffice/libs/kross -I/home/kde4/qt-unstable/include -I/home/kde4/qt-unstable/include/Qt -I/home/kde4/qt-unstable/mkspecs/default -I/home/kde4/qt-unstable/include/QtCore -I/home/kde4/qt-unstable/include/QtGui -I/home/kde4/qt-unstable/include/Qt3Support -I/home/kde4/qt-unstable/include/QtAssistant -I/home/kde4/qt-unstable/include/QtDesigner -I/home/kde4/qt-unstable/include/QtNetwork -I/home/kde4/qt-unstable/include/QtOpenGL -I/home/kde4/qt-unstable/include/QtSql -I/home/kde4/qt-unstable/include/QtXml -I/home/kde4/qt-unstable/include/QtSvg -I/home/kde4/qt-unstable/include/QtUiTools -I/home/kde4/qt-unstable/include/QtTest -I/home/kde4/qt-unstable/include/QtDBus -I/home/kde4/kde/include -I/usr/local/include -I/usr/lib64/ruby/1.8/x86_64-linux   -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DHAVE_CONFIG_H=1 -o libs/kross/ruby/CMakeFiles/krossruby.dir/rubyinterpreter.o -c /home/kde4/koffice/libs/kross/ruby/rubyinterpreter.cpp
In file included from /usr/include/unistd.h:8,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/x86_64-pc-linux-gnu/bits/gthr-default.h:44,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/x86_64-pc-linux-gnu/bits/gthr.h:96,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/x86_64-pc-linux-gnu/bits/c++io.h:37,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/iosfwd:47,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/bits/stl_algobase.h:70,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/bits/stl_tree.h:66,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.6/include/g++-v3/map:66,
                 from /home/kde4/koffice/libs/kross/ruby/rubyinterpreter.cpp:22:
/usr/include/gentoo-multilib/amd64/unistd.h:266: error: declaration of `int eaccess(const char*, int) throw ()' throws different exceptions
/usr/lib64/ruby/1.8/x86_64-linux/missing.h:43: error: than previous declaration `int eaccess(const char*, int)'
make[2]: *** [libs/kross/ruby/CMakeFiles/krossruby.dir/rubyinterpreter.o] Error 1
make[2]: Leaving directory `/home/kde4/koffice-build'
make[1]: *** [libs/kross/ruby/CMakeFiles/krossruby.dir/all] Error 2
make[1]: Leaving directory `/home/kde4/koffice-build'
make: *** [all] Error 2
Comment 8 Tuomas Nurmi 2006-10-31 13:17:50 UTC
(In reply to comment #7)
> I tried to compile koffice trunk from sources, with failure. Stack follows. It
> shows that this is a ruby issue, and people in #koffice informed me that this
> is gentoo specific. 

Fixed. 

Mea culpa

I was missing ruby :-/
Comment 9 mikael lammentausta 2006-11-06 22:12:21 UTC
I got a similar issue with koffice-libs, didn't save the original error message though. Updating ruby solved the issue.

The ebuild koffice-libs should require >=dev-lang/ruby-1.8.5
Comment 10 Carsten Lohrke (RETIRED) gentoo-dev 2007-03-18 14:02:13 UTC

*** This bug has been marked as a duplicate of bug 129769 ***