Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465874 - [qt overlay] app-text/goldendict-9999 - processwrapper.cc:99:19: error: 'getpid' was not declared in this scope
Summary: [qt overlay] app-text/goldendict-9999 - processwrapper.cc:99:19: error: 'getp...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-14 09:15 UTC by tman
Modified: 2013-10-20 08:37 UTC (History)
0 users

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


Attachments
/var/log/portage/app-text:goldendict-9999:20130413-204352.log (app-text:goldendict-9999:20130413-204352.log,37.68 KB, text/plain)
2013-04-14 09:15 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-04-14 09:15:10 UTC
. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -Iqtsingleapplication/src -I/usr/include/hunspell -I/usr/include/qt4/phonon_compat -Ibuild -Ibuild -o build/processwrapper.o processwrapper.cc
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -rdynamic -Wall -W -D_REENTRANT -DPROGRAM_DATA_DIR=\"/usr/share/apps/goldendict/\" -DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_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/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -Iqtsingleapplication/src -I/usr/include/hunspell -I/usr/include/qt4/phonon_compat -Ibuild -Ibuild -o build/hotkeywrapper.o hotkeywrapper.cc
mediawiki.cc:340:27: warning: unused parameter 'maxResults' [-Wunused-parameter]
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -rdynamic -Wall -W -D_REENTRANT -DPROGRAM_DATA_DIR=\"/usr/share/apps/goldendict/\" -DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_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/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -Iqtsingleapplication/src -I/usr/include/hunspell -I/usr/include/qt4/phonon_compat -Ibuild -Ibuild -o build/hotkeyedit.o hotkeyedit.cc
x86_64-pc-linux-gnu-g++ -c -march=corei7 -O2 -pipe -rdynamic -Wall -W -D_REENTRANT -DPROGRAM_DATA_DIR=\"/usr/share/apps/goldendict/\" -DPROGRAM_VERSION=\"1.0.1+git\" -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_PHONON_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/phonon -I/usr/include/qt4/QtWebKit -I/usr/include/qt4 -I. -Iqtsingleapplication/src -I/usr/include/hunspell -I/usr/include/qt4/phonon_compat -Ibuild -Ibuild -o build/langcoder.o langcoder.cc
processwrapper.cc: In static member function 'static unsigned int ProcessWrapper::currentProcessId()':
processwrapper.cc:99:19: error: 'getpid' was not declared in this scope
processwrapper.cc:100:1: warning: control reaches end of non-void function [-Wreturn-type]
make: *** [build/processwrapper.o] Error 1
make: *** Waiting for unfinished jobs....
 ^[[31;01m*^[[0m ERROR: app-text/goldendict-9999 failed (compile phase):


Reproducible: Always




Portage 2.1.11.62 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.8.7-gentoo x86_64)
=================================================================
System uname: Linux-3.8.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627884 total,  19841652 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Sun, 14 Apr 2013 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo nikai ruby mgorny poly-c luman qt alice Techwolf gamerlay scarabeus science mva emacs flameeyes-overlay mpd wirelay steam-overlay gnome lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /etc/timezone /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/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=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="/usr/portage/local/layman/nikai /usr/portage/local/layman/ruby /usr/portage/local/layman/mgorny /usr/portage/local/layman/poly-c /usr/portage/local/layman/luman /usr/portage/local/layman/qt /usr/portage/local/layman/alice /usr/portage/local/layman/techwolf /usr/portage/local/layman/gamerlay /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/mva /usr/portage/local/layman/emacs /usr/portage/local/layman/flameeyes-overlay /usr/portage/local/layman/mpd /usr/portage/local/layman/wirelay /usr/portage/local/layman/steam /usr/portage/local/layman/gnome /usr/portage/local/local-overlay"
Comment 1 tman 2013-04-14 09:15:44 UTC
Created attachment 345534 [details]
/var/log/portage/app-text:goldendict-9999:20130413-204352.log
Comment 2 Markos Chandras (RETIRED) gentoo-dev 2013-07-05 14:57:19 UTC
This is a live ebuild (and possibly a new gcc issue). It's probably worth opening a bug upstream.
Comment 3 Sergey Popov gentoo-dev 2013-10-20 08:37:24 UTC
commit a4263f310fc0226df89e5c382f371557ea7d7281
Author: Sergey Popov <pinkbyte@gentoo.org>
Date:   Sun Oct 20 12:21:08 2013 +0400

    goldendict: Migrate to git-r3 eclass,
    add patch for gcc 4.7 compatibility(bug #465874),
    unbundle qtsingleapplication
    
    Package-Manager: portage-2.2.7

Fixed, thanks for reporting