Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 200866
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Alexis Ballier <aballier@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: nixnut <nixnut@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
aftenppc.patch try to be a fix patch Alexis Ballier 2007-12-02 14:04 0000 348 bytes Details | Diff
media-libs:aften-0.0.8:20071202-165941.log build log text/plain nixnut 2007-12-02 17:06 0000 61.58 KB Details
altivec.patch second patch patch Alexis Ballier 2007-12-02 17:15 0000 3.22 KB Details | Diff
aften.patch Fix compile issue patch Joe Jezak 2007-12-23 17:15 0000 357 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 200866 depends on: Show dependency tree
Bug 200866 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-11-30 20:24 0000
[ 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

------- Comment #1 From Samuli Suominen 2007-12-01 08:06:57 0000 -------
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.

------- Comment #2 From Alexis Ballier 2007-12-02 14:04:22 0000 -------
Created an attachment (id=137534) [details]
try to be a fix

could you please try with this patch ?

------- Comment #3 From nixnut 2007-12-02 17:06:52 0000 -------
Created an attachment (id=137550) [details]
build log

Not there yet. See attached log

------- Comment #4 From Alexis Ballier 2007-12-02 17:15:39 0000 -------
Created an attachment (id=137552) [details]
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

------- Comment #5 From Joe Jezak 2007-12-23 17:15:21 0000 -------
Created an attachment (id=139193) [details]
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.

------- Comment #6 From Alexis Ballier 2008-01-04 11:45:33 0000 -------
(In reply to comment #5)
> Created an attachment (id=139193) [edit] [details]
> 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 :/

------- Comment #7 From Joe Jezak 2008-01-06 01:36:16 0000 -------
Marked ~ppc, added patch and removed use mask.  I'll push the change upstream
and see what they say.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug