Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
qt-core-4.6.3: build fails on ppc [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 955
Location: Queensland

PostPosted: Sat Jun 12, 2010 1:38 am    Post subject: qt-core-4.6.3: build fails on ppc [SOLVED] Reply with quote

This may or may not be specific to ppc.
emerge -quDN world:
...
powerpc-unknown-linux-gnu-g++ -c -o makefiledeps.o -O2 -pipe -fomit-frame-pointer  -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/include -I/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/include/QtCore -I/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/src/corelib/global -I/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/src/corelib/xml -I/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT  generators/makefiledeps.cpp
In file included from /usr/include/asm/sigcontext.h:12,
                 from /usr/include/bits/sigcontext.h:29,
                 from /usr/include/signal.h:340,
                 from /var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-g++/qplatformdefs.h:70,
                 from generators/makefiledeps.cpp:49:
/usr/include/asm/ptrace.h:201: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:202: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:203: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:204: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:205: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:206: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:207: error: '__u64' does not name a type
In file included from /usr/include/asm/sigcontext.h:12,
                 from /usr/include/bits/sigcontext.h:29,
                 from /usr/include/signal.h:340,
                 from /var/tmp/portage/x11-libs/qt-core-4.6.3/work/qt-everywhere-opensource-src-4.6.3/mkspecs/linux-g++/qplatformdefs.h:70,
                 from generators/makefiledeps.cpp:49:
/usr/include/asm/ptrace.h:223: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:224: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:225: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:226: error: '__u32' does not name a type
/usr/include/asm/ptrace.h:227: error: '__u64' does not name a type
/usr/include/asm/ptrace.h:228: error: '__u64' does not name a type
/usr/include/asm/ptrace.h:229: error: '__u64' does not name a type
gmake: *** [makefiledeps.o] Error 1
emerge --info:
Portage 2.1.8.3 (default/linux/powerpc/ppc64/10.0/32bit-userland/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32-gentoo-r7 ppc64)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-ppc64-PPC970,_altivec_supported-with-gentoo-2.0.1
Timestamp of tree: Fri, 11 Jun 2010 23:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.2-r3, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.34
ACCEPT_KEYWORDS="ppc ~ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.swin.edu.au/gentoo http://mirror.pacific.net.au/linux/Gentoo ftp://ftp.swin.edu.au/gentoo ftp://mirror.pacific.net.au/linux/Gentoo "
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j4 -s"
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"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa altivec autoipd avahi berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus disk-partition doc dri dts dvd dvdr emboss encode exif extra extras fam firefox flac fortran gcc64 gdbm gif glibc-omitfp gpm handbook iconv icu jadetex java jpeg kde kontact kpathsea latex lcms ldap libnotify mad mikmod mmap mng modules mp3 mp4 mpeg msn mudflap ncurses networkmanager nls npp nptl nptlonly ogg opengl openmp oscar pam pango pcre pdf perl png policykit ppc ppds pppd python qt3support qt4 quicktime readline reflection ruby scanner sdl semantic-desktop session slang spell spl ssl startup-notification svg sysfs tcpd threads tiff truetype udev unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wmf x264 xcb xcomposite xml xorg xpm xulrunner xv xvid yahoo zlib"
ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx"
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 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"
ELIBC="glibc"
INPUT_DEVICES="evdev"
KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LINGUAS="en en_GB"
RUBY_TARGETS="ruby18"
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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(later) The problem is that __u32 qualifier/keyword. It is affecting many packages. Even a kernel make menuconfig is affected by it. The posting is here because I thought it was a Qt-specific problem. Why has __u32 suddenly become unrecognised ? Is it because I downgraded my kernel from 2.6.34 to 2.6.32-r7 ?
_________________
Michael Mounteney


Last edited by mounty1 on Mon Jun 14, 2010 6:33 am; edited 1 time in total
Back to top
View user's profile Send private message
mounty1
l33t
l33t


Joined: 06 Jul 2006
Posts: 955
Location: Queensland

PostPosted: Mon Jun 14, 2010 6:32 am    Post subject: Don't know Reply with quote

I don't know what was the problem here but I solved it by reverting to a snapshot then rolling forwards again.
_________________
Michael Mounteney
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum