Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#17750 closed defect (fixed)

Error From install FFMPEG.

Reported by: dolphinman_hunter@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: dbevans (David B. Evans)
Port: ffmpeg

Description (last modified by mf2k (Frank Schima))

sudo port install ffmpeg +gpl +lame +x264 +xvidPassword:--->  Applying patches to ffmpeg
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff'" returned error 1
Command output: can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- libavcodec/ppc/check_altivec.c.orig	2008-12-05 20:07:27.000000000 +0900
|+++ libavcodec/ppc/check_altivec.c	2008-12-08 05:20:52.000000000 +0900
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 15 years ago by dolphinman_hunter@…

I'm sorry.I forgot adjust my page. Again
sudo port install ffmpeg +gpl +lame +x264 +xvid

--->  Applying patches to ffmpeg
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_ffmpeg/work/trunk" && patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff'" returned error 1
Command output: can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- libavcodec/ppc/check_altivec.c.orig	2008-12-05 20:07:27.000000000 +0900
|+++ libavcodec/ppc/check_altivec.c	2008-12-08 05:20:52.000000000 +0900
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

Error: Status 1 encountered during processing.



comment:2 Changed 15 years ago by mf2k (Frank Schima)

Keywords: ffmpeg removed
Owner: changed from macports-tickets@… to acho@…
Port: ffmpeg added; fffmpeg removed

Assigning to maintainer.

comment:3 Changed 15 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:4 Changed 15 years ago by dbevans (David B. Evans)

Cc: devans@… added
Milestone: MacPorts 1.7.1Port Bugs

I just tried installing with the same variants and had no problems. Perhaps your working copy is corrupted/wasn't fetched properly from svn? Try

sudo port selfupdate
sudo port clean --all ffmpeg
sudo port -d install ffmpeg +gpl +lame +x264 +xvid

and see if that doesn't work better or at least give more information about what's happening.

My results are

devans% sudo port -d install +gpl +lame +x264 +xvid
...
--->  Applying patches to ffmpeg
--->  Applying /Volumes/maxtor-80/opt/macports/trunk/dports/multimedia/ffmpeg/files/patch-libavcodec_ppc_check_altivec.c.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_maxtor-80_opt_macports_trunk_dports_multimedia_ffmpeg/work/trunk" && patch -p0'
patching file libavcodec/ppc/check_altivec.c
--->  Applying /Volumes/maxtor-80/opt/macports/trunk/dports/multimedia/ffmpeg/files/patch-libavfilter-avfilter.h.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_maxtor-80_opt_macports_trunk_dports_multimedia_ffmpeg/work/trunk" && patch -p0'
patching file libavfilter/avfilter.h
--->  Applying /Volumes/maxtor-80/opt/macports/trunk/dports/multimedia/ffmpeg/files/patch-libswscale-Makefile.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_maxtor-80_opt_macports_trunk_dports_multimedia_ffmpeg/work/trunk" && patch -p0'
patching file libswscale/Makefile
--->  Applying /Volumes/maxtor-80/opt/macports/trunk/dports/multimedia/ffmpeg/files/patch-libswscale-swscale.h.diff
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_maxtor-80_opt_macports_trunk_dports_multimedia_ffmpeg/work/trunk" && patch -p0'
patching file libswscale/swscale.h
--->  Configuring ffmpeg
...

comment:5 Changed 15 years ago by dolphinman_hunter@…

Thank you devans. I follow from you. It's work. it haven't any error.

comment:6 Changed 15 years ago by dbevans (David B. Evans)

Owner: changed from acho@… to devans@…
Status: newassigned

comment:7 Changed 15 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: assignedclosed

comment:8 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.