Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 178658 - sys-kernel/hardened-sources-2.6.20-r3 patch error
Summary: sys-kernel/hardened-sources-2.6.20-r3 patch error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Hardened (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: The Gentoo Linux Hardened Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-15 17:01 UTC by Gordon Malm (RETIRED)
Modified: 2007-05-16 06:58 UTC (History)
0 users

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


Attachments
/var/tmp/portage/sys-kernel/hardened-sources-2.6.20-r3/temp/4450_grsec-2.1.10-2.6.20.6-200704091818.err (4450_grsec-2.1.10-2.6.20.6-200704091818.err,577.54 KB, text/plain)
2007-05-15 17:05 UTC, Gordon Malm (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Malm (RETIRED) gentoo-dev 2007-05-15 17:01:44 UTC
* Applying 4405_alpha-sysctl-uac.patch (-p0+) ...                                                                    [ ok ]
 * Applying 4450_grsec-2.1.10-2.6.20.6-200704091818.patch (-p0+) ...                                                  [ !! ]
 * Please attach /var/tmp/portage/sys-kernel/hardened-sources-2.6.20-r3/temp/4450_grsec-2.1.10-2.6.20.6-200704091818.err to any bug you may post.

!!! ERROR: sys-kernel/hardened-sources-2.6.20-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3891:   Called src_unpack
  ebuild.sh, line 1304:   Called kernel-2_src_unpack
  kernel-2.eclass, line 1008:   Called unipatch '  /var/tmp/portage/sys-kernel/hardened-sources-2.6.20-r3/distdir/genpatches-2.6.20-10.base.tar.bz2 /var/tmp/portage/sys-kernel/hardened-sources-2.6.20-r3/distdir/hardened-patches-2.6.20-4.extras.tar.bz2'
  kernel-2.eclass, line 851:   Called die

!!! Unable to dry-run patch.
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/sys-kernel:hardened-sources-2.6.20-r3:20070515-165552.log'.

Reproducible: Always
Comment 1 Gordon Malm (RETIRED) gentoo-dev 2007-05-15 17:05:23 UTC
Created attachment 119379 [details]
/var/tmp/portage/sys-kernel/hardened-sources-2.6.20-r3/temp/4450_grsec-2.1.10-2.6.20.6-200704091818.err


And BTW... thank you for the revbump to -r3 (including 2.6.20.11).  I know 2.6.21 is out and so the interest follows but I really appreciate you guys taking the time to bump 2.6.20 to latest -stable.
Comment 2 Christian Heim (RETIRED) gentoo-dev 2007-05-15 23:10:15 UTC
(In reply to comment #1)
> Created an attachment (id=119379) [edit]
> /var/tmp/portage/sys-kernel/hardened-sources-2.6.20-r3/temp/4450_grsec-2.1.10-2.6.20.6-200704091818.err
> 
> 
> And BTW... thank you for the revbump to -r3 (including 2.6.20.11).  I know
> 2.6.21 is out and so the interest follows but I really appreciate you guys
> taking the time to bump 2.6.20 to latest -stable.

Well, I found out why it was failing .. *shrug* .11 introduced a change to arch/sparc64/kernel/pci_iommu.c which is also touched by the grsecurity patch. And that's why it broke; Just uploaded a fresh patch-tarball and updated the ebuild. Once that has mirrored out, please retry it.
Comment 3 Gordon Malm (RETIRED) gentoo-dev 2007-05-16 06:25:50 UTC
Thanks!  Merges just fine now.  Won't have a chance to actually try it tonight but that is irrelevant here.  This bug is resolved, close at your discretion.
Comment 4 Christian Heim (RETIRED) gentoo-dev 2007-05-16 06:58:07 UTC
(In reply to comment #3)
> Thanks!  Merges just fine now.  Won't have a chance to actually try it tonight
> but that is irrelevant here.  This bug is resolved, close at your discretion.

You're welcome, it works just fine; at least for me.