Camstream has some 32 bit assembler that obviously won't play nice with a 64 bit kernel. video_asm.S: Assembler messages: video_asm.S:24: Error: `8(%ebp)' is not a valid 64 bit base/index expression video_asm.S:25: Error: `12(%ebp)' is not a valid 64 bit base/index expression video_asm.S:26: Error: `16(%ebp)' is not a valid 64 bit base/index expression video_asm.S:27: Error: `20(%ebp)' is not a valid 64 bit base/index expression and so on. When reported to the author of the application, the gist of the answer was 'I don't have a 64 bit system to test on, you're going to have to solve it.' http://smcc.demon.nl/anthill/query.php?bug=67 Reproducible: Always Steps to Reproduce: 1. emerge /usr/portage/media-video/camstream/camstream-0.26.3.ebuild 2. ??? 3. Don't profit! Actual Results: Failed compile. Expected Results: Compiled. Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.3-gentoo-r2-cs1) ================================================================= System uname: 2.6.3-gentoo-r2-cs1 x86_64 4 Gentoo Base System version 1.4.3.13 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.7.8 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-O2" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acpi alsa amd64 apache2 apm arts artswrappersuid avi bonobo cddb cdr crypt cups dga dvd encode esd ethereal faad flac foomaticdb gd gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib innodb jpeg kde libg++ libwww mad maildir mikmod motif mozilla mozp3p mozsvg mpeg msn mysql ncurses nls nogcj oggvorbis opengl pam pdflib pear-db perl png python qt quicktime readline samba sasl sdl slang spell ssl tcltk tcpd tetex theora tiff transparent-proxy truetype usb vim-with-x xml2 xmms xv yahoo zlib"
Created attachment 29511 [details, diff] ebuild patch to support new asm patch + gnuconfig + QT issue This ebuild patch addes support for gnuconfig_update, flags camstream as ~amd64, and incorporates a previous bugs.g.o patch for a QT issue when compiling.
Created attachment 29512 [details, diff] 64 bit assembler patch for camstream Only patches camstream/video/*, not ccvt/*. Done with a crude sed 's/%e/%r/' and may not work properly on all systems. Works For Me with my Logitech Notebook Pro.
This is mainly a bug to make media-video/camstream work on amd64. However, i can't include those sandbox-violation patches on my own. CC'ing maintainer. phosphan: Could you please include that sandbox-issue patches ?
Created attachment 29513 [details, diff] ebuild patch with ~amd64, icon install fix, QT fix, gnuconfig fix. Previous ebuild patch didn't install icons in the right place, so the GUI was a little sparse and unuseable.
Will check this tomorrow - if not, please remind me :-)
Duncan, the fix for the icon path is not necessary if you do the fix for the Qt problem correctly (which indeed fixes a "fix" by someone else...). Please try the version I've just put into portage when available. Thanks!
Works! :)
This is working fine for me too - maybe it should be marked stable on amd64 since no other bugs have been filed and there have been two successful compiles ;)