Please update the ebuild to use the latest version, 0.2.4pre5 Reproducible: Always Steps to Reproduce: see website for the latest available version
*** Bug 236496 has been marked as a duplicate of this bug. ***
Created attachment 217884 [details] libodbc++-0.2.5.ebuild I have made a simple ebuild (in compare with ebuild to version 2.3). I didn't test the 'qt' USE flag (because I don't have qt library) and I don't know how test USE flag works. Unicode don't compile.
It doesn't compile at all for me, regardless of your ebuild or mine, or what flags I pass to configure. Are you sure you got it to compile? make[2]: Entering directory `/dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5-build/isql++' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5/isql++ -I.. -I/dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5/include -I../include -I/dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5/src -DIN_ODBCXX -D_GNU_SOURCE -march=nocona -O2 -pipe -g -DODBCXX_DISABLE_READLINE_HACK -MT isql++.o -MD -MP -MF .deps/isql++.Tpo -c -o isql++.o /dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5/isql++/isql++.cpp /dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5/isql++/isql++.cpp: In constructor 'Isql::Isql(odbc::Connection*)': /dev/shm/portage/dev-db/libodbc++-0.2.5/work/libodbc++-0.2.5/isql++/isql++.cpp:275: error: invalid cast to function type 'char**()'
(In reply to comment #3) > It doesn't compile at all for me, regardless of your ebuild or mine, or what > flags I pass to configure. Are you sure you got it to compile? > ... I get the same result (error) at the same location with libodbc++-0.2.3-r2. The relevant USE flag is -qt3. I had successfully installed this package previously with +qt3 and was reinstalling it due to removing qt3 from my system.
Gentlemen, this bug is actually 4 years old: http://bugs.gentoo.org/show_bug.cgi?id=132492 My guess is that it is a Qt-related conspiracy.
Robin, this will be blocking soon-to-be autoconf's stable bug, please do CC treecleaners if this doesn't get fixed soon since the current state is unusable.
hadogenes: you didn't have yourself CC'd here so you haven't seen any of the comments. The ebuild you attached does not compile for me, did it compile at all for you? If not, I'm inclined just to have the package removed from Gentoo.
(In reply to comment #7) Yes it compile for me, but I don't use qt and test flag. But it don't work - it connect to database (mysql), but returns corrupted rows - but I'm not sure if it is libodbc++ problem.
hadogenes: please provide your emerge --info. It's not compiling here with Qt and test off too.
(In reply to comment #9) Portage 2.1.7.16 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-tuxonice-r5 x86_64) ================================================================= System uname: Linux-2.6.32-tuxonice-r5-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2310_@_1.46GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 18 Feb 2010 12:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.6.4 dev-python/pycrypto: 2.1.0_beta1 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0-r1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1-r1 sys-devel/gcc: 4.3.4 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages metadata-transfer news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://gentoo.mirror.pw.edu.pl/" LANG="pl_PL.utf8" LC_ALL="pl_PL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,-z,now -Wl,--hash-style=gnu" LINGUAS="pl" MAKEOPTS="-j3" PKGDIR="/home/Programy/portage/binpkg" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local/java-overlay /usr/portage/local/zugaina /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups curl cvs cxx dbus dri dts dvd dvdr eclipse eds emboss encode evo expat fbcon fbsplash ffmpeg firefox flac fontconfig fortran fuse gconf gdbm gif git gnome gnome-keyring gnutls gpm gstreamer gtk gtk2 gtkhtml hal icc iconv icu ipv6 java java5 java6 jpeg jpeg2k lame laptop ldap libedit libnotify lm_sensors logrotate mad mikmod mime mmx mmxext mng modules mono mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nfs nls nptl nptlonly ntp ogg openal opengl openmp pam pcre pdf perl pmu png policykit ppds pppd pulseaudio python qt3support quicktime readline reflection samba sdl session smp spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd tetex threads thunar thunderbird tiff truetype unicode usb userlocales v4l v4l2 vim-syntax vorbis wifi wxwidgets x264 xcb xcomposite xml xorg xulrunner xv xvid zeroconf zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel v4l" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ok, the upstream build system needs to be taken out and shot. Version bump in the tree now. isql++ CLI tool is no longer available, nor is the non-mt build of qt.