Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37748 - Kdevelop compiles on amd64
Summary: Kdevelop compiles on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-09 15:58 UTC by Mikael Rosbacke
Modified: 2004-02-09 02:10 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 Mikael Rosbacke 2004-01-09 15:58:51 UTC
I've successfully compiled kdevelop 3.0.0_beta2 on amd64 platform. Isuggest we add amd64 or ~amd64 to the ebuild.


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



mikaelr@hemma mikaelr $ emerge --info 
 
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="X acpi alsa amd64 apm arts avi berkdb cdr crypt cups dvd dvdr emacs 
encode esd foomaticdb freetype gdbm gif gnome gpm gtk gtk2 imlib jpeg kde 
libg++ libwww mikmod motif mpeg multilib ncurses nls oggvorbis opengl oss pam 
pdflib perl png ppds python qt quicktime radeon readline samba sdl slang spell 
ssl tcpd tetex truetype usb xml2 xmms xv zlib linguas_sv"
Comment 1 Robert Führicht 2004-01-22 19:06:39 UTC
Not for me: (kde 3.2.0_rc1)

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkdevcppsupport.la -rpath /usr/lib/kde3 -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib  cppsupportpart.lo ccconfigwidget.lo kdevdriver.lo cppcodecompletion.lo problemreporter.lo backgroundparser.lo ast_utils.lo store_walker.lo KDevCppSupportIface.lo cppsupportfactory.lo tag_creator.lo codeinformationrepository.lo doxydoc.lo cppcodecompletionconfig.lo cppnewclassdlg.lo classgeneratorconfig.lo subclassingdlg.lo addattributedialog.lo addmethoddialog.lo cppsupport_utils.lo createpcsdialog.lo KDevCppSupportIface_skel.lo ccconfigwidgetbase.lo configproblemreporter.lo cppnewclassdlgbase.lo classgeneratorconfigbase.lo subclassingdlgbase.lo addattributedialogbase.lo addmethoddialogbase.lo createpcsdialogbase.lo ../../lib/libkdevelop.la ../../lib/catalog/libkdevcatalog.la ../../lib/cppparser/libkdevcppparser.la
.libs/cppsupportpart.o(.text+0x8d5c): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_create'
.libs/cppsupportpart.o(.text+0x8d67): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.text+0x8f99): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.text+0x8fe2): In function `CppSupportPart::setupCatalog()':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x33): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_create'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x3e): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x100): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/cppsupportpart.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x10c): In function `GCatalog<Tag>::open(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.text+0x12a0): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_create'
.libs/createpcsdialog.o(.text+0x12ab): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.text+0x1518): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.text+0x1562): In function `CreatePCSDialog::slotSelected(QString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xac): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_create'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb7): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x3cf): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_strerror'
.libs/createpcsdialog.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x431): In function `GCatalog<Tag>::addIndex(QCString const&)':
: warning: undefined reference to `db_strerror'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DAST_DEBUG -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o r++ -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib  main.o libkdevcppsupport.la ../../lib/catalog/libkdevcatalog.la ../../lib/cppparser/libkdevcppparser.la

*** 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'
main.o(.text+0xa14): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x1298): In function `main':
: undefined reference to `db_create'
main.o(.text+0x12a3): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x1507): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x155b): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x167f): In function `main':
: undefined reference to `db_strerror'
main.o(.text+0x168b): In function `main':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x33): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_create'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x3e): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0xfe): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE4openERK7QString+0x10a): In function `GCatalog<Tag>::open(QString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xac): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_create'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0xb7): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x3a9): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror'
main.o(.gnu.linkonce.t._ZN8GCatalogI3TagE8addIndexERK8QCString+0x408): In function `GCatalog<Tag>::addIndex(QCString const&)':
: undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[4]: *** [r++] Error 1
make[4]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_rc1/work/kdevelop-3.0.0r1/languages/cpp'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_rc1/work/kdevelop-3.0.0r1/languages/cpp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_rc1/work/kdevelop-3.0.0r1/languages'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdevelop-3.0.0_rc1/work/kdevelop-3.0.0r1'
make: *** [all] Error 2

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

Comment 2 Dylan Carlson (RETIRED) gentoo-dev 2004-02-09 02:10:18 UTC
kdevelop 3.0.0 compiles & runs fine against kde 3.2.0. (did some basic tests) marking it ~amd64 for now.