Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145376 - koffice-1.5.2-r1 fails compiling
Summary: koffice-1.5.2-r1 fails compiling
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 171074 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-08-28 10:30 UTC by Steven
Modified: 2007-03-15 19:54 UTC (History)
3 users (show)

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 Steven 2006-08-28 10:30:15 UTC
/bin/sh ../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++  -Wno-lo
ng-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversio
n -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -march=athl
on-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64 -ffast-math -ftracer -
fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -Wno-non
-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -D
QT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DHAVE_KNEWSTUFF
   -Wl,-O1 -o kchart.la -rpath /usr/lib/kde3 -L/usr/kde/3.5/lib -L/usr/qt/3/lib
-L/usr/lib    -L/usr/kde/3.5/lib -module -avoid-version -module -no-undefined -W
l,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R /usr/kde/3.5/lib -R
/usr/qt/3/lib -R /usr/lib -R /usr/kde/3.5/lib  kchart_dummy.lo libkdeinit_kchart
.la
.libs/kchart_part.o: In function `KChart::KChartPart::createDisplayData()':
kchart_part.cc:(.text+0x6157): undefined reference to `KDChartVectorTableData::r
ows() const'
kchart_part.cc:(.text+0x6168): undefined reference to `KDChartVectorTableData::c
ols() const'
kchart_part.cc:(.text+0x63f2): undefined reference to `KDChartVectorTableData::r
ows() const'
kchart_part.cc:(.text+0x6451): undefined reference to `KDChartVectorTableData::c
ols() const'
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld: warni
ng: creating a DT_TEXTREL in object.
collect2: ld returned 1 exit status
make[3]: *** [libkchartcommon.la] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/zzz/tmp/portage/koffice-1.5.2-r1/work/koffice-1.5.2                                          /kchart'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/zzz/tmp/portage/koffice-1.5.2-r1/work/koffice-1.5.2                                          /kchart'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/zzz/tmp/portage/koffice-1.5.2-r1/work/koffice-1.5.2                                          '
make: *** [all] Error 2

!!! ERROR: app-office/koffice-1.5.2-r1 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  koffice-1.5.2-r1.ebuild, line 74:   Called kde_src_compile
  kde.eclass, line 166:   Called kde_src_compile 'all'
  kde.eclass, line 325:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 321:   Called die


Portage 2.1.1_rc1-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.4
Last Sync: Mon, 28 Aug 2006 16:50:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64 -ffast-math -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer -falign-functions=64 -ffast-math -ftracer -fvisibility-inlines-hidden"
DISTDIR="/zzz/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.roedu.net/pub/mirrors/gentoo.org http://ftp1.lug.ro/gentoo"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="ro"
MAKEOPTS="-j2"
PKGDIR="/zzz/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="/zzz/tmp"
PORTDIR="/zzz/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.ro/gentoo-portage"
USE="x86 X alsa apache2 apm arts avi bitmap-fonts cairo cdr cli crypt dlloader dri dvd dvdr elibc_glibc encode gdbm gif glitz gpm gstreamer gtk2 hal imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww linguas_ro mad mikmod mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl pam pcre pdflib perl png pppd python qt3 qt4 readline reflection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Maarten Billemont 2006-09-06 01:14:43 UTC
Same issue.

Portage 2.1.1_rc1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 i686)
=================================================================
System uname: 2.6.17-ck1-r2 i686 AMD Sempron(tm) Processor 3100+
Gentoo Base System version 1.12.4
Last Sync: Sat, 02 Sep 2006 22:50:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -g -ftracer -falign-functions=32"
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"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O3 -pipe -g -ftracer -falign-functions=32 -fvisibility-inlines-hidden"
DISTDIR="/var/tmp/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache collision-detect confcache distcc distlocks metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://213.186.33.37/gentoo-distfiles/ ftp://mirror.icis.pcz.pl/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.mirror.icd.hu/ ftp://212.219.56.131/sites/www.ibiblio.org/gentoo/ ftp://gentoo.inode.at/source/ http://gentoo.osuosl.org/distfiles/"    
LANG="en_US.UTF-8" 
LC_ALL="en_US.UTF-8"
LINGUAS="en_CA en_GB en en_US nl_BE nl nl_NL"
MAKEOPTS="-j4"     
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://ftp.belnet.be/gentoo-portage/"
USE="3dnow 3dnowex 3dnowext 3ds X a52 aac aalib acpi alsa ao apm asf async automount avi bash-completion bitmap-fonts bzip2 cairo cdr cegui cjk cli clock-screen crypt cscope cups curl dbus dga dio directfb divx4linux dlloader dpms dri dvd dvdread eds elibc_glibc emboss encode erandom exif fam fat fbcon fbsplash ffmpeg foomaticdb fortran ftp gdbm ggi gif glitz glut gnome gnutls gpgme gpm gstreamer gtk gtk2 hal hfs hpn i8x0 imagemagick imlib input_devices_evdev input_devices_keyboard input_devices_linux input_devices_mouse isdnlog jabber java javascript jpeg jpeg2k junit kde kdeenablefinal kdehiddenvisibility kdenewldflags kerberos kernel_linux key-screen libcaca libg++ libwww linguas_en linguas_en_CA linguas_en_GB linguas_en_US linguas_nl linguas_nl_BE linguas_nl_NL linuxthreads-tls logrotate mad mikmod mmap mmx mmx2 mmxext mng motif mouse mozcalendar moznocompose moznoirc moznomail mp3 mpeg msn msnextras nas ncurses nethack nls no_helper nptl nptlonly nsplugin ntfs nvidia offensive ogg oggvorbis opengl openssl oscar oss pam pam_chroot pam_console pam_timestamp pcre pdf pdflib perl pic png pop pppd pulseaudio python qt3 qt4 quicktime readline real reflection reiser4 reiserfs rtc samba sblive sdl search-screen session skey slang smime socks5 spell spl sse sse2 ssl sun-jdk svg svga swat syslog tcpd threads tiff timidity truetype truetype-fonts type1-fonts udev underscores unicode urandom usb userland_GNU userlocales video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vim-pager vorbis win32codecs winbind x86 xcomposite xgetdefault xml xml2 xorg xrandr xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS


/guess gcc 4.1.1
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-08 12:54:10 UTC
Can't reproduce. Probably due to using vanilla gcc?

Also: Don't use confcache, it's broken and hard masked therfore. Don't use -ftracer and -ffast-math. Both break lots of code, sometimes very subtly.
Comment 3 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-08 17:08:14 UTC
(In reply to comment #2)
> Can't reproduce. Probably due to using vanilla gcc?

Now portage shows Gentoo-patched GCC as gcc/vanilla. It's the supported one. I also overlooked this change about 2 weeks ago in another bug.
Comment 4 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-08 17:13:16 UTC
This bug is probably a duplicate of Bug #64615

Please follow the following guide
http://www.gentoo.org/doc/en/gcc-upgrading.xml
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-09 15:03:28 UTC
(In reply to comment #3)
> Now portage shows Gentoo-patched GCC as gcc/vanilla.

Only if you have built gcc with vanilla use flag.
Comment 6 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-09 15:59:34 UTC
(In reply to comment #5)
> (In reply to comment #3)
> > Now portage shows Gentoo-patched GCC as gcc/vanilla.
> Only if you have built gcc with vanilla use flag.

Unfortunately that's what I thought but it's not correct. Portage will show gcc/vanilla even if you do not use the vanilla use flag. You can check your own emerge --info, as well as the ones in comment #0 and comment #1.
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2006-09-09 17:06:57 UTC
(In reply to comment #6)
> You can check your own emerge --info, as well as the ones in comment #0 and comment #1.

None of the guys in the above comments did say that he didn't add the use flag in /etc/portage/package.use and these flags do not show up. And do you really think, I'd not look at least at my emerge --info output, before stating this?

Comment 8 Ioannis Aslanidis (RETIRED) gentoo-dev 2006-09-09 17:43:20 UTC
http://bugs.gentoo.org/show_bug.cgi?id=143799

------- Comment #9 From Ryan Hill (x86 AT) 2006-08-13 11:51 PST [reply] ------- 
vanilla is the base gentoo gcc (ie. without ssp or pie), not vanilla GCC from
upstream or GCC built with the vanilla flag.  confused yet?  blame the new
gcc-config eselect crud. ;d

dirtyepic@deep13 ~ $ gcc-config -l
Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-3.3.6/vanilla
  [2]   i686-pc-linux-gnu-3.4.6/vanilla
  [3]   i686-pc-linux-gnu-4.0.3/vanilla
  [4]   i686-pc-linux-gnu-4.1.1/vanilla
  [5]   i686-pc-linux-gnu-4.1.2-pre20060811/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.2-pre20060811/vanilla
Comment 9 Stephan Diestelhorst 2006-09-22 01:57:11 UTC
Got the same issue here!
Will try with saner CFLAGS later!
MAKEOPTS has been -j2 and -j1, same isue!
No issue with vanilla GCC, see below!

> gcc-config -l
 [1] i686-pc-linux-gnu-3.3.6
 [2] i686-pc-linux-gnu-3.3.6-hardened
 [3] i686-pc-linux-gnu-3.3.6-hardenednopie
 [4] i686-pc-linux-gnu-3.3.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.3.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.6
 [7] i686-pc-linux-gnu-3.4.6-hardened
 [8] i686-pc-linux-gnu-3.4.6-hardenednopie
 [9] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [10] i686-pc-linux-gnu-3.4.6-hardenednossp
 [11] i686-pc-linux-gnu-4.1.1 *

>emerge --info
Portage 2.1.1_rc1-r4 (default-linux/x86/2005.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.4
Last Sync: Tue, 05 Sep 2006 14:50:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r3
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mfpmath=sse,387 -mmmx -msse -msse2 -pipe -frename-registers -fweb -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mfpmath=sse,387 -mmmx -msse -msse2 -pipe -frename-registers -fweb -ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
LINGUAS="de"
MAKEOPTS="-j1"
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.europe.gentoo.org/gentoo-portage"
USE="x86 X aac acpi alsa apm arts asf avi berkdb bitmap-fonts bluetooth cdr cli crypt cups dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode fbcon ffmpeg foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 hal icq imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux libg++ libwww linguas_de mad matroska mikmod mime motif mp3 mpeg mplayer msn ncurses nls nptl nptlonly ogg oggvorbis opengl oscar oss pam pcre pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl session spell spl sse ssl svg tcpd tetex truetype truetype-fonts type1-fonts usb userland_GNU video_cards_fbdev video_cards_radeon video_cards_vesa video_cards_vmware vorbis win32codecs xml2 xmms xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Rene Gass 2006-10-02 00:37:37 UTC
I had the same problem but was able to solve it by removing
-fvisibility-inlines-hidden
Comment 11 Rene Gass 2006-10-02 13:39:34 UTC
Dito for koffice-1.6_rc1, btw.
Comment 12 Rene Gass 2006-10-18 13:11:28 UTC
Now that koffice-1.6 is officially released, will the -fvisibility-inlines-hidden be automagically stripped by the ebuild?
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-18 13:23:40 UTC
a) -fvisibility-inlines-hidden is *NOT SUPPORTED AT ALL*
b) it's already being stripped by kde.eclass, so unless you have one in your overlay, it's not our problem.

Comment 14 Rene Gass 2006-10-19 15:36:42 UTC
What do you mean with "in my overlay"? I neither have an own kde.eclass nor an own koffice ebuild. I have -fvisibility-inlines-hidden in my make.conf, though. And except for koffice, I have my whole system built with that setting (plenty of packages).

I understand that one or the other package may filter that flag. Maybe it's possible for koffice to do that as well?

BTW: Thanks for your work, I really don't want to annoy you!
Comment 15 Chris Slycord 2006-10-26 18:51:51 UTC
I was able to get it to install after editing the ebuild to filter out -fvisibility-inlines-hidden.

I just copied the ebuild in portage to my overlay and added the filter.

diff koffice-1.5.2-r1.ebuild /usr/portage/app-office/koffice/koffice-1.5.2-r1.ebuild
68d67
<       filter-flags -fvisibility-inlines-hidden
Comment 16 Christophe LEFEBVRE 2006-11-04 04:56:45 UTC
It's ok for me too if I compile this ebuild without the "-fvisibility-inlines-hidden".
Comment 17 Jay Kretsch 2007-01-02 02:16:39 UTC
I have found that removing arts from my use flags allows compile to complete successfully on my i686 Pentium III processor
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-03-15 19:54:24 UTC
*** Bug 171074 has been marked as a duplicate of this bug. ***