Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254681 - www-servers/resin-3.1.8 fails to install because Makefile.am patch doesn't find relevant line
Summary: www-servers/resin-3.1.8 fails to install because Makefile.am patch doesn't fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Krzysztof Pawlik (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 20:51 UTC by Maurice Volaski
Modified: 2009-01-13 21:13 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 Maurice Volaski 2009-01-12 20:51:58 UTC
Emerging resin-3.1.8 fails on applying the resin-3.1.8-Makefile.am.patch.

The errror is 

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.pat
ch

=========================================
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 resin-3.1.6.vanilla/Makefile.am resin-3.1.6/Makefile.am
|--- resin-3.1.6.vanilla/Makefile.am	2008-05-10 21:55:40.000000000 +0200
|+++ resin-3.1.6/Makefile.am	2008-05-10 21:59:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored




My emerge info is
Portage 2.1.6.4 (default/linux/amd64/2008.0/server, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-x86_64-AMD_Opteron-tm-_Processor_250-with-glibc2.2.5
Timestamp of tree: Mon, 12 Jan 2009 19:00:01 +0000
app-shells/bash:     3.2_p48
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.3.2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=opteron -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=opteron -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/config/local/portage /usr/portage/local/layman"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64 apache2 bzip2 cli cracklib crypt ctype dri gdbm iconv innodb jpeg jpeg2k lm_sensors logrotate mailwrapper mmx mudflap multilib mysql ncurses nls nolvm1 nptl nptlonly openmp pam pcre perl pppd readline reflection sensord session snmp spl sse sse2 ssl suexec sysfs tcpd truetype unicode vhosts xml zlib" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="r128 radeon vesa vga via vmware"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Java stuff is
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
Comment 1 Roman Karshiev 2009-01-12 23:18:24 UTC
>>> Emerging (3 of 15) www-servers/resin-3.1.8
 * resin-3.1.8-src.zip RMD160 SHA1 SHA256 size ;-) ...                                                   [ ok ]
 * resin-gentoo-patches-3.1.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                   [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking resin-3.1.8-src.zip to /var/tmp/portage/www-servers/resin-3.1.8/work
>>> Unpacking resin-gentoo-patches-3.1.8.tar.bz2 to /var/tmp/portage/www-servers/resin-3.1.8/work
 * Applying resin-3.1.8-Makefile.am.patch ...

 * Failed Patch: resin-3.1.8-Makefile.am.patch !
 *  ( /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/www-servers/resin-3.1.8/temp/resin-3.1.8-Makefile.am.patch-18880.out

 * 
 * ERROR: www-servers/resin-3.1.8 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 4861:  Called epatch '/var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.patch'
 *             environment, line 2023:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: resin-3.1.8-Makefile.am.patch!
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/www-servers/resin-3.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-servers/resin-3.1.8/temp/environment'.
 * 

!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.11"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info


------------------------------------

# emerge --info
Portage 2.2_rc20 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.6.1-r0, 2.6.25-tuxonice-r4 i686)
=================================================================
System uname: Linux-2.6.25-tuxonice-r4-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-glibc2.0
Timestamp of tree: Mon, 12 Jan 2009 21:30:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
dev-util/confcache:  0.4.2-r1
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -s"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe -s"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig collision-protect distlocks fixpackages parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch xccache xconfcache xdistcc xkeeptemp xkeepwork"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.modulix.net/gentoo/ http://mirror.aiya.ru/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://trumpetti.atm.tut.fi/gentoo/"
LANG="ru_RU.UTF-8"
LC_ALL="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=both"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib acl acpi admin aiglx alsa amazon ansi apache2 apm applet ares arts artworkextra asf audiofile bash-completion beagle berkdb bjam bluetooth bonobo branding bzip2 cairo calendar cdaudio cdda cddb cdio cdparanoia cdr cdrom cgi chardet chm cli colordiff cpudetection cracklib crypt csv ctype cups curl cursors custom-cflags custom-optimization cvs d dbus devil directfb divx djvu dmi doc dri dts dvd dvdr dvdread dvi eds emboss emerald enblend encode epiphany esd evo examples exif expat extra fam fastcgi fbcon fbsplash ffmpeg fftw filter_default firefox flac flash flatfile fltk fontconfig foomaticdb fortran freeimage ftp fuse gaim gajim gcj gcl gd gdbm gdm gedit gif gimp git glade glib glitz glut gnome gnomecanvas gnutella gnutls gphoto2 gpm grammar graphicsmagick graphviz gs gsf gstreamer gtk gtk2 gtkhtml hal haskell hddtemp html htmlhandbook httpd iceweasel icons iconv icq id3tag idn ieee1394 imagemagick imap imlib inotify ip4100 irc irda isdnlog jabber java java5 java6 javascript jbig jce jikes jmx jpeg jpeg2k jython kde kdeenablefinal kdehiddenvisibility kdepim kdexdeltas kqemu latex lcd lcms ldap lde libffi libnotify lj lm_sensors logrotate lua lzw mad magic maildir math matroska mecab memcache memlimit menubar mhash midi mikmod mjpeg mmkeys mmx mng mod modplug mono mozbranding mozcalendar mozdevelop mozembed moznopango mozsvg mp3 mp4 mpd mpeg mplayer msn mudflap musepack musicbrainz mysql nano-syntax nautilus ncurses network newspr nfs nls nntp nptl nptlonly nsplugin ntfs3g ocaml ogg ole openal openexr opengl openmp oss paludis pam pango pch pcntl pcre pda pdf pdo pear-db perl php pidgin plotutils plugins png posix postgres povray ppds pppd print pth python qt qt3 qt3support qt4 quicktime rar raw rcc rdesktop readline reflection rss ruby samba sasl scanner scintilla sdl seamonkey sensord server servicetools session sift simplexml skins slang smarty sms spell spl sql sqlite sqlite3 srv sse sse2 ssl startup-notification subversion svg sysfs syslog tagwriting takushipatch tcl tcltk tcpd tetex tga themes theora thesaurus threads thumbnailing thunderbird tiff timidity tk tokenizer toolbar tools trayicon truetype unicode upnp usb v4l vcd vhosts vim vim-syntax vorbis wavpack webdav webkit wifi win32codecs wma wmf wxwindows x264 x86 xattr xcb xcomposite xine xinetd xml xmlrpc xmp xorg xosd xprint xrandr xscreensaver xsl xulrunner xv xvid yaz zip zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="canon" ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat history idleprobe initctl interactive iparser last limit lockfile logfile netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash" INPUT_DEVICES="keyboard mouse joystick evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="radeonhd radeon ati fglrx vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


---------------------------------------------

# cat /var/tmp/portage/www-servers/resin-3.1.8/temp/resin-3.1.8-Makefile.am.patch-18880.out
***** resin-3.1.8-Makefile.am.patch *****

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

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.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 resin-3.1.6.vanilla/Makefile.am resin-3.1.6/Makefile.am
|--- resin-3.1.6.vanilla/Makefile.am	2008-05-10 21:55:40.000000000 +0200
|+++ resin-3.1.6/Makefile.am	2008-05-10 21:59:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.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 resin-3.1.6.vanilla/Makefile.am resin-3.1.6/Makefile.am
|--- resin-3.1.6.vanilla/Makefile.am	2008-05-10 21:55:40.000000000 +0200
|+++ resin-3.1.6/Makefile.am	2008-05-10 21:59:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.patch

=========================================
missing header for unified diff at line 4 of 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 resin-3.1.6.vanilla/Makefile.am resin-3.1.6/Makefile.am
|--- resin-3.1.6.vanilla/Makefile.am	2008-05-10 21:55:40.000000000 +0200
|+++ resin-3.1.6/Makefile.am	2008-05-10 21:59:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.patch

=========================================
missing header for unified diff at line 4 of 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 resin-3.1.6.vanilla/Makefile.am resin-3.1.6/Makefile.am
|--- resin-3.1.6.vanilla/Makefile.am	2008-05-10 21:55:40.000000000 +0200
|+++ resin-3.1.6/Makefile.am	2008-05-10 21:59:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
=========================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /var/tmp/portage/www-servers/resin-3.1.8/work/3.1.8/resin-3.1.8-Makefile.am.patch

=========================================
missing header for unified diff at line 4 of 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 resin-3.1.6.vanilla/Makefile.am resin-3.1.6/Makefile.am
|--- resin-3.1.6.vanilla/Makefile.am	2008-05-10 21:55:40.000000000 +0200
|+++ resin-3.1.6/Makefile.am	2008-05-10 21:59:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2009-01-13 21:13:20 UTC
Fixed: I've forgot to modify the ebuild.