Bug#389873: grub2: FTBFS (ppc64): util/console.c:275: undefined reference to `stdscr'

Robert Millan rmh at aybabtu.com
Thu Sep 28 13:43:58 UTC 2006


On Thu, Sep 28, 2006 at 09:57:24AM +0200, Andreas Jochens wrote:
> Package: grub2
> Version: 1.94+20060926-1
> Severity: wishlist
> Tags: patch
> 
> Hello,
> 
> thank you for uploading the new version of grub2 which also targets ppc64.
> 
> When building 'grub2' on ppc64/unstable, I get the following error:
> 
> [...]
> 
> This occurs because util/console.c is compiled with the '-m32' switch
> and the linker does not find a corresponding 32-bit-powerpc libncurses 
> library on ppc64.

I believe upstream chose to build the host part in 32-bit for a reason.  If you
(or someone else) can confirm this is no longer needed (i.e., grub2 builds,
installs and runs), then we should check with upstream to get this check
disabled.

Otherwise, can we just add lib32ncurses5-dev et al to Build-Depends ?  If you
can confirm it builds this way, I'd rather do this instead.

Thanks!

> diff -urN ../tmp-orig/grub2-1.94+20060926/configure.ac ./configure.ac
> --- ../tmp-orig/grub2-1.94+20060926/configure.ac	2006-07-12 20:42:52.000000000 +0000
> +++ ./configure.ac	2006-09-28 07:12:47.000000000 +0000
> @@ -40,10 +40,6 @@
>  AC_CANONICAL_HOST
>  AC_CANONICAL_TARGET
>  
> -case "$host_cpu" in
> -  powerpc64) host_m32=1 ;;
> -esac
> -
>  case "$target_cpu" in
>    i[[3456]]86) target_cpu=i386 ;;
>    x86_64) target_cpu=i386 target_m32=1 ;;

-- 
Robert Millan

My spam trap is honeypot at aybabtu.com.  Note: this address is only intended for
spam harvesters.  Writing to it will get you added to my black list.




More information about the Pkg-grub-devel mailing list