It fails with a compilation error (cannot convert unsigned int * to unsigned long * in function call argument). It would seem that something has changed upstream (I don't know whether in avidemux or faad) and now the patch 00_all_faadfix.patch in avidemux-2.0.38_rc2-r1-patches.tar.bz2 is not only redundant, but it is causing the reverse error that it was fixing about bug #86935... Probably removing the patch in this case would be enough... Reproducible: Always Steps to Reproduce: 1. emerge avidemux 2. 3. Actual Results: ADM_codecfaad.cpp: In constructor `ADM_faad::ADM_faad(uint32_t, WAVHeader*, uint32_t, uint8_t*)': ADM_codecfaad.cpp:52: error: no se puede convertir `unsigned int*' a `long unsigned int*' para el argumento `4' para `char faacDecInit2(void*, unsigned char*, long unsigned int, long unsigned int*, unsigned char*)' ADM_codecfaad.cpp: In member function `virtual uint8_t ADM_faad::run(uint8_t*, uint32_t, uint8_t*, uint32_t*)': ADM_codecfaad.cpp:103: error: no se puede convertir `unsigned int*' a `long unsigned int*' para el argumento `4' para `long int faacDecInit(void*, unsigned char*, long unsigned int, long unsigned int*, unsigned char*)' make[3]: *** [ADM_codecfaad.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/avidemux/ADM_audiocodec' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b/avidemux' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.38_rc2-r1/work/avidemux-2.0.38rc2b' make: *** [all] Error 2 !!! ERROR: media-video/avidemux-2.0.38_rc2-r1 failed. Expected Results: Emerge successfully. I currently have: * media-libs/faad2 Latest version available: 2.0-r3 Latest version installed: 2.0-r3 holly root # emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 14:03:22)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O3 -pipe -fomit-frame-pointer -mtune=athlon64 -march=athlon64" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -pipe -fomit-frame-pointer -mtune=athlon64 -march=athlon64" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="es_ES.UTF8" LC_ALL="es_ES.UTF8" LINGUAS="es en" 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="amd64 X aac acpi alsa apache2 audiofile avi berkdb bitmap-fonts bmp bzlib c++ cdr crypt ctype cups curl dbm dga doc dvd dvdr dvdread encode esd exif fam fbcon flac flash font-server foomaticdb fortran ftp gcj gdbm gif gimpprint gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imlib ipv6 java javascript joystick jp2 jpeg junit libg++ libwww lirc lzw lzw-tiff mad mbox mikmod mime mjpeg mmap mng motif mozilla mp3 mysql ncurses nls nptl nvidia ogg oggvorbis openal opengl oss pam pcmcia pcre perl png pnp postgres ppds python quicktime readline recode samba sasl scanner sdl sharedmem sndfile sockets speex spell sqlite ssl svg tcltk tcpd tetex theora threads tiff transcode truetype truetype-fonts type1-fonts unicode usb vorbis wmf xine xml xml2 xosd xpm xrandr xv xvid zlib linguas_es linguas_en" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS
I moved dependency for faad2 to 2.0-r5 version which features the API change, you need to use the ~amd64 version of it to have avidemux working.