Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 315433 - emerging libpq-7.4.26 fails in patch stage
Summary: emerging libpq-7.4.26 fails in patch stage
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-15 11:00 UTC by Marcin Kryczek
Modified: 2010-04-16 08:19 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 Marcin Kryczek 2010-04-15 11:00:04 UTC
libpq-7.4.26 fails with applying libpq-7.4.26-gentoo.patch:
>>>  '/var/log/portage/dev-db:libpq-7.4.26:20100415-105355.log'

 * Messages for package dev-db/libpq-7.4.26:

 * Failed Patch: libpq-7.4.26-gentoo.patch !
 *  ( /usr/portage/dev-db/libpq/files/libpq-7.4.26-gentoo.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /home/portage/tmp/portage/dev-db/libpq-7.4.26/temp/libpq-7.4.26-gentoo.patch.out
 * ERROR: dev-db/libpq-7.4.26 failed:
 *   Failed Patch: libpq-7.4.26-gentoo.patch!
 * 
 * Call stack:
 *     ebuild.sh, line   48:  Called src_unpack
 *   environment, line 2710:  Called epatch '/usr/portage/dev-db/libpq/files/libpq-7.4.26-gentoo.patch'
 *   environment, line 1273:  Called die
 * The specific snippet of code:
 *               die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the output of 'emerge --info =dev-db/libpq-7.4.26',
 * the complete build log and the output of 'emerge -pqv =dev-db/libpq-7.4.26'.
 * The complete build log is located at '/var/log/portage/dev-db:libpq-7.4.26:20100415-105355.log'.
 * The ebuild environment file is located at '/home/portage/tmp/portage/dev-db/libpq-7.4.26/temp/environment'.
 * S: '/home/portage/tmp/portage/dev-db/libpq-7.4.26/work/postgresql-7.4.26'

here's an output of patch command:
***** libpq-7.4.26-gentoo.patch *****

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

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-db/libpq/files/libpq-7.4.26-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 -Nru postgresql-7.4.14.orig/src/interfaces/libpq/Makefile postgresql-7.4.14/src/interfaces/libpq/Makefile
|--- postgresql-7.4.14.orig/src/interfaces/libpq/Makefile       2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/Makefile    2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk postgresql-7.4.14/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/nls.mk      2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 35
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/Makefile.shlib postgresql-7.4.14/src/Makefile.shlib
|--- postgresql-7.4.14.orig/src/Makefile.shlib  2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/Makefile.shlib       2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

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

=====================================
patching file src/interfaces/libpq/Makefile
patching file src/interfaces/libpq/nls.mk
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file src/interfaces/libpq/nls.mk.rej
patching file src/Makefile.shlib
=====================================

PATCH COMMAND:  patch -p2 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-db/libpq/files/libpq-7.4.26-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 -Nru postgresql-7.4.14.orig/src/interfaces/libpq/Makefile postgresql-7.4.14/src/interfaces/libpq/Makefile
|--- postgresql-7.4.14.orig/src/interfaces/libpq/Makefile       2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/Makefile    2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk postgresql-7.4.14/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/nls.mk      2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 35
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/Makefile.shlib postgresql-7.4.14/src/Makefile.shlib
|--- postgresql-7.4.14.orig/src/Makefile.shlib  2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/Makefile.shlib       2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

PATCH COMMAND:  patch -p3 -g0 -E --no-backup-if-mismatch < '/usr/portage/dev-db/libpq/files/libpq-7.4.26-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 -Nru postgresql-7.4.14.orig/src/interfaces/libpq/Makefile postgresql-7.4.14/src/interfaces/libpq/Makefile
|--- postgresql-7.4.14.orig/src/interfaces/libpq/Makefile       2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/Makefile    2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk postgresql-7.4.14/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/nls.mk      2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 35
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/Makefile.shlib postgresql-7.4.14/src/Makefile.shlib
|--- postgresql-7.4.14.orig/src/Makefile.shlib  2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/Makefile.shlib       2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=====================================

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

=====================================
patching file Makefile
Hunk #1 FAILED at 18.
Hunk #2 FAILED at 66.
2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk postgresql-7.4.14/src/interfaces/libpq/nls.mk
|--- postgresql-7.4.14.orig/src/interfaces/libpq/nls.mk 2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/interfaces/libpq/nls.mk      2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 35
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Nru postgresql-7.4.14.orig/src/Makefile.shlib postgresql-7.4.14/src/Makefile.shlib
|--- postgresql-7.4.14.orig/src/Makefile.shlib  2006-11-05 13:20:18.000000000 +0100
|+++ postgresql-7.4.14/src/Makefile.shlib       2006-11-05 13:23:46.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored


and my emerge --info
Portage 2.2_rc65 (default/linux/x86/10.0/desktop, gcc-4.3.3, glibc-2.11-r1, 2.6.31.5 i686)
=================================================================
System uname: Linux-2.6.31.5-i686-Mobile_AMD_Sempron-tm-_Processor_3200+-with-gentoo-2.0.1
Timestamp of tree: Thu, 15 Apr 2010 10:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
app-shells/bash:     4.1_p2
dev-java/java-config: 2.1.10
dev-lang/python:     2.5.4-r2, 2.6.4-r1, 3.1.1-r1
dev-util/cmake:      2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.0-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:       4.3.3-r2, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/home/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms spinner strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acpi aiglx alsa amr apache2 bash-completion bluetooth branding bzip2 cairo canvas cdr cli consolekit cracklib crypt cups curl cxx dbus divx divx4linux dlloader dri dts dvd dvdr dvdread emboss encode exif exscalibar extraicons extramodules fam fbcon ffmpeg firefox fla flac gd gif gimp glitz glut gmedia gpgme gpm gtk gtk2 hal hpijs iconv imlib2 javascript jikes jpeg jpeg2k kde kde4 kdexdeltas laptop lcms ldap libnotify live loop-aes mad madwifi mailwrapper memlimit mikmod mmx mmxext mng modules moznocompose moznoirc moznomail mp3 mp4 mpeg mudflap musepack musicbrainz mysql ncurses nls nocardbus nptl nptlonly nsplugin nvidia ogg opencore-amr opengl openmp pam pango pcre pda pdf perl pmu png ppds pppd python qt3support qt4 quicktime rdesktop readline realmedia reflection samba sasl sdl semantic-desktop serial session spl sql sqlite sqlite3 sse sse2 ssl startup-notification svg sysfs tcpd theora tiff truetype unicode usb userlocales vcd videos vidix vim vim-with-x vorbis win32codecs wmf wmp x264 x86 xcb xcomposite xml xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="kodak" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Aaron W. Swenson gentoo-dev 2010-04-15 12:12:40 UTC
dev-db/libpq and dev-db/postgresql are no longer maintained. As such, this bug report will not result in dev-db/libpq being fixed.

Please use dev-db/postgresql-base and dev-db/postgresql-server instead.
Comment 2 Marcin Kryczek 2010-04-16 08:19:43 UTC
ok, thanks for information. postgresql-{base,server} works great