Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 287850 - media-video/avidemux-2.5.1_p5359 does not work with >=media-libs/x264-0.0.20090923
Summary: media-video/avidemux-2.5.1_p5359 does not work with >=media-libs/x264-0.0.200...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
: 289931 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-06 05:30 UTC by Sergey S. Starikoff
Modified: 2009-10-29 10:23 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
The comlete build log. (build.log.bz2,1.92 KB, application/octet-stream)
2009-10-06 05:34 UTC, Sergey S. Starikoff
Details
patch based on svn diff -r 5359:5361 svn://svn.berlios.de/avidemux (avidemux_x264.diff,4.63 KB, patch)
2009-10-20 22:37 UTC, Sergey Dulko
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey S. Starikoff 2009-10-06 05:30:42 UTC
-- Configuring incomplete, errors occurred!
 * 
 * ERROR: media-video/avidemux-2.5.1_p5359 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 2893:  Called cmake-utils_src_configure
 *             environment, line  793:  Called die
 * The specific snippet of code:
 *       cmake ${cmakeargs} "${CMAKE_USE_DIR}" || die "cmake failed";
 *  The die message:
 *   cmake failed
 * 


Reproducible: Always

Steps to Reproduce:
1. Try to emerge media-video/avidemux-2.5.1_p5359

Actual Results:  
The quoted error.

Expected Results:  
Successfull update of avidemux.

$ emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-gentoo-1.12.11.1
Timestamp of tree: Sun, 04 Oct 2009 01:45:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d/50glib2 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildsyspkg collision-protect distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.corbina.net/pub/Linux/gentoo/                   ftp://mirror.aiya.ru/pub/gentoo/                 ftp://ftp.org.kemsu.ru/gentoo/                 http://ftp.chg.ru/pub/Linux/distributions/gentoo/                 ftp://ftp.chg.ru/pub/Linux/distributions/gentoo/"
LANG="ru_RU.KOI8-R"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-ftn"
SYNC="rsync://rsync.org.kemsu.ru/gentoo       rsync://rsync.asia.gentoo.org/gentoo-portage       rsync://mirror.aiya.ru/gentoo"
USE="X a52 ac3 acl alsa avi berkdb bzip2 cdr cli cracklib crypt cups dbus dri dvd flac fortran gdbm gif gtk iconv isdnlog jpeg jpeg2k modules mp3 mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl png pppd python readline reflection session spl ssl sysfs tcpd vorbis x86 xcb xorg xulrunner zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="sis"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey S. Starikoff 2009-10-06 05:34:05 UTC
Created attachment 206217 [details]
The comlete build log.
Comment 2 gglaboussole 2009-10-06 12:19:06 UTC
(In reply to comment #1)
> Created an attachment (id=206217) [details]
> The comlete build log.
> 
Hi

see bug 286801

Install subversion

Regards
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2009-10-07 18:33:04 UTC
Please attach always log in plain/text
Comment 4 Vitaliy V. Osypenko 2009-10-20 14:45:40 UTC
Here is my error

Scanning dependencies of target ADM_vidEnc_x264                                                                                                                                     
make[2]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359_build'                                                                
make[2]: Entering directory `/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359_build'                                                               
[ 11%] Building C object plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/interface.c.o                                                                      
[ 11%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/configGuiLoader.cpp.o                                                            
[ 11%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/encoder.cpp.o                                                                    
/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp: In member function ‘int x264Encoder::encodeFrame(vidEncEncodeParameters*)’:                                                                                                                                                     
/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp:351: error: ‘x264_nal_encode’ was not declared in this scope                                                                                                                                                                     
/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp: In member function ‘bool x264Encoder::createHeader()’:                                                                                                                                                                          
/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp:447: error: ‘x264_nal_encode’ was not declared in this scope
make[2]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/encoder.cpp.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359_build'
make[1]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 11%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/stream.c.o
[ 11%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/synth.c.o
[ 11%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/timer.c.o
[ 11%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/version.c.o
Linking C static library libADM_libMad.a
make[2]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359_build'
[ 11%] Built target ADM_libMad
make[1]: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359_build'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/portage/media-video/avidemux-2.5.1_p5359/work/avidemux-2.5-r5359_build/plugins'
 * ERROR: media-video/avidemux-2.5.1_p5359 failed:
 *   building plugins failed
 *
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 2996:  Called die
 * The specific snippet of code:
 *       emake -C "${CMAKE_BUILD_DIR}/plugins" || die "building plugins failed"
Comment 5 Vitaliy V. Osypenko 2009-10-20 14:46:46 UTC
Portage 2.2_rc46 (default/linux/amd64/2008.0/desktop, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31-zen2-bfs x86_64)
=================================================================
System uname: Linux-2.6.31-zen2-bfs-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.1
Timestamp of tree: Tue, 20 Oct 2009 10:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p33
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.3, 3.1.1-r1
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse3 -pipe"
CHOST="x86_64-pc-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/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -msse3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going"
FEATURES="assume-digests buildpkg ccache distlocks fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en cs ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/desktop-effects /usr/local/portage/layman/gnome /usr/local/portage/layman/sunrise /usr/local/portage/layman/Spring /usr/local/portage/layman/zugaina /usr/local/portage/layman/kde-testing /usr/local/portage/layman/rion /usr/local/portage/layman/arcon /usr/local/portage/layman/rostov /system/portage-local"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip X a52 aac acl acpi alsa amd64 avi bash-completion bitmap-fonts bluetooth branding bzip2 cairo cddb cdr cli cpudetection cracklib crypt css cups dbus devmap dlloader dri dts dv dvd dvdr dvdread emboss emul-linux-x86 encode evo extensions fam fbcon ffmpeg firefox flac fortran ftp fuse gdbm gif glut gnutls gpm gstreamer gtk gtk2 hal htmlhandbook iconv ieee1394 ipv6 jpeg kde kdeenablefinal lame libg++ libnotify lm_sensors logitech-mouse mad mikmod mmx modules mp3 mp4 mpeg mplayer mudflap multilib musepack musicbrainz ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf pdflib perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse-filters sse2 sse3 ssl startup-notification svg symlink sysfs tcpd threads thunar tiff tk truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd vorbis x264 xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs ru" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Vitaliy V. Osypenko 2009-10-20 15:04:50 UTC
And another I guess useful information:
media-libs/x264-0.0.20090923
Comment 7 Martin von Gagern 2009-10-20 16:00:32 UTC
http://git.videolan.org/?p=x264.git;a=commit;h=031e25d8cc909af2d138f9fedc8252 states: "libx264 now returns NAL units instead of raw data. x264_nal_encode is no longer a public function."
Since I have no clue as to what actually is a NAL, I can't come up with a patch here, but maybe one of you can. Maybe this announcement can help as well:
http://forum.doom9.org/showthread.php?p=1325882

Comment 8 Ben de Groot (RETIRED) gentoo-dev 2009-10-20 17:57:15 UTC
Maybe someone from video or qt herd wants to take a look at this? 
Comment 9 Ben de Groot (RETIRED) gentoo-dev 2009-10-20 18:07:26 UTC
Maybe we just need a new snapshot.
Comment 10 Martin von Gagern 2009-10-20 20:35:33 UTC
(In reply to comment #9)
> Maybe we just need a new snapshot.

Oh, thanks, I guess I had queried the log the wrong way, and just got a single commit instead of a range. There has been some activity since the x264 change.

branches/avidemux_2.5_branch_gruntster r5361 or later, I'd say, judging from the commit messages. Seems those changes aren't merged into trunk yet, though.

svn diff -r 5359:5361 svn://svn.berlios.de/avidemux
might produce a suitable patch, but I haven't tried it, and I'm not even sure I have a file on which I could try it.
Comment 11 Sergey Dulko 2009-10-20 22:37:33 UTC
Created attachment 207757 [details, diff]
patch based on svn diff -r 5359:5361 svn://svn.berlios.de/avidemux
Comment 12 Ben de Groot (RETIRED) gentoo-dev 2009-10-21 19:17:39 UTC
(In reply to comment #10)
> branches/avidemux_2.5_branch_gruntster r5361 or later, I'd say, judging from
> the commit messages. Seems those changes aren't merged into trunk yet, though.

The gruntster branch is the offical maintenance branch for 2.5 anyway, so that is what i used for the last snapshot as well. Trunk will become 2.6 or 3.0, so that's not what we want here.
Comment 13 Ben de Groot (RETIRED) gentoo-dev 2009-10-21 22:15:44 UTC
*** Bug 289931 has been marked as a duplicate of this bug. ***
Comment 14 Ben de Groot (RETIRED) gentoo-dev 2009-10-21 22:21:04 UTC
Fixed with new snapshot: avidemux-2.5.1_p5396
Comment 15 DaggyStyle 2009-10-22 14:55:15 UTC
(In reply to comment #14)
> Fixed with new snapshot: avidemux-2.5.1_p5396
> 

avidemux-2.5-r5396.tar.bz2 is missing.
Comment 16 Ben de Groot (RETIRED) gentoo-dev 2009-10-22 18:45:44 UTC
Sorry, my bad. The tarball is uploaded now, altho it may take a few hours to propagate to the mirrors.
Comment 17 Small_Penguin 2009-10-29 10:20:43 UTC
New version x264-0.0.20091021 is out and breaks the new snapshot, so avidemux-2.5.1_p5396 requires x264-0.0.20090908.
Comment 18 Small_Penguin 2009-10-29 10:23:44 UTC
Sorry, missed new avidemux-2.5.1_p5428.