Bug#591490: grub2: FTBFS on kfreebsd-*: undefined reference to `grub_get_libzfs_handle'

Colin Watson cjwatson at debian.org
Tue Aug 3 16:01:06 UTC 2010


On Tue, Aug 03, 2010 at 10:17:58AM -0400, Cyril Brulebois wrote:
> your package FTBFS on kfreebsd-*:
> | gcc-4.4 -o grub-emu halt.mod libusb.mod usb.mod usbtest.mod usbms.mod sdl.mod fshelp.mod fat.mod ufs1.mod ufs2.mod ext2.mod ntfs.mod ntfscomp.mod minix.mod hfs.mod jfs.mod iso9660.mod xfs.mod affs.mod sfs.mod hfsplus.mod reiserfs.mod cpio.mod tar.mod udf.mod afs.mod afs_be.mod befs.mod befs_be.mod nilfs2.mod part_amiga.mod part_apple.mod part_msdos.mod part_sun.mod part_acorn.mod part_gpt.mod part_bsd.mod part_sunpc.mod raid.mod raid5rec.mod raid6rec.mod mdraid.mod dm_nv.mod lvm.mod scsi.mod minicmd.mod extcmd.mod hello.mod ls.mod cmp.mod cat.mod help.mod search.mod loopback.mod configfile.mod echo.mod test.mod blocklist.mod hexdump.mod read.mod sleep.mod loadenv.mod crc.mod parttool.mod msdospart.mod memrw.mod normal.mod gptsync.mod true.mod probe.mod password.mod keystatus.mod gfxmenu.mod search_fs_file.mod search_fs_uuid.mod search_label.mod terminfo.mod video.mod video_fb.mod bitmap.mod bitmap_scale.mod font.mod gfxterm.mod videotest.mod tga.mod jpeg.mod png.mod gzio.mo
>  d elf.mod bufio.mod gettext.mod xnu_uuid.mod trig.mod setjmp.mod regexp.mod terminal.mod crypto.mod hashsum.mod pbkdf2.mod password_pbkdf2.mod memdisk.mod reboot.mod date.mod datehook.mod lsmmap.mod boot.mod gcry_blowfish.mod gcry_des.mod gcry_sha256.mod gcry_sha512.mod gcry_rmd160.mod gcry_cast5.mod gcry_rijndael.mod gcry_seed.mod gcry_md4.mod gcry_tiger.mod gcry_twofish.mod gcry_rfc2268.mod gcry_camellia.mod gcry_whirlpool.mod gcry_crc.mod gcry_md5.mod gcry_serpent.mod gcry_sha1.mod gcry_arcfour.mod kernel.img -lncurses -lusb -lSDL -lzfs -lnvpair  
> | kernel.img: In function `find_root_device_from_libzfs':
> | /build/buildd-grub2_1.98+20100802-1-kfreebsd-amd64-zNFaw4/grub2-1.98+20100802/build/grub-emu/../../kern/emu/getroot.c:200: undefined reference to `grub_get_libzfs_handle'
> | collect2: ld returned 1 exit status
> | make[2]: *** [grub-emu] Error 1

Yeah, I mailed Robert Millan about this this morning when I saw the
build failure.  Looks like that code needs to be moved to
kern/emu/misc.c.

-- 
Colin Watson                                       [cjwatson at debian.org]





More information about the Pkg-grub-devel mailing list