I want to compile grub 1.99-r2. I am using python 3.2
Bug was shown in build.log
=================================================================
System uname:
Linux-3.0.4-gentoo-x86_64-AMD_Athlon-tm-_II_X2_240_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 15 Oct 2011 08:45:01 +0000
ccache version 3.1.6 [enabled]
app-shells/bash: 4.2_p10
dev-lang/python: 2.7.2-r2, 3.2-r2
dev-util/ccache: 3.1.6
dev-util/cmake: 2.8.5-r2
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.9.2
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.9.6-r3, 1.11.1-r1
sys-devel/binutils: 2.21.1-r1
sys-devel/gcc: 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc: 2.13-r4
[32;01m * [39;49;00mPackage: sys-boot/grub-1.99-r2
[32;01m * [39;49;00mRepository: sabayon
[32;01m * [39;49;00mUSE: amd64 consolekit device-mapper elibc_glibc grub_platforms_pc kernel_linux multilib nls policykit truetype userland_GNU
[32;01m * [39;49;00mFEATURES: ccache sandbox
>>> Unpacking source...
>>> Unpacking grub-1.99.tar.xz to /var/tmp/portage/sys-boot/grub-1.99-r2/work
>>> Source unpacked in /var/tmp/portage/sys-boot/grub-1.99-r2/work
>>> Preparing source in /var/tmp/portage/sys-boot/grub-1.99-r2/work/grub-1.99 ...
[32;01m*[0m Applying grub-1.99-genkernel.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying grub-1.99-vga-deprecated.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying grub-1.99-wallpaper-settings-support.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying grub-1.99-workaround-raid-bios-bug.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying grub-1.99-vga-deprecated-not-yet.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying grub-1.99-disable-floppies.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying grub-1.98-genkernel-initramfs-single.patch ...
[A[87C [34;01m[ [32;01mok[34;01m ][0m
Importing unicode...
Importing libgcrypt...
WARNING: grub-core/lib/libgcrypt-grub already exists
WARNING: grub-core/lib/libgcrypt-grub/cipher already exists
Traceback (most recent call last):
File "util/import_gcry.py", line 137, in <module>
if not mdblocksizes.has_key (mdname):
AttributeError: 'dict' object has no attribute 'has_key'
[31;01m*[0m ERROR: sys-boot/grub-1.99-r2 failed (prepare phase):
[31;01m*[0m (no error message)
[31;01m*[0m
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 91: Called src_prepare
[31;01m*[0m environment, line 3349: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m ( . ./autogen.sh ) || die;
[31;01m*[0m
[31;01m*[0m If you need support, post the output of 'emerge --info =sys-boot/grub-1.99-r2',
[31;01m*[0m the complete build log and the output of 'emerge -pqv =sys-boot/grub-1.99-r2'.
[31;01m*[0m This ebuild is from an overlay named 'sabayon': '/var/lib/layman/sabayon/'
[31;01m*[0m The complete build log is located at '/var/tmp/portage/sys-boot/grub-1.99-r2/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-boot/grub-1.99-r2/temp/environment'.
[31;01m*[0m S: '/var/tmp/portage/sys-boot/grub-1.99-r2/work/grub-1.99'
_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub