Bug 101349 - dev-ml/ocaml-mysql-1.0.3-r1 ebuild attempts to patch nonexistant file
Bug#: 101349 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: TEST-REQUEST Assigned To: ml@gentoo.org Reported By: evanm@frap.net
Component: Development
URL: 
Summary: dev-ml/ocaml-mysql-1.0.3-r1 ebuild attempts to patch nonexistant file
Keywords:  
Status Whiteboard: 
Opened: 2005-08-04 09:36 0000
Description:   Opened: 2005-08-04 09:36 0000
ocaml-mysql-1.0.3-shtool.patch tries to patch a file that doesn't exist, and
fails. The target file "sh.common" doesn't exist in the source tar.

 * Include in your bugreport the contents of:
 * 
 *  
/var/tmp/portage/ocaml-mysql-1.0.3-r1/temp/ocaml-mysql-1.0.3-shtool.patch-988.out


***** ocaml-mysql-1.0.3-shtool.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.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:
--------------------------
|--- sh.common.orig     2004-04-07 08:50:21.000000000 +0100
|+++ sh.common  2005-05-29 20:39:20.854878600 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.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:
--------------------------
|--- sh.common.orig     2004-04-07 08:50:21.000000000 +0100
|+++ sh.common  2005-05-29 20:39:20.854878600 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.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:
--------------------------
|--- sh.common.orig     2004-04-07 08:50:21.000000000 +0100
|+++ sh.common  2005-05-29 20:39:20.854878600 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.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:
--------------------------
|--- sh.common.orig     2004-04-07 08:50:21.000000000 +0100
|+++ sh.common  2005-05-29 20:39:20.854878600 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
==========================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/dev-ml/ocaml-mysql/files/ocaml-mysql-1.0.3-shtool.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:
--------------------------
|--- sh.common.orig     2004-04-07 08:50:21.000000000 +0100
|+++ sh.common  2005-05-29 20:39:20.854878600 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored


Reproducible: Always
Steps to Reproduce:
1. emerge dev-ml/ocaml-mysql-1.0.3-r1
2.
3.

Actual Results:  
emerge fails

Expected Results:  
emerged

------- Comment #1 From Jakub Moc (RETIRED) 2005-08-04 09:51:30 0000 -------
Please, always include ebuild name and version in bug summary. Thanks. 

------- Comment #2 From Francesco R. (RETIRED) 2005-08-17 05:54:47 0000 -------
A patch is in CVS and will be avaiable to emerge sync in few hours.
Please test, the ebuild compile cleanly but I'm not in the position to make run
test at the moment.

------- Comment #3 From evanm@frap.net 2005-08-17 13:57:02 0000 -------
WFM