Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144550 - Compiling pgadmin3 1.4.1 fails
Summary: Compiling pgadmin3 1.4.1 fails
Status: RESOLVED DUPLICATE of bug 127020
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-20 13:11 UTC by Lars Roland
Modified: 2006-08-20 13:18 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 Lars Roland 2006-08-20 13:11:03 UTC
I tried the latest ebuild from the postgresql overlay (1.4.3) but it fails to build on my system (info is below). I also tested every 1.4.X version of pgadmin3, played around with various versions of wxGTK (2.6.2.X and 2.6.3.X - wxGTK compile flags are listed below), shifted gcc version and turned ccache on and off. However the compile of pgadmin3 always fails with the following errors.

-----------------------------------------------------
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1c8): undefined reference to `wxLineShape::Draggable() const'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1d4): undefined reference to `wxShape::GetRotation() const'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1d8): undefined reference to `wxShape::SetRotation(double)'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1dc): undefined reference to `wxLineShape::OnMoveControlPoint(int, double, double)'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1f0): undefined reference to `wxLineShape::GetFrom()'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1f4): undefined reference to `wxLineShape::GetTo()'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1f8): undefined reference to `wxLineShape::GetAttachmentFrom()'
explainShape.o:(.rodata._ZTV11ExplainLine[vtable for ExplainLine]+0x1fc): undefined reference to `wxLineShape::GetAttachmentTo()'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x64): undefined reference to `wxShape::OnLeftDoubleClick(double, double, int, int)'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xac): undefined reference to `wxShape::OnBeginSize(double, double)'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xb0): undefined reference to `wxShape::OnEndSize(double, double)'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xb8): undefined reference to `wxShapeEvtHandler::CopyData(wxShapeEvtHandler&)'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xd4): undefined reference to `wxShape::Unlink()'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xec): undefined reference to `wxShape::Recompute()'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xf0): undefined reference to `wxShape::CalculateSize()'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0xfc): undefined reference to `wxShape::IsHighlighted() const'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x110): undefined reference to `wxShape::IsShown() const'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x138): undefined reference to `wxShape::Constrain()'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x158): undefined reference to `wxShape::GetNumberOfTextRegions() const'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x18c): undefined reference to `wxShape::GetAttachments()'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x1c8): undefined reference to `wxShape::Draggable() const'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x1d4): undefined reference to `wxShape::GetRotation() const'
explainShape.o:(.rodata._ZTV12ExplainShape[vtable for ExplainShape]+0x1d8): undefined reference to `wxShape::SetRotation(double)'
collect2: ld returned 1 exit status
make[2]: *** [pgadmin3] Error 1
make[2]: Leaving directory `/var/tmp/portage/pgadmin3-1.4.3/work/pgadmin3-1.4.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pgadmin3-1.4.3/work/pgadmin3-1.4.3'
make: *** [all] Error 2

!!! ERROR: dev-db/pgadmin3-1.4.3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  pgadmin3-1.4.3.ebuild, line 49:   Called die
-----------------------------------------------------


emerge --info:

-----------------------------------------------------
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17.6 i686)
=================================================================
System uname: 2.6.17.6 i686 Intel(R) Pentium(R) M processor 1.80GHz
Gentoo Base System version 1.12.4
ccache version 2.4 [enabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
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-r2, 2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="en en_GB da"
MAKEOPTS="-j2"
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.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm avi berkdb bitmap-fonts cairo cli crypt cups dbus dlloader dri emboss foomaticdb fortran gdbm gif glitz gnome gpm gstreamer gtk gtk2 hal imlib ipv6 isdnlog jpeg libg++ libnotify libwww mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly ogg opengl pam pcre pdf pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse sse2 ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode vorbis xinerama xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_en_GB linguas_da userland_GNU video_cards_fglrx video_cards_radeon" Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
-----------------------------------------------------

wxGTK was buld with: 

-----------------------------------------------------
X gnome opengl unicode -debug -doc -joystick -odbc -sdl
-----------------------------------------------------

which resulted in the follwoing configure string:

-----------------------------------------------------
configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-precomp-headers --with-zlib --disable-debug --disable-debug_gdb --without-sdl --disable-joystick --enable-opengl --with-opengl --with-gnomeprint --with-gtk=2 --without-odbc --build=i686-pc-linux-gnu
-----------------------------------------------------
Comment 1 Lars Roland 2006-08-20 13:15:52 UTC
Just to clearify things: I have tested all versions from 1.4.0 through 1.4.3 and they all have this problem. 1.4.0/1.4.1 was compiled directly from portage and 1.4.3 is from the postgresql overlay.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-20 13:18:16 UTC
*** This bug has been marked as a duplicate of 127020 ***

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