Opened 13 years ago

Closed 13 years ago

#28074 closed defect (fixed)

ffmpeg-devel 25102 fails to install due to missing libswscale in svn repo

Reported by: dev@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: ffmpeg-devel

Description (last modified by ryandesign (Ryan Carsten Schmidt))

From logfile:

:info:fetch svn: File not found: revision 32807, path '/trunk/libswscale'
:info:fetch shell command "svn co -r32106 svn://svn.ffmpeg.org/mplayer/trunk/libswscale /opt/local/var/macports/distfiles/ffmpeg-devel/25102/trunk/libswscale"
 returned error 1

I noticed that trunk/libswscale has been removed from that repo:

svn log -r32801 -v svn://svn.ffmpeg.org/mplayer/trunk/

------------------------------------------------------------------------
r32801 | diego | 2011-01-20 02:41:43 -0700 (Thu, 20 Jan 2011) | 8 lines
Changed paths:
   D /trunk/libswscale

Which states:

Remove libswscale subdirectory.

libswscale has been moved to FFmpeg since some time and only kept in the
MPlayer repository for historical reasons and difficulty in moving code
complete with history between Subversion repositories.
FFmpeg now contains libswscale directly without indirection through an
svn:externals property, so no reason to keep libswscale in MPlayer remains.

Maybe ffmpeg-devel should now depend on ffmpeg? Would that solve the issue?

Attachments (1)

Portfile-ffmpeg-devel.diff (882 bytes) - added by dev@… 13 years ago.

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by dev@…

Attachment: Portfile-ffmpeg-devel.diff added

comment:1 Changed 13 years ago by dev@…

Here's a patch file that seems to work better. I am now getting a new error:

:msg:patch --->  Configuring ffmpeg-devel
:debug:patch Using compiler 'Mac OS X gcc 4.0'
:debug:configure configure phase started at Fri Jan 21 03:49:45 MST 2011
:debug:configure Executing org.macports.configure (ffmpeg-devel)
:debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-O2 -DHAVE_LRINTF -I/opt/local/include -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-O2 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.5' CXX='/usr/bin/g++-4.0' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg-devel/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m32' LDFLAGS='-L/opt/local/lib -arch i386' OBJC='/usr/bin/gcc-4.0' FCFLAGS='-O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch i386' FFLAGS='-O2 -m32' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.0'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg-devel/work/trunk" && ./configure --prefix=/opt/local --enable-nonfree --enable-gpl --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libdirac --enable-libschroedinger --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-libspeex --mandir=/opt/local/share/man --enable-shared --enable-pthreads --disable-indevs --cc=/usr/bin/gcc-4.0 --arch=i386'
:info:configure ERROR: libx264 version must be >= 0.99.
:info:configure
:info:configure If you think configure made a mistake, make sure you are using the latest
:info:configure version from SVN.  If the latest version fails, report the problem to the
:info:configure ffmpeg-user@mplayerhq.hu mailing list or IRC #ffmpeg on irc.freenode.net.
:info:configure Include the log file "config.log" produced by configure as this will help
:info:configure solving the problem.

comment:2 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: ffmpeg-devel 25102 fails to install due to missing svn repoffmpeg-devel 25102 fails to install due to missing libswscale in svn repo

By definition of what a -devel port is, ffmpeg and ffmpeg-devel conflict with one another; one of them certainly cannot depend on the other.

Dave, I fixed the immediate problem in r75318 by using peg revisions instead of operative ones in your svn checkout commands. I'll leave it to you whether you want to additionally update ffmpeg-devel to a newer version, as suggested by the attached patch from dev@nuclearblender, or whether you want to close the ticket as fixed now.

comment:4 Changed 13 years ago by dev@…

Thank you for the clarification on ffmpeg vs. ffmpeg-devel.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

ffmpeg-devel was updated to fetch from git, now that their svn repository is gone; see #29215.

Note: See TracTickets for help on using tickets.