Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 434188 - dev-ruby/dbi-0.4.3 cannot be installed - patch cannot be applied
Summary: dev-ruby/dbi-0.4.3 cannot be installed - patch cannot be applied
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-07 04:12 UTC by Paul Osmialowski
Modified: 2012-09-09 08:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Osmialowski 2012-09-07 04:12:03 UTC
Tried on three different machines (x86_64, i686, ppc32), always the same result:

>>> Emerging (7 of 10) dev-ruby/dbi-0.4.3
 * dbi-0.4.3.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                         [ ok ]
>>> Unpacking source...
>>> Unpacking dbi-0.4.3.tar.gz to /var/tmp/portage/dev-ruby/dbi-0.4.3/work/all
>>> Source unpacked in /var/tmp/portage/dev-ruby/dbi-0.4.3/work
>>> Preparing source in /var/tmp/portage/dev-ruby/dbi-0.4.3/work ...
 * Running prepare phase for all ...
 * Applying ruby-dbi-0.4.3-drivers-test.patch ...

 * Failed Patch: ruby-dbi-0.4.3-drivers-test.patch !
 *  ( /usr/portage/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-ruby/dbi-0.4.3/temp/ruby-dbi-0.4.3-drivers-test.patch.out

as suggested above, I'm pasting .out file here:


$ cat /var/tmp/portage/dev-ruby/dbi-0.4.3/temp/ruby-dbi-0.4.3-drivers-test.patch.out
***** ruby-dbi-0.4.3-drivers-test.patch *****
PWD: /var/tmp/portage/dev-ruby/dbi-0.4.3/work/all

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch'

=============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Remove a test that will fail because we cannot garantuee that
|these drivers are installed, especially on first installation.
|--- test/dbi/tc_dbi.rb.orig    2010-06-15 19:58:58.732811127 +0200
|+++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
=============================================

PATCH COMMAND:  patch -p1 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch'

=============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Remove a test that will fail because we cannot garantuee that
|these drivers are installed, especially on first installation.
|--- test/dbi/tc_dbi.rb.orig    2010-06-15 19:58:58.732811127 +0200
|+++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
=============================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch'

=============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Remove a test that will fail because we cannot garantuee that
|these drivers are installed, especially on first installation.
|--- test/dbi/tc_dbi.rb.orig    2010-06-15 19:58:58.732811127 +0200
|+++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
=============================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch'

=============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Remove a test that will fail because we cannot garantuee that
|these drivers are installed, especially on first installation.
|--- test/dbi/tc_dbi.rb.orig    2010-06-15 19:58:58.732811127 +0200
|+++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
=============================================

PATCH COMMAND:  patch -p4 -g0 -E --no-backup-if-mismatch  < '/usr/portage/dev-ruby/dbi/files/ruby-dbi-0.4.3-drivers-test.patch'

=============================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Remove a test that will fail because we cannot garantuee that
|these drivers are installed, especially on first installation.
|--- test/dbi/tc_dbi.rb.orig    2010-06-15 19:58:58.732811127 +0200
|+++ test/dbi/tc_dbi.rb 2010-06-15 19:59:10.004808935 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

patch program exited with status 1
Comment 2 Hans de Graaff gentoo-dev Security 2012-09-09 08:24:09 UTC
Fixed in CVS. It looks like the patch itself was broken during the package move.