Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148385 - app-office/koffice-libs-1.6_beta1 doesn't compile
Summary: app-office/koffice-libs-1.6_beta1 doesn't compile
Status: RESOLVED DUPLICATE of bug 129769
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-20 08:38 UTC by Frédéric COIFFIER
Modified: 2006-09-29 08:20 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 Frédéric COIFFIER 2006-09-20 08:38:52 UTC
It seems there is a problem with Ruby header files :

Making all in ruby
make[4]: Entering directory `/var/tmp/portage/koffice-libs-1.6_beta1/work/koffice-libs-1.6_beta1/lib/kross/ruby'
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX 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 -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline -march=athlon-xp -O2 -g2 -ggdb -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -fexceptions -c -o rubyinterpreter.lo `test -f 'rubyinterpreter.cpp' || echo './'`rubyinterpreter.cpp
/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: from previous declaration 'int eaccess(const char*, int)'
make[4]: *** [rubyinterpreter.lo] Erreur 1
make[4]: Leaving directory `/var/tmp/portage/koffice-libs-1.6_beta1/work/koffice-libs-1.6_beta1/lib/kross/ruby'
make[3]: *** [all-recursive] Erreur 1
make[3]: Leaving directory `/var/tmp/portage/koffice-libs-1.6_beta1/work/koffice-libs-1.6_beta1/lib/kross'
make[2]: *** [all-recursive] Erreur 1
make[2]: Leaving directory `/var/tmp/portage/koffice-libs-1.6_beta1/work/koffice-libs-1.6_beta1/lib'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/var/tmp/portage/koffice-libs-1.6_beta1/work/koffice-libs-1.6_beta1'
make: *** [all] Erreur 2

There were no problem with app-office/koffice-libs-1.5.2
dev-lang/ruby-1.8.4-r3 is installed
Comment 1 Frédéric COIFFIER 2006-09-29 04:39:06 UTC
Same problem with app-office/koffice-libs-1.6_rc1
Comment 2 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-29 05:09:23 UTC
Please, we need your `emerge --info`
Comment 3 Frédéric COIFFIER 2006-09-29 06:06:53 UTC
In fact, after an upgrade from dev-lang/ruby-1.8.4-r3 to dev-lang/ruby-1.8.5, app-office/koffice-libs-1.6_rc1 compiles fine.

So, either the problems was solved in ruby-1.8.5 or the recompilation of ruby has solved the header file conflict.

For information :
Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r8 i686)
=================================================================
System uname: 2.6.17-gentoo-r8 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.12.5
Last Sync: Thu, 28 Sep 2006 07:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.6-r1, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r1
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -g2 -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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="-march=athlon-xp -O2 -g2 -ggdb -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="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr"
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/portage-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac aalib acpi alsa apache2 apm arts asf avi berkdb bitmap-fonts bzlib cdr cjk cli crypt cups dbus debug dga divx4linux dlloader dri dts dvd dvdread eds elibc_glibc emboss encode examples exif fam fftw flash foomatic foomaticdb fortran ftp gd gdbm gif gimp gimpprint gphoto2 gpm gtk gtk2 hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog java jingle jpeg kde kernel_linux libg++ libwww linguas_fr mad mikmod mmx mng motif mozsvg mp3 mpeg musicbrainz ncurses network nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdf pdflib perl pic plotutils png povray pppd python qt qt3 qt4 quicktime readline reflection ruby samba scanner sdk sdl session spell spl splitdebug sse sse2 ssl subversion svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l2 video_cards_nv video_cards_nvidia vorbis wifi win32codecs wmf x86 xine xinerama xml xml2 xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-29 06:11:11 UTC
Changing resolution.
Comment 5 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-29 06:12:26 UTC
Resolving.
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-29 08:20:17 UTC
du..
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-29 08:20:33 UTC
..pe

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