Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674874 - dev-db/tora-3.2-r1[oracle] - .../work/tora-3.2/src/main/tooraclesetting.cpp:59:38: error: expected type-specifier before 'QIntValidator'
Summary: dev-db/tora-3.2-r1[oracle] - .../work/tora-3.2/src/main/tooraclesetting.cpp:5...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-08 13:05 UTC by rancerow
Modified: 2022-07-02 21:00 UTC (History)
0 users

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


Attachments
tora build log (tora_build.log.gz,36.28 KB, application/gzip)
2019-01-08 13:05 UTC, rancerow
Details
output of emerge -pqv '=dev-db/tora-3.2-r1::gentoo' (emerge-pqv,72 bytes, text/plain)
2019-01-08 13:07 UTC, rancerow
Details
output of emerge --info '=dev-db/tora-3.2-r1::gentoo' (emerge--info,5.42 KB, text/plain)
2019-01-08 13:08 UTC, rancerow
Details
Missing qvalidator header patch (tora-3.2-missing-qvalidator.patch,399 bytes, patch)
2019-01-14 18:10 UTC, rancerow
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description rancerow 2019-01-08 13:05:44 UTC
Created attachment 560352 [details]
tora build log

dev-db/tora failed to emerge with error in tooraclesetting.cpp:59:38: error: expected type-specifier before 'QIntValidator'
  MaxLongInt->setValidator(new QIntValidator(MaxLongInt));
Comment 1 rancerow 2019-01-08 13:07:51 UTC
Created attachment 560354 [details]
output of emerge -pqv '=dev-db/tora-3.2-r1::gentoo'
Comment 2 rancerow 2019-01-08 13:08:49 UTC
Created attachment 560356 [details]
output of emerge --info '=dev-db/tora-3.2-r1::gentoo'
Comment 3 rancerow 2019-01-08 13:19:06 UTC
Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-7.3.0, glibc-2.27-r6, 4.14.83-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.83-gentoo-x86_64-Intel-R-_Core-TM-_i5-2450M_CPU_@_2.50GHz-with-gentoo-2.6
KiB Mem:     8137568 total,   5075188 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Mon, 07 Jan 2019 00:45:01 +0000
sh bash 4.4_p12
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.4.8::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: webrsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

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/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/mnt/d07/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg lcms libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="karbon plan sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="radeon" 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:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Sergey S. Starikoff 2019-01-14 06:23:00 UTC
Could you verify this issue with tora-9999[-pch]?

Doing it please note, that last time I've checked, PCH was broken.
Comment 5 rancerow 2019-01-14 18:08:09 UTC
Emerging also failed without pch flag [-pch].

I've just created a patch for including <QtGui/qvalidator.h> in src/main/tooraclesetting.cpp. Then emerge ended up with success.
Comment 6 rancerow 2019-01-14 18:10:02 UTC
Created attachment 560958 [details, diff]
Missing qvalidator header patch
Comment 7 Sergey S. Starikoff 2019-01-28 07:21:14 UTC
Thank you!

Could you re-check -9999?
Yesterday my test succeed.
Comment 8 rancerow 2019-02-11 17:50:14 UTC
Ok, after some research I've just realised that previous test was bad by my side.

I've just successfully merged tora-9999 with oracle support (ebuild /usr/portage/dev-db/tora/tora-9999.ebuild merge).
Comment 9 Larry the Git Cow gentoo-dev 2022-07-02 21:00:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21748f0f132bb3020de50e9a805db41215a5859d

commit 21748f0f132bb3020de50e9a805db41215a5859d
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-07-02 21:00:14 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-07-02 21:00:14 +0000

    dev-db/tora: fix build with USE=oracle
    
    Closes: https://bugs.gentoo.org/674874
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-db/tora/files/tora-3.2-missing-header.patch | 21 --------
 dev-db/tora/files/tora-3.2-qt-5.11.0.patch      | 69 -------------------------
 dev-db/tora/files/tora-3.2-qt-includes.patch    | 61 ++++++++++++++++++++++
 dev-db/tora/tora-3.2-r2.ebuild                  |  5 +-
 4 files changed, 62 insertions(+), 94 deletions(-)