Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426620 - app-office/texstudio-2.3 - In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’: qtsingleapplication/qtlocalpeer.cpp:106:54: error: ‘getuid’ is not a member of ‘QtLP_Private’
Summary: app-office/texstudio-2.3 - In constructor ‘QtLocalPeer::QtLocalPeer(QObject*,...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-14 18:08 UTC by tman
Modified: 2012-07-18 18:24 UTC (History)
0 users

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


Attachments
/var/log/portage/app-office:texstudio-2.3:20120714-180633.log (app-office:texstudio-2.3:20120714-180633.log,55.74 KB, text/plain)
2012-07-14 18:09 UTC, tman
Details
/var/tmp/portage/app-office/texstudio-2.3/temp/environment (environment,82.98 KB, text/plain)
2012-07-14 18:09 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2012-07-14 18:08:54 UTC
-I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/usr/include/poppler/qt4 -I/usr/include/hunspell -I.moc -I.ui qcodeedit/lib/widgets/qformatconfig.h -o .moc/moc_qformatconfig.cpp
/usr/bin/moc -DPREFIX=\"/usr\" -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/usr/include/poppler/qt4 -I/usr/include/hunspell -I.moc -I.ui qcodeedit/lib/widgets/qsimplecolorpicker.h -o .moc/moc_qsimplecolorpicker.cpp
/usr/bin/rcc -name texstudio texstudio.qrc -o qrc_texstudio.cpp
/usr/bin/rcc -name symbols symbols.qrc -o qrc_symbols.cpp
x86_64-pc-linux-gnu-g++ -c -include .obj/texstudio -march=core2 -O2 -pipe -D_REENTRANT -Wall -W -DPREFIX=\"/usr\" -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/usr/include/poppler/qt4 -I/usr/include/hunspell -I.moc -I.ui -o .obj/qtsingleapplication.o qtsingleapplication/qtsingleapplication.cpp
x86_64-pc-linux-gnu-g++ -c -include .obj/texstudio -march=core2 -O2 -pipe -D_REENTRANT -Wall -W -DPREFIX=\"/usr\" -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/usr/include/poppler/qt4 -I/usr/include/hunspell -I.moc -I.ui -o .obj/qtlocalpeer.o qtsingleapplication/qtlocalpeer.cpp
x86_64-pc-linux-gnu-g++ -c -include .obj/texstudio -march=core2 -O2 -pipe -D_REENTRANT -Wall -W -DPREFIX=\"/usr\" -D_QCODE_EDIT_BUILD_ -DQNFA_BUILD -DQT_NO_DEBUG -DQT_SCRIPT_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtScript -I/usr/include/qt4 -Iqtsingleapplication -Iqcodeedit/lib -Iqcodeedit/lib/document -Iqcodeedit/lib/language -Iqcodeedit/lib/widgets -Iqcodeedit/lib/qnfa -I/usr/include/poppler/qt4 -I/usr/include/hunspell -I.moc -I.ui -o .obj/main.o main.cpp
qtsingleapplication/qtlocalpeer.cpp: In constructor ‘QtLocalPeer::QtLocalPeer(QObject*, const QString&)’:
qtsingleapplication/qtlocalpeer.cpp:106:54: error: ‘getuid’ is not a member of ‘QtLP_Private’
qtsingleapplication/qtlocalpeer.cpp:106:54: note: suggested alternative:
/usr/include/unistd.h:698:16: note:   ‘getuid’
make: *** [.obj/qtlocalpeer.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: app-office/texstudio-2.3 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-office/texstudio-2.3'`,
 * the complete build log and the output of `emerge -pqv '=app-office/texstudio-2.3'`.
 * The complete build log is located at '/var/log/portage/app-office:texstudio-2.3:20120714-180633.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-office/texstudio-2.3/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/texstudio-2.3/temp/environment'.
 * Working directory: '/var/tmp/portage/app-office/texstudio-2.3/work/texstudio2.3'
 * S: '/var/tmp/portage/app-office/texstudio-2.3/work/texstudio2.3'


Reproducible: Always




Portage 2.2.0_alpha118_p1 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.15-r2, 3.4.4-gentoo x86_64)
=================================================================
System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.1
Timestamp of tree: Sat, 14 Jul 2012 17:00:01 +0000
app-shells/bash:          4.2_p36
dev-java/java-config:     2.1.12
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          9999
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo mpd science scarabeus luman nikai emacs java-overlay mgorny wirelay qt poly-c gnome wine-diablo3 gamerlay-stable Techwolf lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
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"
Comment 1 tman 2012-07-14 18:09:20 UTC
Created attachment 318166 [details]
/var/log/portage/app-office:texstudio-2.3:20120714-180633.log
Comment 2 tman 2012-07-14 18:09:41 UTC
Created attachment 318168 [details]
/var/tmp/portage/app-office/texstudio-2.3/temp/environment
Comment 3 Franz Trischberger 2012-07-14 19:46:25 UTC
That's due to the compilation fix for gcc-4.7 - it breaks compilation with <gcc-4.7 ;)
Just remove the patch and texstudio comples fine.
Comment 4 Franz Trischberger 2012-07-14 19:50:06 UTC
BTW.: The correct fix is to simply #include <unistd.h>. google -> qtsingleapplication gcc-4.7.0 -> proofs this assumption ;)
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-07-18 18:24:46 UTC
Dropped the patch from all but latest revision. Here it works for gcc-4.6