• Bug#267056: sourcerer-kernel-builder: kernel-build-script does not work

    From Felix Kurth@1:229/2 to All on Fri Aug 20 15:00:17 2004
    From: [email protected]

    Package: sourcerer-kernel-builder
    Version: 0.4
    Severity: important
    Tags: experimental patch



    -- System Information:
    Debian Release: 3.1
    APT prefers testing
    APT policy: (800, 'testing'), (750, 'experimental'), (750, 'unstable') Architecture: i386 (i686)
    Kernel: Linux 2.6.7
    Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

    Versions of packages sourcerer-kernel-builder depends on:
    ii kernel-package 8.093 A utility for building Linux kerne ii libc6-dev [libc-dev] 2.3.2.ds1-13 GNU C Library: Development Librari ii libncurses5-dev [libncurses 5.4-4 Developer's libraries and docs for ii module-init-tools 3.1-pre5-3 tools for managing Linux kernel mo ii whiptail 0.51.6-5 Displays user-friendly dialog boxe

    -- no debconf information

    When using dash as /bin/sh (as offered by the dash install procedure)
    the kernel-builder-script fails on line 98 (wrong arithmetic).
    Instead of
    REVISION=$((REVISION+1))
    you may use:
    ((REVISION=$REVISION+1))
    Dont know wheter this is a dash bug or not.

    Greetings
    felix


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Herbert Xu@1:229/2 to Goswin von Brederlow on Sat Aug 21 03:00:14 2004
    From: [email protected]

    On Sat, Aug 21, 2004 at 02:41:02AM +0200, Goswin von Brederlow wrote:

    When using dash as /bin/sh (as offered by the dash install procedure)
    the kernel-builder-script fails on line 98 (wrong arithmetic).
    Instead of
    REVISION=$((REVISION+1))
    you may use:
    ((REVISION=$REVISION+1))
    Dont know wheter this is a dash bug or not.

    Greetings
    felix

    I was under the impression that $(( )) was a posix feature.

    Arithmetic expansion with $(( )) is specified by POSIX. But assignment operators are not part of it.
    --
    Visit Openswan at http://www.openswan.org/
    Email: Herbert Xu ~{PmV>HI~} <[email protected]>
    Home Page: http://gondor.apana.org.au/~herbert/
    PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)
  • From Goswin von Brederlow@1:229/2 to Felix Kurth on Sat Aug 21 03:00:14 2004
    From: [email protected]

    Felix Kurth <[email protected]> writes:

    Package: sourcerer-kernel-builder
    Version: 0.4
    Severity: important
    Tags: experimental patch

    When using dash as /bin/sh (as offered by the dash install procedure)
    the kernel-builder-script fails on line 98 (wrong arithmetic).
    Instead of
    REVISION=$((REVISION+1))
    you may use:
    ((REVISION=$REVISION+1))
    Dont know wheter this is a dash bug or not.

    Greetings
    felix

    I was under the impression that $(( )) was a posix feature.

    Gerrit or Herbert: Any comment on this?

    MfG
    Goswin


    --
    To UNSUBSCRIBE, email to [email protected]
    with a subject of "unsubscribe". Trouble? Contact [email protected]

    --- SoupGate-Win32 v1.05
    * Origin: you cannot sedate... all the things you hate (1:229/2)