Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 290233 - media-video/avidemux-2.5.1_p* fetch from svn its own copy of ffmpeg (trunk)
Summary: media-video/avidemux-2.5.1_p* fetch from svn its own copy of ffmpeg (trunk)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ben de Groot (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-23 12:13 UTC by Momesso Andrea
Modified: 2009-10-29 01:33 UTC (History)
5 users (show)

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


Attachments
Perl script to package snapshots (snapshot.pl,2.25 KB, text/plain)
2009-10-27 19:45 UTC, Martin von Gagern
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Momesso Andrea 2009-10-23 12:13:21 UTC
During the configure, while "-- Checking out FFmpeg" it launches this command:

/usr/bin/svn co svn://svn.ffmpeg.org/ffmpeg/trunk -r 19894 --ignore-externals /var/tmp/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396/avidemux/ADM_libraries/ffmpeg

Packages depending on an external and unverified font should be masked.

Reproducible: Always

Steps to Reproduce:
1.emerge =media-video/avidemux-2.5.1_p5396
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-10-23 12:28:38 UTC
Masking for QA concerns.
Comment 2 Martin von Gagern 2009-10-27 19:45:35 UTC
Created attachment 208457 [details]
Perl script to package snapshots

Have a look at cmake/admFFmpegPrepareTar.cmake: if you provide tar files for ffmpeg r19894 and libswscale r29686 in avidemux/ADM_libraries/, it won't do the automatic svn checkout.

This perl script does the reuqired work, including determining the revision numbers of these upstream packages. The resulting tarball will build avidemux without checking out any sources from subversion.
Usage: "perl snapshot.pl <REVNO>", e.g. "perl snapshot.pl 5396"

I don't know if you can distribute a changed file under the same name as a previous file over the gentoo mirrors. If not, I suggest you rename this one manually or change the construction of $p towards the end of the perl script.
Comment 3 Billy DeVincentis 2009-10-28 00:52:50 UTC
I have tried this script and all it gives me is a bunch of errors. Furthermore, if I unmask and try to compile avidemux 5396 it fails in the final stages during linking.
Comment 4 Ben de Groot (RETIRED) gentoo-dev 2009-10-28 22:36:07 UTC
The concerns are unwarranted. The avidemux snapshot checks out a specific revision of the libraries it needs, so it doesn't equal "live" or unverified code. (Yes, I could package them up myself, but I'm lazy...)

Unmasking.

Diego: Next time please communicate with me first, before masking one of the packages I maintain. You caused a lot of hassle for many users, as masking the snapshots resulted in bug 290726.
Comment 5 Luca Barbato gentoo-dev 2009-10-28 22:45:43 UTC
FFmpeg could be pleased if the svn doesn't get hammered unnecessarily, that said, would be possible convince upstream to use other solutions?
Comment 6 Ben de Groot (RETIRED) gentoo-dev 2009-10-28 22:59:11 UTC
(In reply to comment #5)
> FFmpeg could be pleased if the svn doesn't get hammered unnecessarily, 

Okay, I'll make a new snapshot tarball that will include the libs. This should satisfy all concerns. 

> that said, would be possible convince upstream to use other solutions?

In the past they haven't been very receptive to such requests.
Comment 7 Ben de Groot (RETIRED) gentoo-dev 2009-10-28 22:59:49 UTC
Reopening, WILL fix.
Comment 8 Herbert Wantesh 2009-10-29 00:49:59 UTC
by compiling avidemux i get this error during linking ...

[ 14%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/layer3.c.o                           
/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp: In member function 'void x264Encoder::printParam(x264_param_t*)':                                                                            
/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396/plugins/ADM_videoEncoder/ADM_vidEnc_x264/encoder.cpp:628: error: 'struct x264_param_t' has no member named 'b_bframe_pyramid'                                                                      
make[2]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/encoder.cpp.o] Error 1                            
make[2]: Leaving directory `/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396_build'                         
make[1]: *** [plugins/ADM_videoEncoder/ADM_vidEnc_x264/CMakeFiles/ADM_vidEnc_x264.dir/all] Error 2                                      
make[1]: *** Waiting for unfinished jobs....                                                                                            
[ 17%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_xvid/CMakeFiles/ADM_vidEnc_xvid.dir/xvidOptions.cpp.o                    
[ 17%] Building CXX object plugins/ADM_videoEncoder/ADM_vidEnc_xvid/CMakeFiles/ADM_vidEnc_xvid.dir/configGuiLoader.cpp.o                
[ 17%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/stream.c.o                           
[ 17%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/synth.c.o                            
[ 17%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/timer.c.o
Linking CXX shared library libADM_vidEnc_xvid.so
[ 17%] Building C object plugins/ADM_audioDecoders/ADM_ad_mad/ADM_libMad/CMakeFiles/ADM_libMad.dir/version.c.o
make[2]: Leaving directory `/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396_build'
[ 17%] Built target ADM_vidEnc_xvid
Linking C static library libADM_libMad.a
make[2]: Leaving directory `/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396_build'
[ 17%] Built target ADM_libMad
make[1]: Leaving directory `/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396_build'
make: *** [all] Error 2
make: Leaving directory `/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396_build/plugins'
 * ERROR: media-video/avidemux-2.5.1_p5396 failed:
 *   building plugins failed
 *
 * Call stack:
 *     ebuild.sh, line  49:  Called src_compile
 *   environment, line 3035:  Called die
 * The specific snippet of code:
 *       emake -C "${CMAKE_BUILD_DIR}/plugins" || die "building plugins failed"
 *
 * If you need support, post the output of 'emerge --info =media-video/avidemux-2.5.1_p5396',
 * the complete build log and the output of 'emerge -pqv =media-video/avidemux-2.5.1_p5396'.
 * The complete build log is located at '/tmp/portage/media-video:avidemux-2.5.1_p5396:20091029-003905.log'.
 * The ebuild environment file is located at '/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/temp/environment'.
 * S: '/tmp/tmerge/portage/media-video/avidemux-2.5.1_p5396/work/avidemux-2.5-r5396'

>>> Failed to emerge media-video/avidemux-2.5.1_p5396, Log file:

>>>  '/tmp/portage/media-video:avidemux-2.5.1_p5396:20091029-003905.log'

Unmounting tmpfs....     done

[ebuild   R   ] media-libs/x264-0.0.20091021  USE="threads -debug -pic" 0 kB

emerge --info                                                                                                               
Portage 2.2_rc46 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.10.1-r0, 2.6.31.5 x86_64)                                                
=================================================================                                                                       
System uname: Linux-2.6.31.5-x86_64-AMD_Athlon-tm-64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.1                                     
Timestamp of tree: Thu, 29 Oct 2009 00:30:01 +0000                                                                                      
ccache version 2.4 [enabled]                                                                                                            
app-shells/bash:     4.0_p28                                                                                                            
dev-java/java-config: 2.1.9-r1                                                                                                          
dev-lang/python:     2.6.2-r1, 3.1.1-r1                                                                                                 
dev-util/ccache:     2.4-r7                                                                                                             
dev-util/cmake:      2.6.4                                                                                                              
sys-apps/baselayout: 2.0.1                                                                                                              
sys-apps/openrc:     0.5.2-r1                                                                                                           
sys-apps/sandbox:    1.6-r2                                                                                                             
sys-devel/autoconf:  2.13, 2.63-r1                                                                                                      
sys-devel/automake:  1.7.9-r1, 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="amd64"                                                                                                                 
CBUILD="x86_64-pc-linux-gnu"                                                                                                            
CFLAGS="-march=athlon64 -O2 -pipe"                                                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                                                             
CONFIG_PROTECT="/etc /usr/kde/4.3/env /usr/kde/4.3/share/config /usr/kde/4.3/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/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="-march=athlon64 -O2 -pipe"                                                                                                    
DISTDIR="/usr/portage/distfiles"                                                                                                        
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"                                                                                                            
GENTOO_MIRRORS="http://gd.tuwien.ac.at/opsys/linux/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo http://distfiles.gentoo.org"                                                                          
LANG="en"                                                                                                                               
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--sort-common"
LINGUAS="en de"
MAKEOPTS="-j3"
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="/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/kde-testing /usr/local/portage/portage.overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aalib accessibility acpi additions aften akonadi alsa amd64 amrnb amrwb apm archive aspell ass audio avi bash-completion browserplugin bzip2 cairo caps cdparanoia clucene commercial cracklib crypt css cups curl custom-cflags custom-optimization cvs cxx daemon dbus devil dga dirac divx divx4linux djvu dri dts dvd dvdnav dvdr dvdread ebook encode enda exif faac faad fam ffmpeg firefox flac fortran ftp gcrypt gd gecko geoip gif gimp gimpprint glib glitz gpm gs gtk gtk2 hal iconv icu id3 id3tag imagemagick imlib irda jabber java jpeg jpeg2k kde kdeenablefinal kdehiddenvisibility kdeprefix kdrive kqemu lame lcms libsamplerate libvisual lm_sensors lzma lzo mad matroska midi mmx mmxext mng moznocompose moznoirc moznomail mp2 mp3 mpeg mplayer mudflap multilib musepack nas ncurses nemesi network nfs nls normalize nptl nptlonly nsplugin nut nvidia nxclient ogg opencore-amr openexr opengl openmp otr pam pcap pch pcre pdf perl plasma player png ppds privacy ps qt3support qt4 quicktime raptor rar readline realmedia redland replaygain rtc ruby-bindings sasl schroedinger semantic-desktop server sesame2 slit smi smp socks5 speex spell sqlite srt sse sse2 ssl startup-notification stats subversion svg tcpd texteffect theora threads threadsafe thumbnail tiff tk toolbar tordns transcode trayicon tremor truetype twolame unicode usb userlocales utempter v4l v4l2 vcd vcdimager vdpau video vorbis wavpack webdav-neon webkit wma wmf wmp x264 xanim xcb xcomposite xft xine xinerama xml xmms xorg xprint xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="emu10k1" 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" SANE_BACKENDS="hp5400" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Ben de Groot (RETIRED) gentoo-dev 2009-10-29 01:02:03 UTC
(In reply to comment #8)
> by compiling avidemux i get this error during linking ...

That is a different issue, please open a separate bug for that. (But better wait for the new snapshot I will upload.)
Comment 10 Ben de Groot (RETIRED) gentoo-dev 2009-10-29 01:33:39 UTC
The new avidemux-2.5.1_p5428 snapshot fixes this. Thanks Martin for the script idea.