First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 247826
Alias:
Product:
Component:
Status: RESOLVED
Resolution: WORKSFORME
Assigned To: Olivier Crete <tester@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: noybman <noybman@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
bug1.txt The ebuild environment file text/plain noybman 2008-11-20 21:23 0000 97.05 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 247826 depends on: Show dependency tree
Bug 247826 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-11-20 21:10 0000
***** mpeg4ip-1.5.0.1-x264.patch *****

======================================

PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch <
/usr/portage/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-x264.patch

======================================
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:
--------------------------
|--- mpeg4ip-1.5.0.1/server/mp4live/video_x264.cpp      2006-05-11
22:23:19.000000000 +0200
|+++ mpeg4ip/server/mp4live/video_x264.cpp      2006-09-29 21:55:42.000000000
+0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 57
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h.old  2006-11-11
20:56:48.000000000 +0100
|+++ b/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h      2006-11-11
20:57:49.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch <
/usr/portage/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-x264.patch

======================================
patching file server/mp4live/video_x264.cpp
can't find file to patch at input line 57
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h.old  2006-11-11
20:56:48.000000000 +0100
|+++ b/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h      2006-11-11
20:57:49.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch <
/usr/portage/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-x264.patch

======================================
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:
--------------------------
|--- mpeg4ip-1.5.0.1/server/mp4live/video_x264.cpp      2006-05-11
22:23:19.000000000 +0200
|+++ mpeg4ip/server/mp4live/video_x264.cpp      2006-09-29 21:55:42.000000000
+0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
patching file server/mp4live/video_x264.h
======================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch <
/usr/portage/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-x264.patch

======================================
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:
--------------------------
|--- mpeg4ip-1.5.0.1/server/mp4live/video_x264.cpp      2006-05-11
22:23:19.000000000 +0200
|+++ mpeg4ip/server/mp4live/video_x264.cpp      2006-09-29 21:55:42.000000000
+0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 57
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h.old  2006-11-11
20:56:48.000000000 +0100
|+++ b/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h      2006-11-11
20:57:49.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
======================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch <
/usr/portage/media-video/mpeg4ip/files/mpeg4ip-1.5.0.1-x264.patch

======================================
missing header for unified diff at line 3 of patch
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:
--------------------------
|--- mpeg4ip-1.5.0.1/server/mp4live/video_x264.cpp      2006-05-11
22:23:19.000000000 +0200
|+++ mpeg4ip/server/mp4live/video_x264.cpp      2006-09-29 21:55:42.000000000
+0200
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
can't find file to patch at input line 57
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- a/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h.old  2006-11-11
20:56:48.000000000 +0100
|+++ b/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h      2006-11-11
20:57:49.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Reproducible: Always

Steps to Reproduce:
1. Emerge mpeg4ip -uvDN

here's "my" use flags atm:
USE="hal 7zip X aac avahi aalib acpi alsa apm automount bash-completion 
     bittorrent calendar catalogs cdaudio cdda cdparanoia cdr cpufreq
     css ctype cxx disk-partition divx     dvd dvdr dvdread esd ffmpeg 
     firefox ftp gd gnome gtk imagemagick id3 ipod java6 javascript jpeg 
     libnotify lm_sensors mbox mmap mmx mp3 mp4live mpeg mpeg2 mplayer 
     nas pcmcia player posix png quicktime radeon rdesktop rss samba 
     sockets svga threads truetype usb wifi win32codecs wmf xvid qt3 dbus"

------- Comment #1 From noybman 2008-11-20 21:23:13 0000 -------
Created an attachment (id=172561) [edit]
The ebuild environment file

------- Comment #2 From nanikata@gmail.com 2008-11-24 03:26:54 0000 -------
Got the same error.

x264 patch patches video_x264.h and video_x264.cpp files.
The problem was that paths to each file inside 
the patch are of different depth:

mpeg4ip-1.5.0.1/server/mp4live/video_x264.cpp
mpeg4ip/server/mp4live/video_x264.cpp

and

a/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h.old
b/mpeg4ip-1.5.0.1/server/mp4live/video_x264.h

thus  they require different -p options to patch correctly.

Can be made to emerge correctly by editing paths
inside mpeg4ip-1.5.0.1-x264.patch
(for example removing "a/" and "b/")
Not really sure if it's OK to do this though.

Still, don't think I've had this problem before...
Recently upgraded to portage-2.2-rc15, maybe that's
the reason?

------- Comment #3 From Andrey Korolyov 2008-11-25 22:17:56 0000 -------
>Can be made to emerge correctly by editing paths
>inside mpeg4ip-1.5.0.1-x264.patch
>(for example removing "a/" and "b/"

Surely no. Simply put a/ and b/ at begin of first two lines then patch will be
applied correctly. 

------- Comment #4 From Robert Buchholz 2008-11-30 17:37:13 0000 -------
Thanks for the bug report.

+  30 Nov 2008; Robert Buchholz <rbu@gentoo.org>
+  files/mpeg4ip-1.5.0.1-x264.patch:
+  Fix wrong path levels in patch, bug #247826

------- Comment #5 From noybman 2008-11-30 18:18:15 0000 -------
I tested this just moments ago by re-downloading the package and it still fails
(oob)

------- Comment #6 From nanikata@gmail.com 2008-12-02 13:28:28 0000 -------
(In reply to comment #5)
> I tested this just moments ago by re-downloading the package and it still fails
> (oob)
> 

Worked fine here, the patch seems to have been fixed properly.
Maybe you should try to sync once more?

------- Comment #7 From Samuli Suominen 2008-12-12 05:09:42 0000 -------
This package has moved back to unstable because upstream is gone, try -r6.

>>> Emerging (1 of 1) media-video/mpeg4ip-1.5.0.1-r6
 * mpeg4ip-1.5.0.1.tar.gz RMD160 SHA1 SHA256 size ;-) ...                [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
>>> Unpacking source...
>>> Unpacking mpeg4ip-1.5.0.1.tar.gz to /var/tmp/portage/media-video/mpeg4ip-1.5.0.1-r6/work
 * Applying mpeg4ip-1.4.1-disable-faac-test.patch ...                     [ ok
]
 * Applying mpeg4ip-1.5.0.1-x264.patch ...                                [ ok
]
 * Applying mpeg4ip-1.5.0.1-newffmpeg.patch ...                           [ ok
]
 * Applying mpeg4ip-1.5.0.1-ffmpeg-headers.patch ...                      [ ok
]
 * Applying mpeg4ip-1.5.0.1-lX11.patch ...                                [ ok
]
 * Applying mpeg4ip-1.5.0.1-as-needed.patch ...                           [ ok
]
 * Applying mpeg4ip-1.5.0.1-gcc42.patch ...                               [ ok
]
 * Applying mpeg4ip-1.5.0.1-nasm-r.patch ...                              [ ok
]
 * Applying mpeg4ip-1.5.0.1-avcodec_extern_c-2.patch ...                  [ ok
]
 * Applying mpeg4ip-1.5.0.1+gcc-4.3.patch ...                             [ ok
]
 * Applying mpeg4ip-1.5.0.1-swscale_and_lavc.patch ...                    [ ok 

First Last Prev Next    No search results available      Search page      Enter new bug