First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 238685
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Tiziano Müller <dev-zero@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Kevin Haddock <seabrightskiff@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 238685 depends on: 237667 Show dependency tree
Bug 238685 blocks:
Votes: 2    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-09-25 19:18 0000
patch failed while emerging evms.  

Reproducible: Always

Steps to Reproduce:
1.emerge --sync
2.emerge evms
3.

Actual Results:  
 * Failed Patch: 51_all_2.5.5-glib_dep.patch !
 *  (
/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/patches/51_all_2.5.5-glib_dep.patch
)


Expected Results:  
emerge should install

contents of 
/var/tmp/portage/sys-fs/evms-2.5.5-r10/temp/51_all_2.5.5-glib_dep.patch-29022.out:


***** 51_all_2.5.5-glib_dep.patch *****

NOTE: skipping -p0 due to absolute paths in patch:
1:--- /root/aclocal.m4.old      2006-10-21 18:51:30.000000000 +0200
=======================================

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch <
/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/patches/51_all_2.5.5-glib_dep.patch

=======================================
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:
--------------------------
|--- /root/aclocal.m4.old       2006-10-21 18:51:30.000000000 +0200
|+++ aclocal.m4 2006-10-21 20:48:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=======================================

PATCH COMMAND:   patch -p2 -g0 -E --no-backup-if-mismatch <
/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/patches/51_all_2.5.5-glib_dep.patch

=======================================
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:
--------------------------
|--- /root/aclocal.m4.old       2006-10-21 18:51:30.000000000 +0200
|+++ aclocal.m4 2006-10-21 20:48:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=======================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch <
/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/patches/51_all_2.5.5-glib_dep.patch

=======================================
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:
--------------------------
|--- /root/aclocal.m4.old       2006-10-21 18:51:30.000000000 +0200
|+++ aclocal.m4 2006-10-21 20:48:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=======================================

PATCH COMMAND:   patch -p3 -g0 -E --no-backup-if-mismatch <
/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/patches/51_all_2.5.5-glib_dep.patch

=======================================
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:
--------------------------
|--- /root/aclocal.m4.old       2006-10-21 18:51:30.000000000 +0200
|+++ aclocal.m4 2006-10-21 20:48:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
=======================================

PATCH COMMAND:   patch -p4 -g0 -E --no-backup-if-mismatch <
/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/patches/51_all_2.5.5-glib_dep.patch

=======================================
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:
--------------------------
|--- /root/aclocal.m4.old       2006-10-21 18:51:30.000000000 +0200
|+++ aclocal.m4 2006-10-21 20:48:07.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored

------- Comment #1 From Jeroen Roovers 2008-09-26 14:39:17 0000 -------
Please post your `emerge --info' too.

------- Comment #2 From Kevin Haddock 2008-09-26 17:21:29 0000 -------
emerge --info
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0,
2.6.24-gentoo-r5 i686)
=================================================================
System uname: 2.6.24-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1300MHz
Timestamp of tree: Tue, 23 Sep 2008 00:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
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.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf
/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans
userfetch"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/
http://gentoo.netnitco.net ftp://ftp.heanet.ie/pub/gentoo/
http://mirror.uni-c.dk/pub/gentoo/ http://213.186.33.38/gentoo-distfiles/"
LDFLAGS="-Wl,-O1"
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/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib
crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox
fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg kde
kerberos ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl
nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3
qt3support qt4 quicktime readline reflection sdl session spell spl ssl
startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis
win32codecs x86 xml xorg xv zlib" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 mach64 mga
neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG,
LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Markus Wagner 2008-09-27 08:24:13 0000 -------
destination file-name is wrong.
'/root/aclocal.m4.old' should be '/root/aclocal.m4'

------- Comment #4 From Andrew Gaffney 2008-09-29 02:20:28 0000 -------
I'm guessing the patch tarball got updated recently, because this built fine a
couple of weeks ago. It seems like a simple fix, but it apparently requires a
reroll of the patch tarball, which should probably be left to the maintainer.

I'm not trying to be annoying, but this is blocking some test builds I'm doing
for releng :P

------- Comment #5 From Balazs Nemeth 2008-10-03 10:51:06 0000 -------
Editing the patch file and repack the tarball works for me.

Anyway the compile process also said this:

.../portage/sys-fs/evms/evms-2.5.5-r10.ebuild: line 43: [: 25.04: integer
expression expected

------- Comment #6 From Chan Min Wai 2008-10-05 16:07:12 0000 -------
Any update on this?

Why seem to be there are no much ppl affected?

------- Comment #7 From Andrew Gaffney 2008-10-05 16:21:55 0000 -------
If dev-zero isn't available, can someone in base-system reroll this patch
tarball and reupload it? This is still holding back releng work.

------- Comment #8 From Anthony Mutiso 2008-10-07 05:23:08 0000 -------
This just started happening to me after an update to
sys-libs/e2fsprogs-libs-1.41.2 forced a rebuild of evms via @preserve-rebuild.
Problem evident no ~x86 and ~amd64 systems.

Are we going to see a version bump shortly?

------- Comment #9 From Tiziano Müller 2008-10-07 06:52:02 0000 -------
Well, I didn't touch the patch tarball for a long time and I also don't
experience the failure here:

(using evms-2.5.5-r10.ebuild unpack) I get this:
[...]
>>> Unpacking source...
>>> Unpacking evms-2.5.5.tar.gz to /var/tmp/portage/sys-fs/evms-2.5.5-r10/work
>>> Unpacking evms-patches-2.5.5-1.tbz2 to /var/tmp/portage/sys-fs/evms-2.5.5-r10/work
 * Applying various patches (bugfixes/updates) ...
 * 01_all_2.5.5-md_super_fix.patch ...                                         
                                                                               
                                                  [ ok ]
 * 02_all_2.5.5-ntfs_unmkfs.patch ...                                          
                                                                               
                                                  [ ok ]
 * 03_all_2.5.5-raid5_degrade_fix_v2.patch ...                                 
                                                                               
                                                  [ ok ]
 * 04_all_2.5.5-raid5_remove_spare_fix.patch ...                               
                                                                               
                                                  [ ok ]
 * 05_all_2.5.5-raid5_remove_spare_fix_2.patch ...                             
                                                                               
                                                  [ ok ]
 * 06_all_2.5.5-raid5_algorithm.patch ...                                      
                                                                               
                                                  [ ok ]
 * 10_all_2.5.5-cli_reload_options.patch ...                                   
                                                                               
                                                  [ ok ]
 * 11_all_2.5.5-cli_query_segfault.patch ...                                   
                                                                               
                                                  [ ok ]
 * 12_all_2.5.5-get_geometry.patch ...                                         
                                                                               
                                                  [ ok ]
 * 15_all_2.5.5-BaseName.patch ...                                             
                                                                               
                                                  [ ok ]
 * 16_all_2.5.5-disk_cache.patch ...                                           
                                                                               
                                                  [ ok ]
 * 50_all_2.5.5-as-needed.patch ...                                            
                                                                               
                                                  [ ok ]
 * 51_all_2.5.5-glib_dep.patch ...                                             
                                                                               
                                                  [ ok ]
 * 52_all_2.5.5-ocfs2.patch ...                                                
                                                                               
                                                  [ ok ]
 * 53_all_2.5.5-use_disk_group.patch ...                                       
                                                                               
                                                  [ ok ]
 * 54_all_2.5.5-pagesize.patch ...                                             
                                                                               
                                                  [ ok ]
 * 55_all_2.5.5-snapshot.patch ...                                             
                                                                               
                                                  [ ok ]
 * Done with patching
 * Running eautoreconf in
'/var/tmp/portage/sys-fs/evms-2.5.5-r10/work/evms-2.5.5' ...
 * Running autoconf ...                                                        
                                                                               
                                                  [ ok ]
 * Running autoheader ...                                                      
                                                                               
                                                  [ ok ]
>>> Source unpacked.

------- Comment #10 From Peter Alfredsen 2008-10-07 07:46:50 0000 -------
+  07 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
+  files/evms-2.5.5-glib_dep.patch, evms-2.5.5-r10.ebuild:
+  Fix bug 238685. Eutils eclass changed to disallow patching with -p0 when
+  the patch contained absolute paths, which caused the build to fail on
+  recently synced systems.
+

------- Comment #11 From Andrew Gaffney 2008-10-07 11:50:58 0000 -------
Okay. So it wasn't a problem with the patch tarball per se, but at least it's
fixed now. Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug