[Pkg-ltsp-devel] Bug#539898: ltsp-server: ltsp-build-client fails to build i386 client on amd64

Libor Klepáč libor.klepac at bcom.cz
Tue Aug 4 15:55:59 UTC 2009


Hi,
there is " missing in second elif in patch
It aplies cleanly for me and i386 client is building now.

It's build, but it has some problems with booting (it's the same with amd64 
env.) - it cannot write on read-only system - maybe 5.1.79-2 fixes this?

With regards
Libor

Dne úterý 04 Srpen 2009 16:27:34 Vagrant Cascadian napsal(a):
> tags 539898 pending
> thanks
>
> On Tue, Aug 04, 2009 at 12:05:54PM +0200, Libor Klepáč wrote:
> > Unfortunately, build-client fails to build i386  version of boot, amd64
> > version builds ok It dies on
> > cp: omitting directory `/usr/bin/'
> > error: LTSP client installation ended abnormally
>
> ah, this is a bug introduced by the new cross-architecture code (which is
> *should* be un-used for i386 on amd64 servers)...
>
> fixed upstream, and will include it in the next upload (although it just
> missed the 5.1.79-2 upload i made half an hour ago, unfortunately).
>
> this patch should fix the issue, please test it (i am unable to test it
> myself):
>
> === modified file 'server/plugins/ltsp-build-client/Debian/002-cross-arch'
> --- server/plugins/ltsp-build-client/Debian/002-cross-arch      2009-07-29
> 16:12:13 +0000 +++ server/plugins/ltsp-build-client/Debian/002-cross-arch  
>    2009-08-04 13:28:08 +0000 @@ -23,11 +23,16 @@
>                  *) echo "WARNING: unknown cross-architecture combination:
> $ARCH on $HOST_ARCH" ;;
>              esac
> -            if [ -x "/usr/bin/${CROSS_ARCH_EMULATOR}-static" ]; then
> +            if [ -z "$CROSS_ARCH_EMULATOR" ]; then
> +                : # no cross-architecture emulator detected
> +            elif [ -x "/usr/bin/${CROSS_ARCH_EMULATOR}-static" ]; then
>                  # prefer static variants
>                 
> CROSS_ARCH_EMULATOR="/usr/bin/${CROSS_ARCH_EMULATOR}-static" +           
> elif [ -x /usr/bin/${CROSS_ARCH_EMULATOR}" ]; then
> +                CROSS_ARCH_EMULATOR="/usr/bin/${CROSS_ARCH_EMULATOR}"
>              else
> -                CROSS_ARCH_EMULATOR="/usr/bin/${CROSS_ARCH_EMULATOR}"
> +                echo "WARNING: unable to find: $CROSS_ARCH_EMULATOR in
> /usr/bin" +                unset CROSS_ARCH_EMULATOR
>              fi
>          fi
>          if [ -n "$CROSS_ARCH_EMULATOR" ] && [ ! -x "$CROSS_ARCH_EMULATOR"
> ]; then
>
> live well,
>   vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-ltsp-devel/attachments/20090804/4a06403a/attachment.pgp>


More information about the Pkg-ltsp-devel mailing list