Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108387 - kpogre-1.3.5 does not compile
Summary: kpogre-1.3.5 does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 07:38 UTC by Christian Schoenebeck
Modified: 2006-11-08 12:07 UTC (History)
7 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for kpogre-1.4.0 (kpogre-1.4.0.ebuild,480 bytes, text/plain)
2006-09-07 14:57 UTC, Marko Steinberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Schoenebeck 2005-10-07 07:38:36 UTC
kpogre 1.3.5 fails to compile. 

Reproducible: Always
Steps to Reproduce:
1. emerge kpogre 
2. 
3. 
 
Actual Results:  
/bin/sh ../libtool --silent --mode=link --tag=CXX 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 -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -msse 
-mmmx -mfpmath=sse -fomit-frame-pointer -funroll-loops -pipe -Wformat-security 
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common 
-fexceptions -I/usr/include -I/usr/include    -o kpogre -L/usr/kde/3.4/lib 
-L/usr/qt/3/lib -L/usr/lib -Wl,--as-needed -Wl,--enable-new-dtags 
-R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib kpgbookmarksbutton.o 
kpgbookmarkhandler.o kpgconfiguration.o kpgsqleditorsettings.o kpgsettings.o 
kpgsqlquerresultwindow.o kpgsyntaxhighlighter.o kpgconnectdialog.o 
kpogreview.o kpogredoc.o kpogre.o main.o kpgbookmarkmenu.o kpgsqldialog.o 
kpgsearchdialog.o kpglinklabel.o kpogrecomboaction.o kpgdcoptalkthread.o 
kpgconnectioninthread.o kpgaclitem.o kpggeneralsettings.o 
kpgsqleditorsettingspage.o kpgconnectdialogbase.o kpgsqldialogbase.o 
kpgsqlqueryresultwindowbase.o kpgsearchdialogbase.o kpggeneralsettingspage.o 
kpogredoc.moc.o kpgsqlquerresultwindow.moc.o kpogreview.moc.o 
kpgbookmarkhandler.moc.o kpgsettings.moc.o kpgconnectdialog.moc.o 
kpgbookmarksbutton.moc.o kpgconfiguration.moc.o 
kpogre.moc.o  ./DbObjects/libDbObjects.la ./PropertyPages/libPropertyPages.la ./Wizards/libWizards.la 
-L/usr/lib -lpqxx -L/usr/lib -lpq -lkio -lkdeui -lkdecore -lqt-mt  -lz -lpng 
-lz -lm -lXext -lX11  -lSM -lICE -lpthread 
./DbObjects/.libs/libDbObjects.a(kpgconnection.o): In function 
`pqxx::connection::startconnect()': 
kpgconnection.cpp:(.gnu.linkonce.t._ZN4pqxx10connection12startconnectEv+0x17): 
undefined reference to `pqxx::connection::do_startconnect()' 
collect2: ld returned 1 exit status 

Expected Results:
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-10-07 08:07:03 UTC
Please post your 'emerge info'. 
 
Comment 2 Dirk Heinrichs 2005-10-10 00:52:02 UTC
I get the same error. emerge info output is: 
 
Portage 2.0.53_rc4 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 
2.6.13.2 i686) 
================================================================= 
System uname: 2.6.13.2 i686 Intel(R) Pentium(R) M processor 1500MHz 
Gentoo Base System version 1.12.0_pre8 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
dev-lang/python:     2.3.5, 2.4.2 
sys-apps/sandbox:    1.2.13 
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-r1 
sys-devel/binutils:  2.16.1 
sys-devel/libtool:   1.5.20 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-O3 -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/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe" 
DISTDIR="/gentoo/distfiles" 
FEATURES="autoconfig distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirror.switch.ch/mirror/gentoo/ 
ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://ftp.easynet.nl/mirror/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org" 
LINGUAS="de" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/gentoo/build" 
PORTDIR="/gentoo/portage" 
PORTDIR_OVERLAY="/gentoo/build/overlay" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X Xaw3d a52 aac aalib acl acpi activefilter afs alsa aotuv arts 
audiofile avi bash-completion berkdb bitmap-fonts bluetooth bzip2 caps cdda 
cddb cdio cdparanoia cdr chipcard client-only cpudetection crypt cups dlloader 
doc dtaus dv dvd dvdread edl eds emacs emboss encode exif expat fam flac 
font-server foomaticdb ftp gd-external gdbm geldkarte gif gnokii gnutls gphoto2 
gpm gtk2 hardened hbci httpd icq imagemagick imap imlib ipppd irda irmc isdnlog 
jpeg jpeg2k kcal kde kdexdeltas kerberos koffice-plugin latex lcms ldap libg++ 
libwww lm_sensors lzo mad madwifi maildir mbox mime mjpeg motif mozsvg mp3 mpeg 
mule musicbrainz nas ncurses nls no-old-linux noantlr nobcel nobeanutils nobsh 
nocommonslogging nocommonsnet nojdepend nojsch nojython nolog4j nooro noregexp 
norhino noxalan noxerces nptl nptlonly objc ofx ogg oggvorbis openexr opengl 
pam pam_console pcre pdflib perl perlsuid pg-intdatetime pic png postgres ppds 
pppd pwdb python qt quicktime rdesktop readline real rtc savedconfig slang slp 
sms sockets socks5 speex spell sql sse ssl stream subversion svg svga symlink 
sysfs tcltk tcpd tetex theora threads tiff toolbar truetype truetype-fonts 
type1-fonts unicode usb vcd vim-with-x vlm vorbis wifi win32codecs wxwindows 
xine xml2 xmms xosd xprint xscreensaver xv xvid xvmc zeroconf zlib linguas_de 
userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, MAKEOPTS 
 
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2005-10-19 11:19:44 UTC
Is this the classic "I did upgrade my compiler, but did not read anything about
the ABI changes and did not rebuild all C++ libraries" problem?
Comment 4 Alexandre Sanches 2005-10-31 17:58:15 UTC
This is a problem related to changes in libpqxx, I don't know anything else :
kpogre compiles with libpqxx-2.5.1, but not with libpqxx-2.5.5. Why ? I don't
know... Anyway, the compiler has nothing to do with it in my opinion.
Comment 5 José de Paula Rodrigues 2005-11-27 10:03:41 UTC
Fiddling with nm, I saw that libpqxx-2.5.5.so doesn't export the symbol
do_startconnect, while libpqxx.a does. This is, therefore, a bug in libpqxx
rather than in kpogre. I have the same problem on my AMD64 machine.
Comment 6 José de Paula Rodrigues 2005-11-28 13:42:44 UTC
I found that this "bug" is because kpogre uses deprecated/internal libpqxx
functions. Please see this:
http://gborg.postgresql.org/project/libpqxx/bugs/bugupdate.php?1478

and lets whine/complain to the kpogre maintainers.
Comment 7 David Pufer 2006-03-15 04:14:50 UTC
You can try KPoGre version 1.3.7 released 2006/03/12 (http://kpogre.sourceforge.net)
Comment 8 Paul Compton 2006-03-26 02:05:15 UTC
(In reply to comment #7)
> You can try KPoGre version 1.3.7 released 2006/03/12
> (http://kpogre.sourceforge.net)
> 
I would love to. I am a KPoGre fan. Any chance of someone doing an ebuild for this update? (other than me... shameful, I know. If nobody tackles it soon I'll do it myself, just not so confident - it will be my first.)
Comment 9 Dirk Heinrichs 2006-05-25 01:17:52 UTC
(In reply to comment #8)
> (In reply to comment #7)
> > You can try KPoGre version 1.3.7 released 2006/03/12
> > (http://kpogre.sourceforge.net)
> > 
> I would love to. I am a KPoGre fan. Any chance of someone doing an ebuild for
> this update? (other than me... shameful, I know. If nobody tackles it soon I'll
> do it myself, just not so confident - it will be my first.)

Just renamed the 1.3.5 ebuild to 1.3.7. Compiles and works fine for me. Please
upgrade in portage.
Comment 10 Howard B. Golden 2006-06-11 18:25:34 UTC
(In reply to comment #9)

Renamed kpogre-1.3.5 to kpogre-1.3.7. It works for me too.
Comment 11 Alan Jones 2006-06-20 09:16:47 UTC
Renaming ebuild and emerging also fixed the issue here.

Portage 2.1.1_pre1-r1 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.3.3.20040420-r2, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 Intel(R) Xeon(TM) CPU 3.20GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
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/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --excl
ude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.160/gentoo-portage"
USE="x86 3dnow X a52 aac acl acpi afs alsa apm avi berkdb bitmap-fonts cairo cdr cli crypt cups daap dbus dri dts dv dvd dvdr dvdread emboss encode esd e
xif ffmpeg foomaticdb fortran gdbm gif gstreamer gtk gtk2 ieee1394 imagemagick imlib ipod ipv6 isdnlog jpeg kerberos ldap libg++ libwww mad matroska mikm
od mime mmx mono motif mp3 mpeg musicbrainz ncurses nls nvidia ogg opengl oss pam pcre pdf pdflib perl png pppd python qt quicktime readline real reflect
ion sasl sdl session spell spl sse sse2 ssl tcpd tetex theora threads transcode truetype truetype-fonts type1-fonts udev unicode usb v4l vorbis win32code
cs xine xml xmms xorg xosd xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 12 otg 2006-08-04 09:35:25 UTC
I ran into the same problem, but don't know what exactly I have to change to get kpogre running 

my emerge --info is:
Portage 2.1.1_pre4-r2 (default-linux/x86/no-nptl, gcc-3.4.6/vanilla, glibc-2.3.6-r4, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 AMD Athlon(TM) XP 2100+
Gentoo Base System version 1.12.4
ccache version 2.3 [disabled]
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.3
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: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i386-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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="de en ru"
MAKEOPTS=""
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile idn imlib ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww mad memlimit mikmod mng motif mozilla mp3 mpeg mysql ncurses nls nsplugin ogg opengl oss pam pcre pdflib perl png posix postgres pppd python qt qt3 qt4 quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl symlink tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU vorbis x86 xml xml2 xmms xorg xsl xv zlib input_devices_mouse input_devices_keyboard linguas_de linguas_en linguas_ru video_cards_nvidia video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 13 Dirk Heinrichs 2006-08-06 22:55:22 UTC
(In reply to comment #12)
> I ran into the same problem, but don't know what exactly I have to change to
> get kpogre running 

See comments 9-11. In more detail:

1) Copy 1.3.5 ebuild into your portage overlay and rename it to 1.3.7
2) run ebuild /path/to/new/ebuild digest
3) emerge kpogre
Comment 14 otg 2006-08-07 03:32:27 UTC
Thanks - 
- cd /usr/portage/dev-db/kpogre/
- cp kpogre-1.3.5.ebuild kpogre-1.3.7.ebuild
- ebuild kpogre-1.3.7.ebuild digest
- emerge kpogre

Pls close the bug.
Comment 15 Dirk Heinrichs 2006-08-07 04:27:12 UTC
(In reply to comment #14)

> Pls close the bug.

NO!!! Not unless there's an official, working ebuild for kpogre.
Comment 16 Marko Steinberger 2006-09-06 10:22:01 UTC
Meanwhile kpogre-1.4.0 has been released. It depends on libpqxx-2.5.5 or newer. Just tested a modified 1.3.5 ebuild with gcc-4.1.1. This results in the same problem as in older versions (see first comment). 

Comment 17 Marko Steinberger 2006-09-07 14:57:09 UTC
Created attachment 96329 [details]
Ebuild for kpogre-1.4.0

Tested on x86. @Maintainers: consider replacing DEPEND libpqxx-2.5.5 by libpqxx-2.6.8 (bug #108387 and bug #138470) as it is the current version of libpqxx and solves compiling issues with gcc-4.1.1 (bug #146453). This ebuild was tested against libpqxx-2.6.8 which is not in portage yet (visit bugs above).
Comment 18 Tiziano Müller (RETIRED) gentoo-dev 2006-11-08 12:07:02 UTC
Version 1.5.1 is finally in portage, together with libpqxx-2.6.8... and it compiles fine here. Enjoy! :)