Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420943 - dev-db/tora-2.1.1: fails to compile source code
Summary: dev-db/tora-2.1.1: fails to compile source code
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Michael Haubenwallner (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-13 07:55 UTC by n.reyrolle
Modified: 2012-09-24 21:17 UTC (History)
0 users

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


Attachments
build.log (build.log,479.27 KB, text/plain)
2012-06-13 07:57 UTC, n.reyrolle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description n.reyrolle 2012-06-13 07:55:32 UTC
When emerging tora, the compilation fails with error message on the source code (error: cannot call constructor 'QString::QString' directly)

Reproducible: Always

Steps to Reproduce:
1. emerge tora



End of compilation trace:

[ 83%] Building CXX object src/CMakeFiles/tora.dir/topreferences.o
cd /var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1_build/src && /usr/lib64/ccache/bin/x86_64-pc-linux-gnu-g++  -DCMAKE_BUILD -DTOMONOLITHIC -DQT_GUI_LIB -DQT_XML_LIB -DQT_SQL_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_CORE_LIB -DQT_GUI_LIB -DQT_THREAD_LIB -DOTL_ORA10G_R2 -DDBLINK -DHAVE_DLFCN_H -DHAVE_UNISTD_H -DHAVE_CONFIG_H  -DNDEBUG -march=native -O2 -pipe  -I/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1_build/src -I/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src -I/usr/include/qt4 -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore -I/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1 -I/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1_build -I/usr/include/qt4/QtDesigner -I/usr/include/qt4/QtDeclarative -I/usr/include/qt4/QtScriptTools -I/usr/include/qt4/QtDBus -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtTest -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtSvg -I/usr/include/qt4/Qt3Support -I/usr/share/qt4/mkspecs/default -I/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src/loki/include -I/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src/otl -I/opt/oracle/app/product/11.2.0/dbhome_1/rdbms/public -I/usr/include/qt4/Qsci    -DTOVERSION=\"2.1.1\" -DDEFAULT_PLUGIN_DIR=\"/usr/share/tora/\" -DQT -DSCI_LEXER -o CMakeFiles/tora.dir/topreferences.o -c /var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src/topreferences.cpp
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1_build/CMakeFiles 
/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src/tooracleconnection.cpp: In member function 'virtual QString toOracleProvider::oracleConnection::version(toConnectionSub*)':
/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src/tooracleconnection.cpp:873:37: error: cannot call constructor 'QString::QString' directly
/var/tmp/portage/dev-db/tora-2.1.1/work/tora-2.1.1/src/tooracleconnection.cpp:873:37: error:   for a function-style cast, remove the redundant '::QString'
make[2]: *** [src/CMakeFiles/tora.dir/tooracleconnection.o] Error 1
make[2]: *** Waiting for unfinished jobs....
Comment 1 n.reyrolle 2012-06-13 07:57:20 UTC
Created attachment 315169 [details]
build.log
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-06-13 10:15:41 UTC
Please provide the output of `emerge --info` as comment.
Comment 3 n.reyrolle 2012-06-13 10:26:21 UTC
Here it is:


Portage 2.1.10.49 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 07 Jun 2012 19:15:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ rsync://ftp-stud.hs-esslingen.de/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync8.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg kde kipi lcms ldap libnotify lm_sensors mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp oracle pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification static-libs svg tcpd tiff truetype udev udisks unicode upower usb v4l vorbis wxwidgets x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 n.reyrolle 2012-06-28 12:07:57 UTC
For information, I just tried dev-db/tora-2.1.3-r1, and it compiled fine.
Comment 5 Michael Haubenwallner (RETIRED) gentoo-dev 2012-09-24 19:55:27 UTC
(In reply to comment #4)
> For information, I just tried dev-db/tora-2.1.3-r1, and it compiled fine.

Do you have any strong reason not to use tora-2.1.3-r1 ?
Comment 6 n.reyrolle 2012-09-24 20:53:51 UTC
It depends on what you call strong, because 2.1.3-r1 is not marked stable, when 2.1.1 is. 

Anyway, I am ok to use the latest (even unstable) available version in portage, since it is not so important for me.

I do not really know what do with that. Should I open a new report to request for stabilization of the latest version?
Comment 7 Michael Haubenwallner (RETIRED) gentoo-dev 2012-09-24 21:17:46 UTC
(In reply to comment #6)
> I do not really know what do with that. Should I open a new report to
> request for stabilization of the latest version?

Yes please!