Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297674 - [hardened-dev] sys-kernel/hardened-2.6.31-r9 - Patch 4420_grsecurity-2.1.14-2.6.31.8-200912151745.patch fails
Summary: [hardened-dev] sys-kernel/hardened-2.6.31-r9 - Patch 4420_grsecurity-2.1.14-2...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-20 17:30 UTC by boris64
Modified: 2009-12-21 03:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch output (4420_grsecurity-2.1.14-2.6.31.8-200912151745.err.gz,154.24 KB, application/octet-stream)
2009-12-20 17:32 UTC, boris64
Details

Note You need to log in before you can comment on or make changes to this bug.
Description boris64 2009-12-20 17:30:23 UTC
[ebuild  NS   ] sys-kernel/hardened-sources-2.6.31-r9 [2.6.31-r8, 2.6.32] USE="-build -symlink" 0 kB [1]

Total: 1 package (1 in new slot), Size of downloads: 0 kB
Portage tree and overlays:                               
 [0] /var/portage/portage                                
 [1] /var/portage/overlays/hardened-development          


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-kernel/hardened-sources-2.6.31-r9 from hardened-dev
 * linux-2.6.31.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                              [ ok ]
 * hardened-patches-2.6.31-12.extras.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                         [ ok ]
 * genpatches-2.6.31-8.base.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                  [ ok ]
 * genpatches-2.6.31-8.extras.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                                                                                               [ ok ]
 * CPV:  sys-kernel/hardened-sources-2.6.31-r9                                                                                                                                                                                             
 * REPO: hardened-dev                                                                                                                                                                                                                      
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU                                                                                                                                                                              
>>> Preparing to unpack ...                                                                                                                                                                                                                
>>> Unpacking source...                                                                                                                                                                                                                    
>>> Unpacking linux-2.6.31.tar.bz2 to /var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/work                                                                                                                                  
>>> Unpacking genpatches-2.6.31-8.base.tar.bz2 to /var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/work/patches                                                                                                              
>>> Unpacking genpatches-2.6.31-8.extras.tar.bz2 to /var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/work/patches                                                                                                            
>>> Unpacking hardened-patches-2.6.31-12.extras.tar.bz2 to /var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/work/patches                                                                                                     
 * Excluding Patch #4200_fbcondecor-0.9.6.patch ...                                                                                                                                                                                   [ ok ]
 * Applying 1000_linux-2.6.31.1.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1001_linux-2.6.31.2.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1002_linux-2.6.31.3.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1003_linux-2.6.31.4.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1004_linux-2.6.31.5.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1005_linux-2.6.31.6.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1006_linux-2.6.31.7.patch (-p0+) ...                                                                                                                                                                                      [ ok ]
 * Applying 1900_hfs-readdir-buffer-overflow.patch (-p0+) ...                                                                                                                                                                         [ ok ]
 * Applying 2700_kworld-plustv-dual-dvb.patch (-p0+) ...                                                                                                                                                                              [ ok ]
 * Applying 2710_audiotrak-prodigy-hd2-suspend-resume.patch (-p0+) ...                                                                                                                                                                [ ok ]
 * Applying 2900_makefile-changes.patch (-p0+) ...                                                                                                                                                                                    [ ok ]
 * Applying 4100_dm-bbr.patch (-p0+) ...                                                                                                                                                                                              [ ok ]
 * Applying 4400_alpha-sysctl-uac.patch (-p0+) ...                                                                                                                                                                                    [ ok ]
 * Applying 4420_grsecurity-2.1.14-2.6.31.8-200912151745.patch (-p0+) ...                                                                                                                                                             [ !! ]
 * Please attach /var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/temp/4420_grsecurity-2.1.14-2.6.31.8-200912151745.err to any bug you may post.
 * ERROR: sys-kernel/hardened-sources-2.6.31-r9 failed:
 *   Unable to dry-run patch.
 *
 * Call stack:
 *     ebuild.sh, line   55:  Called src_unpack
 *   environment, line 3246:  Called kernel-2_src_unpack
 *   environment, line 2411:  Called unipatch '  /var/portage/distfiles/genpatches-2.6.31-8.base.tar.bz2 /var/portage/distfiles/genpatches-2.6.31-8.extras.tar.bz2 /var/portage/distfiles/hardened-patches-2.6.31-12.extras.tar.bz2'
 *   environment, line 3772:  Called die
 * The specific snippet of code:
 *                   die "Unable to dry-run patch.";
 *
 * If you need support, post the output of 'emerge --info =sys-kernel/hardened-sources-2.6.31-r9',
 * the complete build log and the output of 'emerge -pqv =sys-kernel/hardened-sources-2.6.31-r9'.
 * This ebuild is from an overlay named 'hardened-dev': '/var/portage/overlays/hardened-development/'
 * The complete build log is located at '/var/portage/log/sys-kernel:hardened-sources-2.6.31-r9:20091220-171704.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/temp/environment'.
 * S: '/var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/work/linux-2.6.31-hardened-r9'

>>> Failed to emerge sys-kernel/hardened-sources-2.6.31-r9, Log file:

>>>  '/var/portage/log/sys-kernel:hardened-sources-2.6.31-r9:20091220-171704.log'

 * Messages for package sys-kernel/hardened-sources-2.6.31-r9:

 * Please attach /var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/temp/4420_grsecurity-2.1.14-2.6.31.8-200912151745.err to any bug you may post.
 * ERROR: sys-kernel/hardened-sources-2.6.31-r9 failed:
 *   Unable to dry-run patch.
 *
 * Call stack:
 *     ebuild.sh, line   55:  Called src_unpack
 *   environment, line 3246:  Called kernel-2_src_unpack
 *   environment, line 2411:  Called unipatch '  /var/portage/distfiles/genpatches-2.6.31-8.base.tar.bz2 /var/portage/distfiles/genpatches-2.6.31-8.extras.tar.bz2 /var/portage/distfiles/hardened-patches-2.6.31-12.extras.tar.bz2'
 *   environment, line 3772:  Called die
 * The specific snippet of code:
 *                   die "Unable to dry-run patch.";
 *
 * If you need support, post the output of 'emerge --info =sys-kernel/hardened-sources-2.6.31-r9',
 * the complete build log and the output of 'emerge -pqv =sys-kernel/hardened-sources-2.6.31-r9'.
 * This ebuild is from an overlay named 'hardened-dev': '/var/portage/overlays/hardened-development/'
 * The complete build log is located at '/var/portage/log/sys-kernel:hardened-sources-2.6.31-r9:20091220-171704.log'.
 * The ebuild environment file is located at '/var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/temp/environment'.
 * S: '/var/tmp/portage/portage/sys-kernel/hardened-sources-2.6.31-r9/work/linux-2.6.31-hardened-r9'
 *
 * The following package has failed to build or install:
 *
 *  ('ebuild', '/', 'sys-kernel/hardened-sources-2.6.31-r9', 'merge'), Log file:
 *   '/var/portage/log/sys-kernel:hardened-sources-2.6.31-r9:20091220-171704.log'
Comment 1 boris64 2009-12-20 17:32:16 UTC
Created attachment 213583 [details]
Patch output

Output of failed patch 4420_grsecurity-2.1.14-2.6.31.8-200912151745.patch,
packed via gzip as it's about 2Mb big.
Comment 2 Jory A. Pratt gentoo-dev 2009-12-20 19:08:26 UTC
I have just update the genpatch bases/extras please pull the updates from the overlay and have fun.
Comment 3 boris64 2009-12-21 03:44:10 UTC
Yes, this one works fine.
Thanks.