[ 60%] Building C object CMakeFiles/aften_static.dir/libaften/ppc/ppc_cpu_caps.o In file included from /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/cpu_caps.h:26, from /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c:21: /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.h:29: error: expected ‘)’ before ‘*’ token [ 62%] Building C object CMakeFiles/aften.dir/libaften/ppc/ppc_cpu_caps.o /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c: In function ‘sig_ill_handler’: /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c:37: warning: unused parameter ‘sig’ /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c: In function ‘cpu_caps_detect’: /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c:62: warning: unused variable ‘oldhandler’ /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c: At top level: /var/tmp/portage/media-libs/aften-0.0.8/work/aften-0.0.8/libaften/ppc/ppc_cpu_caps.c:95: error: expected ‘)’ before ‘*’ token make[2]: *** [CMakeFiles/aften_static.dir/libaften/ppc/ppc_cpu_caps.o] Error 1 make[1]: *** [CMakeFiles/aften_static.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... etc... Happens both on ppc system and ~ppc chroot. emerge --info: Portage 2.1.4_rc4 (default-linux/ppc/ppc32/2007.0/G4, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-hardened-r2 ppc) ================================================================= System uname: 2.6.23-hardened-r2 ppc 7447A, altivec supported Timestamp of tree: Fri, 30 Nov 2007 16:30:08 +0000 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r6 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 2.0.0_rc6 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -Wstrict-aliasing -pipe -msecure-plt" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mtune=G4 -maltivec -mabi=altivec -Wstrict-aliasing -pipe -msecure-plt" DISTDIR="/var/tmp/portage/distfiles" FEATURES="cvs distlocks loadpolicy metadata-transfer parallel-fetch sandbox selinux sesandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/" LANG="en_GB.UTF-8" LC_ALL="en_GB.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa altivec berkdb bitmap-fonts cairo cli cracklib crypt cups divx4linux dlloader dri dvd dvdread flac fortran gdbm gif gpm hardened iconv ipv6 isdnlog jpeg midi mp3 mpeg mudflap ncurses network nls nptl nptlonly ogg opengl openmp pcre perl pic png ppc pppd python readline reflection selinux session spl ssl tcpd theora truetype truetype-fonts type1-fonts unicode userlocales vorbis xine xorg xv xvid 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 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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
default-linux/ppc/package.use.mask, hardened/ppc/package.use.mask: # Samuli Suominen <drac@gentoo.org> (30 Nov 2007) # media-libs/aften broken, and not keyworded. media-video/avidemux aften req. dep of media-video/avidemux-2.4_pre3, now in tree.
Created attachment 137534 [details, diff] try to be a fix could you please try with this patch ?
Created attachment 137550 [details] build log Not there yet. See attached log
Created attachment 137552 [details, diff] second patch and adding this one ? those patches are the two changes in libaften/ppc in upstream svn; in case it works, feel free to apply them unconditionally in aften ebuild when keywording
Created attachment 139193 [details, diff] Fix compile issue The above patches do not fix the problem, but this one seems to do the trick. Not sure if it's acceptable for upstream, but it should produce the proper code.
(In reply to comment #5) > Created an attachment (id=139193) [edit] > Fix compile issue > > The above patches do not fix the problem, but this one seems to do the trick. > Not sure if it's acceptable for upstream, but it should produce the proper > code. Dont wait for me to apply it if you need it; as long as it modifies only ppc related code, just do it ;) but please make sure a proper fix is applied upstream. As I'm not a ppc guru and cannot test this, I cant help much there, sorry :/
Marked ~ppc, added patch and removed use mask. I'll push the change upstream and see what they say.