Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38798 - KDevelop-3.0.0-rc1 builds successfully on amd64
Summary: KDevelop-3.0.0-rc1 builds successfully on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-20 02:09 UTC by Mikael Rosbacke
Modified: 2004-02-20 11:35 UTC (History)
1 user (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 Mikael Rosbacke 2004-01-20 02:09:18 UTC
KDevelop-3.0.0-rc1 builds successfully on amd64. I have also started to use the application and not seen any problems so far. Suggest we add ~amd64 to the ebuild.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.49-r20 (default-amd64-1.4, gcc-3.3.2, glibc-2.3.2-r9, 
2.6.1-gentoo) 
================================================================= 
System uname: 2.6.1-gentoo x86_64 4 
Gentoo Base System version 1.4.3.12 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="ftp://gentoo.linux.no/pub/gentoo/ 
ftp://trumpetti.atm.tut.fi/gentoo/ http://ds.thn.htu.se/linux/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="3dnow X acpi alsa amd64 apm arts avi berkdb cdr crypt cups dvdr emacs 
encode esd foomaticdb freetype gdbm gif gnome gpm gtk gtk2 imlib jpeg kde 
libg++ libwww mikmod mmx motif mpeg multilib ncurses nls oggvorbis opengl oss 
pam pdflib perl png ppds python qt quicktime radeon readline samba sdl slang 
spell sse ssl tcpd tetex truetype usb xml2 xmms xv zlib linguas_sv"
Comment 1 Darryl Bleau 2004-02-12 16:04:16 UTC
KDevelop-3.0.0 seems not to build successfully on amd64.

This is the output I get:

*** Warning: Linking the executable r++ against the loadable module
*** libkdevcppsupport.so is not portable!
main.o(.text+0xa05): In function `main':
: undefined reference to `db_create_4000'
main.o(.text+0xa14): In function `main':
: undefined reference to `db_strerror_4000'
main.o(.text+0x1298): In function `main':
: undefined reference to `db_create_4000'
main.o(.text+0x12a3): In function `main':
: undefined reference to `db_strerror_4000'
main.o(.text+0x1507): In function `main':
: undefined reference to `db_strerror_4000'
main.o(.text+0x155b): In function `main':
: undefined reference to `db_strerror_4000'
main.o(.text+0x167f): In function `main':
: undefined reference to `db_strerror_4000'
main.o(.text+0x168b): In function `main':
: undefined reference to `db_strerror_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x33): In function `GCata
log<Tag>::open(QString const&)':
: undefined reference to `db_create_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x3e): In function `GCata
log<Tag>::open(QString const&)':
: undefined reference to `db_strerror_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0xfe): In function `GCata
log<Tag>::open(QString const&)':
: undefined reference to `db_strerror_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x10a): In function `GCat
alog<Tag>::open(QString const&)':
: undefined reference to `db_strerror_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xac): In function `
GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_create_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb7): In function `
GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x3a9): In function 
`GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror_4000'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x408): In function 
`GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror_4000'
collect2: ld returned 1 exit status
make[4]: *** [r++] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-3.0.0/lan
guages/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-3.0.0/lan
guages/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-3.0.0/lan
guages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0/work/kdevelop-3.0.0'
make: *** [all] Error 2

!!! ERROR: dev-util/kdevelop-3.0.0 failed.
!!! Function kde_src_compile, Line 127, Exitcode 2
!!! died running emake, kde_src_compile:make

I couldn't find a bug for it.
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2004-02-13 01:33:10 UTC
Let me guess, one of the dependencies is linked with libdb, but does not have this dependency in the lib itself, but uses a .la file to take care. This .la file probably does not remember that linking must happen to -ldb-4.0 instead of -ldb which probably now points to -ldb-4.1. In short, the easiest way to solve this is to remerge that libraries package so it is linked against db-4.1
Comment 3 Caleb Tennis (RETIRED) gentoo-dev 2004-02-18 09:48:11 UTC
it's got the ~amd64 seal of approval now (3.0.1)
Comment 4 Darryl Bleau 2004-02-20 09:09:33 UTC
Any ideas how to resolve the 'libkdevcppsupport.so is not portable!' problem? I've re-emerged everything KDE I can think of...
Comment 5 Caleb Tennis (RETIRED) gentoo-dev 2004-02-20 11:27:06 UTC
It's not a bug - just an artifact of the build system. There's no need to worry.
Comment 6 Darryl Bleau 2004-02-20 11:35:37 UTC
I didn't say it was a bug :)

I did fix the problem, however, and for future reference to anyone who may possibly encounter the same problem, I re-emerged sys-libs/db, then emerged kdevelop successfully.