Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104874 - pecl-pdo-0.9 patch fails
Summary: pecl-pdo-0.9 patch fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-05 02:45 UTC by Richard Brown (RETIRED)
Modified: 2005-09-06 10:17 UTC (History)
1 user (show)

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 Richard Brown (RETIRED) gentoo-dev 2005-09-05 02:45:43 UTC
As part of emerging php-5.0.4 with pdo-external

 *
 * Using dev-lang/php-5.0.4
 *
>>> Unpacking source...
>>> Unpacking PDO-0.9.tgz to /var/tmp/portage/pecl-pdo-0.9/work
tar: A lone zero block at 416
 * Applying pdo_stmt.c.diff ...

 * Failed Patch: pdo_stmt.c.diff !
 *  ( /usr/portage/dev-php5/pecl-pdo/files/pdo_stmt.c.diff )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/pecl-pdo-0.9/temp/pdo_stmt.c.diff-11860.out

***** pdo_stmt.c.diff *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch <
/usr/portage/dev-php5/pecl-pdo/files/pdo_stmt.c.diff

===========================
patching file pdo_stmt.c
Hunk #1 FAILED at 18.
1 out of 2 hunks FAILED -- saving rejects to file pdo_stmt.c.rej
===========================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch <
/usr/portage/dev-php5/pecl-pdo/files/pdo_stmt.c.diff

===========================
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:
--------------------------
|--- pdo_stmt.c	2005-07-27 04:06:11.000000000 +0200
|+++ pdo_stmt.c	2005-08-06 20:50:17.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch <
/usr/portage/dev-php5/pecl-pdo/files/pdo_stmt.c.diff

===========================
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:
--------------------------
|--- pdo_stmt.c	2005-07-27 04:06:11.000000000 +0200
|+++ pdo_stmt.c	2005-08-06 20:50:17.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch <
/usr/portage/dev-php5/pecl-pdo/files/pdo_stmt.c.diff

===========================
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:
--------------------------
|--- pdo_stmt.c	2005-07-27 04:06:11.000000000 +0200
|+++ pdo_stmt.c	2005-08-06 20:50:17.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
===========================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch <
/usr/portage/dev-php5/pecl-pdo/files/pdo_stmt.c.diff

===========================
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:
--------------------------
|--- pdo_stmt.c	2005-07-27 04:06:11.000000000 +0200
|+++ pdo_stmt.c	2005-08-06 20:50:17.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored


emerge info

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4
-ftracer -mmmx -m3dnow -msse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fforce-addr -fomit-frame-pointer
-funroll-loops -frerun-loop-opt -frerun-cse-after-loop -falign-functions=4
-ftracer -mmmx -m3dnow -msse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="ftp://192.168.1.162 http://gentoo.blueyonder.co.uk"
LANG="en_GB"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.162/gentoo-portage"
USE="x86 3dnow 3dnowex X aac alsa apache apache2 apm avi bash-completion berkdb
bitmap-fonts bonobo canna cddb cdparanoia cdr clamav crypt cups curl divx4linux
dvd eds emboss encode escreen f-prot fam firefox flac foomaticdb fortran freetds
gd gdbm gif gnome gnomedb gpm gstreamer gtk gtk2 gtkhtml guile hal imagemagick
imlib innodb java jpeg junit lcms ldap libcaca libg++ libwww mad mailwrapper
mikmod mmx mmx2 mono motif mozilla mp3 mpeg mssql mysql ncurses nls no-old-linux
nptl nptlonly nvidia odbc ogg oggvorbis opengl pam pcre pdflib perl php png ppds
python qt quicktime readline real rtc ruby samba scanner sdl sendmail slang
spamassassin spell sqlite sse ssl svga tcpd tidy tiff truetype truetype-fonts
type1-fonts unicode usb vhosts vorbis xine xml xml2 xmms xprint xv xvid zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Luca Longinotti (RETIRED) gentoo-dev 2005-09-05 09:51:06 UTC
Hi, the bug is confirmed and we've found the solution, a resync of some patches
will be needed from our overlay with the Portage tree, some of them got a little
messed up by CVS when importing them into the official Portage tree. This will
hopefully be fixed this evening, thanks for spotting this, CHTEKK.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-09-06 10:17:59 UTC
Fixed in portage, please emerge sync.