Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

polkit-qt-0.99.0 compile fails every time [unsolved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
2 posts • Page 1 of 1
Author
Message
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

polkit-qt-0.99.0 compile fails every time [unsolved]

  • Quote

Post by jonfr » Wed Sep 14, 2011 8:38 am

I have been trying to compile polkit-qt-0.99.0 for a long time now. It always fails on this error message. I have been trying to fix this issue. But nothing seems to work.

Code: Select all

>>> Compiling source in /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-0.99.0_build"
make -j3 
Scanning dependencies of target polkit-qt-core-1_automoc
Scanning dependencies of target polkit-qt-gui-1_automoc                                                                                           
Scanning dependencies of target polkit-qt-agent-1_automoc                                                                                         
Generating polkitqt1-gui-actionbuttons.moc                                                                                                        
Generating listeneradapter_p.moc                                                                                                                  
Generating polkitqt1-authority.moc                                                                                                                
Generating polkitqt1-agent-session.moc                                                                                                            
Generating polkitqt1-gui-action.moc                                                                                                               
[  0%] Built target polkit-qt-core-1_automoc                                                                                                      
Scanning dependencies of target polkit-qt-core-1
Generating polkitqt1-agent-listener.moc                                                                                                           
[  0%] Generating polkitqt1-gui-actionbutton.moc                                                                                                  
Built target polkit-qt-agent-1_automoc                                                                                                            
[  0%] Built target polkit-qt-gui-1_automoc
[  6%] [ 12%] [ 18%] Building CXX object core/CMakeFiles/polkit-qt-core-1.dir/polkit-qt-core-1_automoc.cpp.o
Building CXX object core/CMakeFiles/polkit-qt-core-1.dir/polkitqt1-identity.cpp.o                                                                 
Building CXX object core/CMakeFiles/polkit-qt-core-1.dir/polkitqt1-authority.cpp.o                                                                
[ 25%] Building CXX object core/CMakeFiles/polkit-qt-core-1.dir/polkitqt1-subject.cpp.o                                                           
In file included from /usr/include/polkit-1/polkit/polkit.h:37,                                                                                   
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-identity.cpp:23:
/usr/include/polkit-1/polkit/polkitunixprocess.h:67: error: expected initializer before ‘G_GNUC_DEPRECATED_FOR’
In file included from /usr/include/polkit-1/polkit/polkit.h:42,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-identity.cpp:23:
/usr/include/polkit-1/polkit/polkitauthority.h:50: error: expected initializer before ‘G_GNUC_DEPRECATED_FOR’
In file included from /usr/include/polkit-1/polkit/polkit.h:45,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-identity.cpp:23:
/usr/include/polkit-1/polkit/polkitpermission.h:45: error: expected constructor, destructor, or type conversion before ‘*’ token
/usr/include/polkit-1/polkit/polkitpermission.h:47: error: expected constructor, destructor, or type conversion before ‘*’ token
make[2]: *** [core/CMakeFiles/polkit-qt-core-1.dir/polkitqt1-identity.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /usr/include/polkit-1/polkit/polkit.h:37,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-authority.cpp:29:
/usr/include/polkit-1/polkit/polkitunixprocess.h:67: error: expected initializer before ‘G_GNUC_DEPRECATED_FOR’
In file included from /usr/include/polkit-1/polkit/polkit.h:42,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-authority.cpp:29:
/usr/include/polkit-1/polkit/polkitauthority.h:50: error: expected initializer before ‘G_GNUC_DEPRECATED_FOR’
In file included from /usr/include/polkit-1/polkit/polkit.h:45,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-authority.cpp:29:
/usr/include/polkit-1/polkit/polkitpermission.h:45: error: expected constructor, destructor, or type conversion before ‘*’ token
/usr/include/polkit-1/polkit/polkitpermission.h:47: error: expected constructor, destructor, or type conversion before ‘*’ token
In file included from /usr/include/polkit-1/polkit/polkit.h:37,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-subject.cpp:24:
/usr/include/polkit-1/polkit/polkitunixprocess.h:67: error: expected initializer before ‘G_GNUC_DEPRECATED_FOR’
In file included from /usr/include/polkit-1/polkit/polkit.h:42,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-subject.cpp:24:
/usr/include/polkit-1/polkit/polkitauthority.h:50: error: expected initializer before ‘G_GNUC_DEPRECATED_FOR’
In file included from /usr/include/polkit-1/polkit/polkit.h:45,
                 from /var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0/core/polkitqt1-subject.cpp:24:
/usr/include/polkit-1/polkit/polkitpermission.h:45: error: expected constructor, destructor, or type conversion before ‘*’ token
/usr/include/polkit-1/polkit/polkitpermission.h:47: error: expected constructor, destructor, or type conversion before ‘*’ token
make[2]: *** [core/CMakeFiles/polkit-qt-core-1.dir/polkitqt1-subject.cpp.o] Error 1
make[2]: *** [core/CMakeFiles/polkit-qt-core-1.dir/polkitqt1-authority.cpp.o] Error 1
make[1]: *** [core/CMakeFiles/polkit-qt-core-1.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: sys-auth/polkit-qt-0.99.0 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2873:  Called cmake-utils_src_compile
 *   environment, line  778:  Called _execute_optionaly 'src_compile'
 *   environment, line  220:  Called enable_cmake-utils_src_compile
 *   environment, line 1017:  Called cmake-utils_src_make
 *   environment, line  797:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =sys-auth/polkit-qt-0.99.0',
 * the complete build log and the output of 'emerge -pqv =sys-auth/polkit-qt-0.99.0'.
 * The complete build log is located at '/var/tmp/portage/sys-auth/polkit-qt-0.99.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-auth/polkit-qt-0.99.0/temp/environment'.
 * S: '/var/tmp/portage/sys-auth/polkit-qt-0.99.0/work/polkit-qt-1-0.99.0'

>>> Failed to emerge sys-auth/polkit-qt-0.99.0, Log file:

>>>  '/var/tmp/portage/sys-auth/polkit-qt-0.99.0/temp/build.log'

 * Messages for package sys-auth/polkit-qt-0.99.0:

 * ERROR: sys-auth/polkit-qt-0.99.0 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 2873:  Called cmake-utils_src_compile
 *   environment, line  778:  Called _execute_optionaly 'src_compile'
 *   environment, line  220:  Called enable_cmake-utils_src_compile
 *   environment, line 1017:  Called cmake-utils_src_make
 *   environment, line  797:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
Here is the emerge info on the computer in question.

Code: Select all

emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0/desktop/kde, gcc-4.4.5, glibc-2.12.2-r0, 2.6.35.3 i686)
=================================================================
System uname: Linux-2.6.35.3-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 11 Sep 2011 22:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 sun-bcla-java-vm @GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal BitstreamVera"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O2 -pipe"
CHOST="i686-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/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium4 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="is_IS.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="is en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacs aalib ace acl acpi aim animgif ansi apache2 apm apng applet archive asf asn avcodec avformat berkdb bluetooth bluray branding bzip2 cairo cdb cdda cddb cdparanoia cdr cdrdao cdrom cdsound checksum chipcard chm cli consolekit cracklib crypt crypto cryptokit css cups cxx dbus dc1394 declarative djvu dk dri dtmf dts dv dvb dvbsetup dvd dvdnav dvdr dvi dxva2 ebook emboss encode exif extras fam firefox flac fortran gd gdbm gdm gdu gif gnutls gpg gphoto2 gpm gps gpsd gpu gsm gstreamer gtk gzip h224 h281 h323 hfs iconv icu id3 id3tag ident idn ieee1394 image-cache imagemagick imaging imap imlib inkjar ios ipod ipv6 irc is java java6 javacomm javascript jbig jce jfs jpeg jpeg2k kde kdecards kdrive kipi lame lcms ldap libass libcaca libnotify libv4l libv4l2 live lzma mad maps matroska md5 md5sum md5sum-external midi mjpeg mkl mms mmxext mng modules mozilla mp3 mp3rtp mp3tunes mp4 mpeg mpg123 mplayer mudflap multiprocess musicbrainz mysql mysqli ncurses nfs nls nntp nokia npp nptl nptlonly nsplugin nss nsscache ntfs ntlm ogg ogg123 ogm openal opencl openexr opengl openmp openpgp pam pango pcre pda pdf perl phonon php plasma png policykit ppds pppd python qt3support qt4 quicktime quvi rar raw readline rtmp rtsp samba scanner scp sdl seamonkey secure-delete semantic-desktop session sftp smartcard smp sms smtp snmp sox spamassassin spell sqlite srt srtp sse3 ssl startup-notification svg sysfs system-sqlite szip tcpd theora thumbnail thumbnails tiff truetype udev unicode unlock-notify unzip usb v4l v4l2 vaapi vcd vcdx vdpau vorbis webcam win32 winbind wineappdb wma wma-fixed wmf x264 x86 xcb xcomposite xml xorg xosd xscreensaver xulrunner xv xvid zip zlib zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="is en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia nouveau 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Thanks for the help.
Top
jonfr
Veteran
Veteran
Posts: 1008
Joined: Sun Jul 20, 2003 5:24 pm
Location: Denmark
Contact:
Contact jonfr
Website

  • Quote

Post by jonfr » Wed Sep 14, 2011 12:16 pm

This error is stopping me from updating Gentoo Linux. So any suggestion on how to fix this problem is welcomed.
Top
Post Reply

2 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic