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

Andreas Jochens aj at andaco.de
Fri Sep 29 06:13:44 UTC 2006


Hello,

On 06-Sep-28 15:43, Robert Millan wrote:
> On Thu, Sep 28, 2006 at 09:57:24AM +0200, Andreas Jochens wrote:
> > 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.

yes it builds with lib32ncurses5-dev, thanks.

I wonder why the host part is 32-bit on ppc64 while it is 64-bit on amd64.
Usually ppc64 is treated similar to amd64.

Regards
Andreas Jochens




More information about the Pkg-grub-devel mailing list