Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123011 - libpq-7.4.12 failed patch
Summary: libpq-7.4.12 failed patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 03:06 UTC by Georgi Chulkov
Modified: 2006-02-16 09:23 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 Georgi Chulkov 2006-02-16 03:06:10 UTC
>>> Unpacking source...
>>> Unpacking postgresql-base-7.4.12.tar.bz2 to /var/tmp/portage/libpq-7.4.12/work
 * Applying libpq-7.4.12-gentoo.patch ...

 * Failed Patch: libpq-7.4.12-gentoo.patch !
 *  ( /usr/portage/dev-db/libpq/files/libpq-7.4.12-gentoo.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libpq-7.4.12/temp/libpq-7.4.12-gentoo.patch-31239.out


!!! ERROR: dev-db/libpq-7.4.12 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_unpack
  ebuild.sh, line 694:   Called src_unpack
  libpq-7.4.12.ebuild, line 44:   Called epatch 'unpack'

!!! Failed Patch: libpq-7.4.12-gentoo.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.







Superfly ~ # cat /var/tmp/portage/libpq-7.4.12/temp/libpq-7.4.12-gentoo.patch-31239.out
***** libpq-7.4.12-gentoo.patch *****

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

PATCH COMMAND:  patch -p0 -g0 --no-backup-if-mismatch < /usr/portage/dev-db/libpq/files/libpq-7.4.12-gentoo.patch

=====================================
patching file postgresql-7.4.12/src/interfaces/libpq/Makefile
patching file postgresql-7.4.12/src/interfaces/libpq/nls.mk
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file postgresql-7.4.12/src/interfaces/libpq/nls.mk.rej
patching file postgresql-7.4.12/src/Makefile.shlib
Hunk #1 succeeded at 229 (offset 5 lines).
Hunk #2 succeeded at 239 (offset 5 lines).
Hunk #3 succeeded at 310 (offset 5 lines).
=====================================

PATCH COMMAND:  patch -p1 -g0 --no-backup-if-mismatch < /usr/portage/dev-db/libpq/files/libpq-7.4.12-gentoo.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/Makefile postgresql-7.4.12/src/interfaces/libpq/Makefile
|--- postgresql-7.4.12.org/src/interfaces/libpq/Makefile        2003-09-27 16:32:48.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/Makefile    2005-05-16 04:37:16.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/nls.mk postgresql-7.4.12/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.12.org/src/interfaces/libpq/nls.mk  2004-10-30 09:22:16.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/nls.mk      2005-05-16 04:37:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/Makefile.shlib postgresql-7.4.12/src/Makefile.shlib
|--- postgresql-7.4.12.org/src/Makefile.shlib   2003-10-20 02:34:33.000000000 +0100
|+++ postgresql-7.4.12/src/Makefile.shlib       2005-05-16 04:36:25.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p2 -g0 --no-backup-if-mismatch < /usr/portage/dev-db/libpq/files/libpq-7.4.12-gentoo.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/Makefile postgresql-7.4.12/src/interfaces/libpq/Makefile
|--- postgresql-7.4.12.org/src/interfaces/libpq/Makefile        2003-09-27 16:32:48.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/Makefile    2005-05-16 04:37:16.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/nls.mk postgresql-7.4.12/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.12.org/src/interfaces/libpq/nls.mk  2004-10-30 09:22:16.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/nls.mk      2005-05-16 04:37:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/Makefile.shlib postgresql-7.4.12/src/Makefile.shlib
|--- postgresql-7.4.12.org/src/Makefile.shlib   2003-10-20 02:34:33.000000000 +0100
|+++ postgresql-7.4.12/src/Makefile.shlib       2005-05-16 04:36:25.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p3 -g0 --no-backup-if-mismatch < /usr/portage/dev-db/libpq/files/libpq-7.4.12-gentoo.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/Makefile postgresql-7.4.12/src/interfaces/libpq/Makefile
|--- postgresql-7.4.12.org/src/interfaces/libpq/Makefile        2003-09-27 16:32:48.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/Makefile    2005-05-16 04:37:16.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/nls.mk postgresql-7.4.12/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.12.org/src/interfaces/libpq/nls.mk  2004-10-30 09:22:16.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/nls.mk      2005-05-16 04:37:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 34 of patch
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/Makefile.shlib postgresql-7.4.12/src/Makefile.shlib
|--- postgresql-7.4.12.org/src/Makefile.shlib   2003-10-20 02:34:33.000000000 +0100
|+++ postgresql-7.4.12/src/Makefile.shlib       2005-05-16 04:36:25.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p4 -g0 --no-backup-if-mismatch < /usr/portage/dev-db/libpq/files/libpq-7.4.12-gentoo.patch

=====================================
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/Makefile postgresql-7.4.12/src/interfaces/libpq/Makefile
|--- postgresql-7.4.12.org/src/interfaces/libpq/Makefile        2003-09-27 16:32:48.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/Makefile    2005-05-16 04:37:16.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 24
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/interfaces/libpq/nls.mk postgresql-7.4.12/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.12.org/src/interfaces/libpq/nls.mk  2004-10-30 09:22:16.000000000 +0100
|+++ postgresql-7.4.12/src/interfaces/libpq/nls.mk      2005-05-16 04:37:23.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 34 of patch
can't find file to patch at input line 34
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naru postgresql-7.4.12.org/src/Makefile.shlib postgresql-7.4.12/src/Makefile.shlib
|--- postgresql-7.4.12.org/src/Makefile.shlib   2003-10-20 02:34:33.000000000 +0100
|+++ postgresql-7.4.12/src/Makefile.shlib       2005-05-16 04:36:25.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored






Superfly ~ # emerge --info
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-4.0.2, glibc-2.3.6-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1300MHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -mtune=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 asf atlas audiofile avi bash-completion berkdb bindist bitmap-fonts browserplugin bzip2 bzlib calendar cdparanoia cdr cpdflib crypt ctype cups dba dedicated dga dio directfb divx4linux doc dri dts dvd dvdr dvdread encode ethereal exif fbcon ffmpeg firefox flac flash fortran ftp gcj gd ggi gif glut gphoto2 gpm gtk gtk2 gtkhtml hal howl iconv icq ieee1394 imagemagick imap imlib innodb ipv6 ithreads java javascript jpeg junit kde kdeenablefinal lame lcms libcaca libwww live mad matroska mcal ming mmx mmx2 mono monodoc moznocompose moznoirc moznomail mozsvg mp3 mpeg mpi msn mysql ncurses nis nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcmcia pdf pdflib perl php pic pie plotutils png portaudio posix ppds prelude python qt quicktime readline real samba scanner sdl session sharedext simplexml slang sndfile soap sockets spell spl sse sse2 ssl subversion svg symlink tcltk tcpd tetex theora threads tiff tokenizer truetype truetype-fonts trusted type1-fonts udev unicode usb userlocales utf v4l vcd video videos vidix-voodoo3 visualization vorbis vorbix wifi win32codecs wmf wxwindows x86 xft xine xml xml2 xprint xsl xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2006-02-16 09:23:53 UTC
sorry!
fixed.