Summary: | app-office/koffice-1.6.0-r2: fails to build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Serge Gavrilov <serge> |
Component: | New packages | Assignee: | Gentoo KDE team <kde> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | gentoo, outolumo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Koffice compile failure |
Description
Serge Gavrilov
2006-10-23 09:09:47 UTC
Reopen if you can reproduce with current stable gcc. Thanks. http://www.gentoo.org/doc/en/gcc-upgrading.xml Looks like this is not a compiler issue: http://bugs.kde.org/show_bug.cgi?id=126083 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 Created attachment 100325 [details]
Koffice compile failure
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? Looks like this is now fixed. Koffice 1.6 compiled and installed successfully now. 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 (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 :-/ 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 *** This bug has been marked as a duplicate of bug 129769 *** |