Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 131578

Summary: sys-kernel/hardened-sources-2.6.14-r8 failed to emerge
Product: Gentoo Linux Reporter: Kristaps Kaupe <kristaps.kaupe>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Kristaps Kaupe 2006-04-28 08:32:50 UTC
When trying to emerge sys-kernel/hardened-sources-2.6.14-r8 I've got:

-----
 * Applying 4705_squashfs-2.2.patch (-p0+) [ !! ]
 * Please attach /var/tmp/portage/hardened-sources-2.6.14-r8/temp/4705_squashfs-2.2.err to any bug you may post.

!!! ERROR: sys-kernel/hardened-sources-2.6.14-r8 failed.
!!! Function unipatch, Line 852, Exitcode 0
!!! Unable to dry-run patch.
!!! If you need support, post the topmost build error, NOT this status message.
-----

emerge --info:
-----
Portage 2203-svn (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-hardened-r7 i686)
=================================================================
System uname: 2.6.14-hardened-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
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.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo"
LANG="lv"
LC_ALL="lv_LV.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 alsa apm arts avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvd eds emboss encode expat foomaticdb fortran gdbm gif gpm gstreamer gtk2 hardened idn imlib ipv6 isdnlog jpeg libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls ogg oggvorbis opengl oss pam pcre pdflib perl php png pppd python qt quicktime readline reflection sdl session spell spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode utf8 vorbis xml xml2 xmms xorg xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
-----
Comment 1 Kristaps Kaupe 2006-04-28 08:33:53 UTC
/var/tmp/portage/hardened-sources-2.6.14-r8/temp/4705_squashfs-2.2.err:

-----
Attempting Dry-run:
cmd: patch -p0 --dry-run -f < /var/tmp/portage/hardened-sources-2.6.14-r8/work/patches/2.6.14/4705_squashfs-2.2.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 --new-file -urp linux-2.6.12/fs/Kconfig linux-2.6.12-squashfs2.2/fs/Kconfig
|--- linux-2.6.12/fs/Kconfig    2005-06-17 20:48:29.000000000 +0100
|+++ linux-2.6.12-squashfs2.2/fs/Kconfig        2005-07-04 02:35:35.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 77
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --new-file -urp linux-2.6.12/fs/Makefile linux-2.6.12-squashfs2.2/fs/Makefile
|--- linux-2.6.12/fs/Makefile   2005-06-17 20:48:29.000000000 +0100
|+++ linux-2.6.12-squashfs2.2/fs/Makefile       2005-07-04 02:35:35.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file linux-2.6.12/fs/squashfs/inode.c
patching file linux-2.6.12/fs/squashfs/Makefile
patching file linux-2.6.12/include/linux/squashfs_fs.h
patching file linux-2.6.12/include/linux/squashfs_fs_i.h
patching file linux-2.6.12/include/linux/squashfs_fs_sb.h
can't find file to patch at input line 2545
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --new-file -urp linux-2.6.12/init/do_mounts_rd.c linux-2.6.12-squashfs2.2/init/do_mounts_rd.c
|--- linux-2.6.12/init/do_mounts_rd.c   2005-06-17 20:48:29.000000000 +0100
|+++ linux-2.6.12-squashfs2.2/init/do_mounts_rd.c       2005-07-04 02:35:35.000000000 +0100
--------------------------
No file to patch.  Skipping patch.
5 out of 5 hunks ignored
Attempting Dry-run:
cmd: patch -p1 --dry-run -f < /var/tmp/portage/hardened-sources-2.6.14-r8/work/patches/2.6.14/4705_squashfs-2.2.patch
=======================================================
patching file fs/Kconfig
Hunk #1 succeeded at 1188 (offset 17 lines).
patching file fs/Makefile
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to file fs/Makefile.rej
The next patch would create the file fs/squashfs/inode.c,
which already exists!  Applying it anyway.
patching file fs/squashfs/inode.c
Patch attempted to create file fs/squashfs/inode.c, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file fs/squashfs/inode.c.rej
The next patch would create the file fs/squashfs/Makefile,
which already exists!  Applying it anyway.
patching file fs/squashfs/Makefile
Patch attempted to create file fs/squashfs/Makefile, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file fs/squashfs/Makefile.rej
The next patch would create the file include/linux/squashfs_fs.h,
which already exists!  Applying it anyway.
patching file include/linux/squashfs_fs.h
Patch attempted to create file include/linux/squashfs_fs.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/squashfs_fs.h.rej
The next patch would create the file include/linux/squashfs_fs_i.h,
which already exists!  Applying it anyway.
patching file include/linux/squashfs_fs_i.h
Patch attempted to create file include/linux/squashfs_fs_i.h, which already exists.
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file include/linux/squashfs_fs_i.h.rej
The next patch would create the file include/linux/squashfs_fs_sb.h,
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-28 08:41:38 UTC

*** This bug has been marked as a duplicate of 131517 ***