Kino updated with no problems on my AMD64 box with the same flags. emerging on PPC gave this [plenty more packed attribute warnings from avi.h] avi.h:137: warning: ignoring packed attribute on unpacked non-POD field `int32_le_t <anonymous struct>::nAvgBytesPerSec' avi.h:138: warning: ignoring packed attribute on unpacked non-POD field `int16_le_t <anonymous struct>::nBlockAlign' avi.h:139: warning: ignoring packed attribute on unpacked non-POD field `int16_le_t <anonymous struct>::wBitsPerSample' avi.h:140: warning: ignoring packed attribute on unpacked non-POD field `int16_le_t <anonymous struct>::cbSize' avi.h:141: warning: ignoring packed attribute on unpacked non-POD field `int16_le_t <anonymous struct>::dummy' avi.h:147: warning: ignoring packed attribute on unpacked non-POD field `int16_le_t <anonymous struct>::wLongsPerEntry' avi.h:150: warning: ignoring packed attribute on unpacked non-POD field `int32_le_t <anonymous struct>::nEntriesInUse' avi.h:152: warning: ignoring packed attribute on unpacked non-POD field `int32_le_t <anonymous struct>::dwReserved[3]' avi.h:159: warning: ignoring packed attribute on unpacked non-POD field `<anonymous struct>::avisuperindex_entry <anonymous struct>::aIndex[2014]' avi.h:165: warning: ignoring packed attribute on unpacked non-POD field `int16_le_t <anonymous struct>::wLongsPerEntry' avi.h:168: warning: ignoring packed attribute on unpacked non-POD field `int32_le_t <anonymous struct>::nEntriesInUse' avi.h:170: warning: ignoring packed attribute on unpacked non-POD field `int64_le_t <anonymous struct>::qwBaseOffset' avi.h:171: warning: ignoring packed attribute on unpacked non-POD field `int32_le_t <anonymous struct>::dwReserved' avi.h:177: warning: ignoring packed attribute on unpacked non-POD field `<anonymous struct>::avifieldindex_entry <anonymous struct>::aIndex[17895]' avi.h:190: warning: ignoring packed attribute on unpacked non-POD field `<anonymous struct>::avisimpleindex_entry <anonymous struct>::aIndex[20000]' avi.h:191: warning: ignoring packed attribute on unpacked non-POD field `int32_le_t <anonymous struct>::nEntriesInUse' frame.h: In member function `int AsyncAudioResample<input_t, output_t>::Process(double, int) [with input_t = int16_ne_t, output_t = int16_le_t]': export.cc:673: instantiated from here frame.h:512: error: cannot convert `int16_le_t*' to `short int*' for argument `2' to `void src_float_to_short_array(const float*, short int*, int)' make[3]: *** [export.o] Error 1 make[3]: Leaving directory `/mnt/scratch/portage/kino-0.8.1/work/kino-0.8.1/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/scratch/portage/kino-0.8.1/work/kino-0.8.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/scratch/portage/kino-0.8.1/work/kino-0.8.1' make: *** [all] Error 2 !!! ERROR: media-video/kino-0.8.1 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 930: Called src_compile kino-0.8.1.ebuild, line 51: Called die [root@krikkit ~]# emerge --info Portage 2.1_pre10-r5 (default-linux/ppc/ppc32/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r7 ppc) ================================================================= System uname: 2.6.16-gentoo-r7 ppc 7447A, altivec supported Gentoo Base System version 1.12.0_pre19 ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.18 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/env.d /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -pipe -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -fno-strict-aliasing -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical" FEATURES="autoconfig buildpkg ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://gentoo.digimed.co.uk/ http://pandemonium.tiscali.de/pub/gentoo/ http://mir.zyrianes.net/gentoo/ ftp://mir.zyrianes.net/gentoo/ ftp://mirror.nutsmaas.nl/gentoo" LANG="en_GB" LINGUAS="en_GB" MAKEOPTS="-j2" PKGDIR="/mnt/portage/packages/krikkit" 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'" PORTAGE_TMPDIR="/mnt/scratch" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/mnt/portage/local" SYNC="rsync://desiato/gentoo" USE="ppc X alsa altivec apm artswrappersuid audiofile berkdb bitmap-fonts bluetooth bzip2 cddb cdr cli crypt cups curl dbus dri dv dvd emboss encode exif ffmpeg flac foomaticdb gdbm gif gimpprint gphoto2 gpm gtk gtk2 hal ieee1394 imagemagick imlib isdnlog java jpeg jpeg2k kde kdeenablefinal libg++ libwww mad mng mono motif mp3 mpeg musicbrainz mysql ncurses nptl nptlonly offensive ogg oggvorbis opengl pcre pdflib perl png ppds pppd python qt quicktime readline reflection scanner sdl session speex spell spl ssl svg tcltk tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vhosts vorbis wifi xml xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_ati video_cards_vesa" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 86529 [details] Full log of failed emerge
Can anyone confirm or deny problems building on PPC?
I can confirm this error on my PowerBook. $ emerge --info Portage 2.1_rc3-r3 (default-linux/ppc/ppc32/2006.0/G4, gcc-3.4.6, glibc-2.3.6-r3, 2.6.17-rc5 ppc) ================================================================= System uname: 2.6.17-rc5 ppc 7447/7457, altivec supported Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r4 ACCEPT_KEYWORDS="ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mtune=G4 -mcpu=G4 -maltivec -mabi=altivec -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc 7zip X a52 aac alsa altivec apache2 apm asf audiofile bash-completion berkdb bitmap-fonts bonobo bzip2 cairo cdparanoia cdr cdrom cli crypt cups dbus dedicated dhcp disablexmb divx4linux dlloader dri dts dv dvd dvdr dvdread emboss encode ethereal fame ffmpeg firefox foomaticdb fortran gcj gdbm gif gimp gimpprint glitz gnokii gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml gzip hal icq id3 ieee1394 imagemagick imlib imlib2 input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 irda isdnlog jpeg kde kdeenablefinal kerberos latex ldap libg++ libwww lzo mad maildir matroska mikmod mjpeg mng motif mozilla mp3 mpeg musicbrainz ncurses nls nptl nptlonly nsplugin objc ogg opengl pam pcre pdflib perl png ppds pppd python qt qt4 quicktime readline reflection ruby samba sdk sdl session slang sms sndfile spell spl ssl tabs tcpd tetex tga theora tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd video_cards_nv vorbis xgetdefault xml xorg xpm xv xvid zeroconf zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
0.8.0 works fine by the way.
0.7.6 also fails, 0.7.5-r1 (which applies an endianess fix) at least compiles for me. This should be reported upstream.
0.7.6 compiles fine here, 0.9.0 is also failing.
I'm seeing the same failures on a ~sparc system for 0.8,1 and 0,9.0
Created attachment 93878 [details, diff] Fixes errors This patch fixes the errors and it compiles, but I can't test it as I have no DV camera. It does run though... any testers out there? :)
Created attachment 93900 [details] Error log after patching Unfortunately, it still fails here. I applied the patch by adding epatch ${FILESDIR}/kino.patch to the end of src_unpack() but it still bombs out with the attached error.
Can you check to make sure that it's actually applied the fix?
Doh! Previous Kino ebuilds inherited eutils, this one doesn't. I would have thought it would abort when it could find epatch. Anyway, I added inherit eutils and it's built fine. It will grab video, but the colours are inverted (it's OK on my AMD64 box). I expect this is a problem with Kino rather than the build and post back when I get some more info.
Forget the last comment, it was a display (XVideo) problem, thew captured files are fine and GDK display works correctly. I'd say this is fixed now, many thanks.
Please don't close bugs until the fix is in portage. :( Media-video folks, is this patch okay to apply? Thanks!
Sorry :(
Please apply
In CVS, no worries Neil, we just needed to fix it for everyone else. ;)