Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 101349

Summary: dev-ml/ocaml-mysql-1.0.3-r1 ebuild attempts to patch nonexistant file
Product: Gentoo Linux Reporter: evanm
Component: [OLD] DevelopmentAssignee: Gentoo Team for the ML programming language family <ml>
Status: VERIFIED TEST-REQUEST    
Severity: normal CC: mattam
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description evanm 2005-08-04 09:36:23 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2005-08-04 09:51:30 UTC
Please, always include ebuild name and version in bug summary. Thanks. 
Comment 2 Francesco R. (RETIRED) gentoo-dev 2005-08-17 05:54:47 UTC
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 evanm 2005-08-17 13:57:02 UTC
WFM