Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 48097 - qtwvdialer-0.3.1-r2 now fails to compile, but it used to compile fine
Summary: qtwvdialer-0.3.1-r2 now fails to compile, but it used to compile fine
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-16 19:36 UTC by Adam Bolte
Modified: 2004-09-27 05:35 UTC (History)
0 users

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


Attachments
Ebuild patch (foo.diff,432 bytes, patch)
2004-08-25 15:56 UTC, Robin Thellend
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Bolte 2004-04-16 19:36:23 UTC
I have two boxes. The first has qtwvdialer-0.3.1-r2 installed, and the second does not. When I went to the first box to install the program, the compile failed. Curious to see if the error would now occur on the second box, I tried re-emerging the appilcation. Compilation failed on that as well. Obviously this used to work though.

Reproducible: Always
Steps to Reproduce:
1. emerge qtwvdialer
2. wait
3. observe error. ;)

Actual Results:  
root@critter abolte # emerge -u qtwvdialer
Calculating dependencies ...done!
>>> emerge (1 of 1) net-dialup/qtwvdialer-0.3.1-r2 to /
>>> md5 src_uri ;-) qtwvdialer-0.3.1.tgz
>>> Unpacking source...
>>> Unpacking qtwvdialer-0.3.1.tgz to /var/tmp/portage/qtwvdialer-0.3.1-r2/work
>>> Source unpacked.
  No NVIDIA OpenGL driver found. Using regular Makefile
Creating Makefiles...
Creating regular Makefile
Testing libraries & tools ...
/var/tmp/portage/qtwvdialer-0.3.1-r2/temp/ccnBMhKt.o(.eh_frame+0x11): undefined
reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status
./configure: line 106: ./a.out: No such file or directory
Please upgrade your Qt installation
 
!!! ERROR: net-dialup/qtwvdialer-0.3.1-r2 failed.
!!! Function src_compile, Line 27, Exitcode 255
!!! (no error message)
 
root@critter abolte #

I tried with and without distcc, and the error is exactly the same - on both
systems.

Expected Results:  
Compiled.

I saw this post in the forums:
http://forums.gentoo.org/viewtopic.php?p=1051002#1051002

It would be nice to have qt3 support. ;)


emerge info (from the first system):
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.24)
=================================================================
System uname: 2.4.24 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.8
distcc 2.13 i486-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i486 -pipe"
CHOST="i486-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.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /usr/share/config
/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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i486 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo
ftp://mirror.pacific.net.au/linux/Gentoo ftp://ftp.vic.keypoint.com.au
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi alsa apm arts avi berkdb bonobo cdr cjk crypt cups curl
dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon flash foomaticdb gb
gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile imap imlib
java jikes joystick jpeg junit kde ladcca lcms leim libg++ libgda libwww mad
mbox mcal memlimit mikmod motif mozilla mpeg mpi mule mysql nas ncurses nls nocd
odbc oggvorbis opengl oss pam pda pdflib perl plotutils png postgres prelude
python qt quicktime readline ruby samba sasl scanner sdl slang slp snmp spell
ssl svga tcltk tcpd tetex tiff truetype unicode usb video_cards_sis videos wmf
wxwindows x86 xinerama xml xml2 xmms xosd xv zeo zlib"
Comment 1 Robin Thellend 2004-08-17 17:13:15 UTC
Same problem here. After a quick investigation, gcc fails here (from configure):

root # cat qttest.cpp
#include <qglobal.h>
#include <stdio.h>
int main(int argc, char **argv) { fprintf( stderr, "Found QT Version %s:", QT_VERSION_STR );
if (QT_VERSION >= 210) return 0; else return -1; }
# gcc -I/usr/qt/2/include qttest.cpp
/tmp/ccGJucTY.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status

Same thing with something as simple as:
root # cat foo.cpp
#include <stdio.h>
int main(void)
{
  printf("foo\n");
  return 0;
}
root # gcc foo.cpp
/tmp/ccalP0iP.o(.eh_frame+0x11): undefined reference to `__gxx_personality_v0'
collect2: ld returned 1 exit status


# gcc -v
Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/specs
Configured with: /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared --host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib --enable-languages=c,c++ --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3 --with-local-prefix=/usr/local --enable-shared --enable-nls --without-included-gettext --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.3 20040412 (Gentoo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)


I tried to re-emerge gcc, but that didn't help.
Comment 2 Robin Thellend 2004-08-25 15:56:48 UTC
Created attachment 38212 [details, diff]
Ebuild patch

Replace gcc with g++ in configure fixes it.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2004-09-27 05:35:07 UTC
Fixed + version bump available - 4.2