[oe] util-linux-ng 2.17 do_install fails (setarch manpage links)

Michael Smith msmith at cbnco.com
Mon Sep 20 18:45:01 UTC 2010


Michael Smith wrote:
> util-linux-ng fails to build:
> 
> ...tmp/sysroots/x86_64-linux/usr/bin/install -c -m 644 ctrlaltdel.8 
> cytune.8 setarch.8 ldattach.8 tunelp.8 rtcwake.8 pivot_root.8 
> switch_root.8 .8 linux32.8 linux64.8 i386.8 .8 
> '...tmp/work/i486-oe-linux/util-linux-ng-2.17-r29.2/image/usr/share/man/man8' 
> 
> 
> .../install: will not overwrite just-created 
> `...tmp/work/i486-oe-linux/util-linux-ng-2.17-r29.2/image/usr/share/man/man8/.8' 
> with `.8'

> automake 1.11.1 expands this to:
> 
> SETARCH_LINKS = linux32 linux64 $(am__append_19) $(am__append_20) \
>         $(am__append_21) $(am__append_22) $(am__append_23) \
>         $(am__append_24) $(am__append_25) $(am__append_26)
> SETARCH_MAN_LINKS = $(SETARCH_LINKS:=.8)
> 
> Since am__append_21..26 are empty, SETARCH_MAN_LINKS is set to:
> 
> linux-32.8 linux-64.8 i386.8 .8

I'm using ancient GNU make 3.80 from SLES10 SP2. Slightly less ancient 
make 3.81 does not have this problem. I've worked around it by building 
make-native (3.82).

Mike




More information about the Openembedded-devel mailing list