First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 98582
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo KDE team <kde@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Chris Smith <chris@realcomputerguy.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 98582 depends on: Show dependency tree
Bug 98582 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-07-10 11:13 0000
cannot install app-office/kmymoney2-0.7.3 with ofx use flag
compile fails

Reproducible: Always
Steps to Reproduce:
1.set ofx use flag 
2.emerge =app-office/kmymoney2-0.7.3
3.

Actual Results:  
/bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ 
-Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
-Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG -DNO_DEBUG -O2 -O2
-march=pentium4 -fomit-frame-pointer -pipe -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-fvisibility=hidden -fvisibility-inlines-hidden -fexceptions    -o
kmm_ofximport.la -rpath /usr/lib/kde3 -module -avoid-version -module
-no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/lib -R
/usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib  -L/usr/kde/3.4/lib
-L/usr/qt/3/lib -L/usr/lib    -lkdecore -lqt-mt  -lz -lpng -lz -lm -lXext -lX11
 -lSM -lICE -lpthread ofximporterplugin.lo -lofx ../libkmm_plugin.la
../libkmm_plugin.la ../../../kmymoney2/mymoney/libkmm_mymoney.la
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::staticMetaObject()':
ofximporterplugin.cpp:(.text+0x34f): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::staticMetaObject()'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::qt_cast(char const*)':
ofximporterplugin.cpp:(.text+0x424): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::qt_cast(char const*)'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::qt_invoke(int,
QUObject*)':
ofximporterplugin.cpp:(.text+0x463): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::qt_invoke(int, QUObject*)'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::qt_emit(int, QUObject*)':
ofximporterplugin.cpp:(.text+0x497): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::qt_emit(int, QUObject*)'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::qt_property(int, int,
QVariant*)':
ofximporterplugin.cpp:(.text+0x4d3): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::qt_property(int, int, QVariant*)'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::~OfxImporterPlugin()':
ofximporterplugin.cpp:(.text+0xee1): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
ofximporterplugin.cpp:(.text+0xfc3): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::~OfxImporterPlugin()':
ofximporterplugin.cpp:(.text+0x10ab): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
ofximporterplugin.cpp:(.text+0x1185): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
.libs/ofximporterplugin.o: In function `OfxImporterPlugin::~OfxImporterPlugin()':
ofximporterplugin.cpp:(.text+0x126d): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
.libs/ofximporterplugin.o:ofximporterplugin.cpp:(.text+0x1347): more undefined
references to `KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()' follow
.libs/ofximporterplugin.o: In function
`OfxImporterPlugin::OfxImporterPlugin(QObject*, char const*, QStringList const&)':
ofximporterplugin.cpp:(.text+0x13d2): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::ImporterPlugin(QObject*, char const*)'
ofximporterplugin.cpp:(.text+0x148a): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
.libs/ofximporterplugin.o: In function
`OfxImporterPlugin::OfxImporterPlugin(QObject*, char const*, QStringList const&)':
ofximporterplugin.cpp:(.text+0x1572): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::ImporterPlugin(QObject*, char const*)'
ofximporterplugin.cpp:(.text+0x162a): undefined reference to
`KMyMoneyPlugin::ImporterPlugin::~ImporterPlugin()'
.libs/ofximporterplugin.o:(.gnu.linkonce.d._ZTI17OfxImporterPlugin+0x8):
undefined reference to `typeinfo for KMyMoneyPlugin::ImporterPlugin'
collect2: ld returned 1 exit status
make[5]: *** [kmm_ofximport.la] Error 1
make[5]: Leaving directory
`/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3/kmymoney2/plugins/ofximport'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3/kmymoney2/plugins'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3/kmymoney2/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3/kmymoney2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kmymoney2-0.7.3/work/kmymoney2-0.7.3'
make: *** [all] Error 2

!!! ERROR: app-office/kmymoney2-0.7.3 failed.


Expected Results:  
succesful install

~ # emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-gentoo-r4 i686)
=================================================================
System uname: 2.6.12-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10
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.5
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com http://mirrors.tds.net/gentoo
http://open-systems.ufl.edu/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion
berkdb bitmap-fonts bonobo cdparanoia cdr crypt cscope cups curl divx4linux dv
dvb dvd dvdr dvdread emboss encode esd exif fam ffmpeg flac fortran gd gdbm gif
gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick imap imlib ipv6
jack java jpeg jpeg2k kde lcd lcms ldap libg++ libwww mad mikmod mmx motif
mozilla mp3 mpeg mysql ncurses nls nptl nvidia odbc ofx ogg oggvorbis openexr
opengl oss pam pda pdflib perl png ppds python qt quicktime readline samba sasl
scanner sdl slang slp snmp spell sqlite sse ssl subversion svg svga tcltk tcpd
tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb utf8
v4l v4l2 vcd vorbis win32codecs wmf xine xml xml2 xmms xprint xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

------- Comment #1 From MasterX 2005-07-10 13:23:00 0000 -------
This error is because of the "KDE_ENABLE_HIDDEN_VISIBILITY" in the 
configure.in.in file. So what you need to do is edit the configure.in.in script 
and "dnl" in front of the line "KDE_ENABLE_HIDDEN_VISIBILITY". I found this 
solution at the mailing list of kmymoney2-developers.  
 
Now, I do not know if the "-fvisibility-inlines-hidden" in the CXXFLAGS is also 
important, but I removed it, just to be sure that kmymoney2 will compile. And, 
it does :) 
 
 
 

------- Comment #2 From Carsten Lohrke 2005-07-10 13:44:13 0000 -------
*** Bug 98583 has been marked as a duplicate of this bug. ***

------- Comment #3 From Gregorio Guidi (RETIRED) 2005-07-10 13:55:17 0000 -------
As you can see from reading the ebuild, it's not that easy... I will look for 
a possible workaround. 
In the meantime, maybe someone can suggest the kmymoney developers to drop the 
visibility support for the next versions? 
 

------- Comment #4 From Gregorio Guidi (RETIRED) 2005-07-10 15:31:08 0000 -------
Can you try again after a sync and see if it works? 

------- Comment #5 From Evan Deaubl 2005-07-10 21:28:41 0000 -------
The new ebuild seems to fix the build for me.  I was experiencing the same
problem on amd64, synced at about 20:00 MST and rebuilt and it succeeded without
a hitch.

------- Comment #6 From Chris Smith 2005-07-10 22:16:54 0000 -------
Works fine here as well. 

------- Comment #7 From Gregorio Guidi (RETIRED) 2005-07-11 00:31:41 0000 -------
Ok, closing. 
 

First Last Prev Next    No search results available      Search page      Enter new bug