Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 137060

Summary: emerge dev-db/tora-1.3.21 fails with gcc 4.1.1
Product: Gentoo Linux Reporter: Friedrich Oslage (RETIRED) <bluebird>
Component: [OLD] GCC PortingAssignee: Tobias Scherbaum (RETIRED) <dertobi123>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: tora-cpp.patch
tora-1.3.21.ebuild

Description Friedrich Oslage (RETIRED) gentoo-dev 2006-06-17 02:10:47 UTC
I'm trying to emerge dev-db/tora-1.3.21 using gcc 4.1.1

EFAULT_PLUGIN_DIR=\"/usr/lib\" -DTOVERSION=\"1.3.21\" -I/usr/lib/oracle/10.2.0.2/client/include/ -DOTL_ORA10G -DOTL_ORA_TIMESTAMP -DOTL_ANSI_CPP -DOTL_FUNC_THROW_SPEC_ON -DOTL_EXCEPTION_ENABLE_ERROR_OFFSET    -DQT_THREAD_SUPPORT -march=pentium-m -O3 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387 -D_REENTRANT -MT tora-tothread.o -MD -MP -MF ".deps/tora-tothread.Tpo" -c -o tora-tothread.o `test -f 'tothread.cpp' || echo './'`tothread.cpp; \
        then mv -f ".deps/tora-tothread.Tpo" ".deps/tora-tothread.Po"; else rm -f ".deps/tora-tothread.Tpo"; exit 1; fi
tothread.cpp: In member function 
Comment 1 Friedrich Oslage (RETIRED) gentoo-dev 2006-06-17 02:10:47 UTC
I'm trying to emerge dev-db/tora-1.3.21 using gcc 4.1.1

EFAULT_PLUGIN_DIR=\"/usr/lib\" -DTOVERSION=\"1.3.21\" -I/usr/lib/oracle/10.2.0.2/client/include/ -DOTL_ORA10G -DOTL_ORA_TIMESTAMP -DOTL_ANSI_CPP -DOTL_FUNC_THROW_SPEC_ON -DOTL_EXCEPTION_ENABLE_ERROR_OFFSET    -DQT_THREAD_SUPPORT -march=pentium-m -O3 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387 -D_REENTRANT -MT tora-tothread.o -MD -MP -MF ".deps/tora-tothread.Tpo" -c -o tora-tothread.o `test -f 'tothread.cpp' || echo './'`tothread.cpp; \
        then mv -f ".deps/tora-tothread.Tpo" ".deps/tora-tothread.Po"; else rm -f ".deps/tora-tothread.Tpo"; exit 1; fi
tothread.cpp: In member function »void toThread::start()«:
tothread.cpp:190: Fehler: »toThreadStartWrapper« wurde in diesem Gültigkeitsbereich nicht definiert
tothread.cpp: In member function »void toThread::startAsync()«:
tothread.cpp:199: Fehler: »toThreadStartWrapper« wurde in diesem Gültigkeitsbereich nicht definiert
make[1]: *** [tora-tothread.o] Fehler 1
make[1]: Leaving directory `/tmp/portage/tora-1.3.21/work/tora-1.3.21'
make: *** [all] Fehler 2

!!! ERROR: dev-db/tora-1.3.21 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  tora-1.3.21.ebuild, line 61:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info:
Portage 2.1.1_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-rc6 i686)
=================================================================
System uname: 2.6.17-rc6 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.1
dev-lang/python:     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="-march=pentium-m -O3 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=pentium-m -O3 -pipe -fomit-frame-pointer -ffast-math -mfpmath=sse,387"
DISTDIR="/tmp/distfiles"
FEATURES="metadata-transfer sandbox userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LINGUAS="de"
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="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 7zip X a52 aac aalib acpi alsa asf bash-completion bluetooth branding browserplugin bzip2 c++ cardbus cdr cdrom cg cgi cli crosscompile csv cups custom-cflags cvs cxx dhcp dri dvd dvdr dvdread editor emf epiphany epson ethereal evolution fast fat ffmpeg finger fortran ftp gcj gd gif gimp gimpprint glibc-omitfp gnome gpm graphviz gsm gtk gtk2 gzip hddtemp html i8x0 icp icq ide irc irssi java javascript jpeg jpeg2k lame lm_sensors mad math mbrola md5sum mmx mng mono mouse mp3 mp4 mp4live mpeg mpeg2 mplayer music nat ncurses net network nfs nls no-old-linux nocd nowin nptl nptlonly nsplugin ntfs oci8-instant-client offensive office ogg oggvorbis opengl oracle pam pci pcmcia pcre pdf png ppds print qt qt3 qt4 quicktime rar readline real rss samba screen sdk sdl session sftp speech sse sse2 ssl stream subversion svg svga svgz sysfs szip tcltk themes tiff tools trusted udev unicode unzip usb userlocales utf8 vcd vdr verbose vfat videos vidix visual visualization vnc voice vorbis widescreen wifi win32codecs wma wma123 wmf x264 xanim xchat xine xml xmms xorg xosd xpm xrandr xv xvid xvmc yiff zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Friedrich Oslage (RETIRED) gentoo-dev 2006-06-17 02:12:48 UTC
Created attachment 89372 [details, diff]
tora-cpp.patch
Comment 3 Friedrich Oslage (RETIRED) gentoo-dev 2006-06-17 02:13:51 UTC
Comment on attachment 89372 [details, diff]
tora-cpp.patch

This patch fixes it. Found on lists.pld-linux.org
Comment 4 Friedrich Oslage (RETIRED) gentoo-dev 2006-06-17 02:14:46 UTC
Created attachment 89373 [details]
tora-1.3.21.ebuild

Updated ebuild to apply that patch in src_unpack.
Comment 5 Jan Schubert 2006-07-03 02:33:15 UTC
Seems to work for me too (still emerging).
Please update the official build!
Comment 6 Tobias Scherbaum (RETIRED) gentoo-dev 2006-07-04 13:00:29 UTC
1.3.18 and 1.3.21 patched, fixed in CVS