• Bug#265531: nn: FTBFS with gcc-3.4: ymakefile:19: *** missing separator

    From Andreas Jochens@1:229/2 to All on Fri Aug 13 17:30:16 2004
    From: [email protected]

    Package: nn
    Severity: normal
    Tags: patch

    When building 'nn' with gcc-3.4 I get the following error:

    /usr/bin/make
    make[1]: Entering directory `/nn-6.6.5'
    cp xmakefile MF.c
    cc -E -DCOMPILER="cc" -DPREPROC="cc -E" \
    -DLDEBUG="" \
    -DCDEBUG="-O2 " -Iconf MF.c | \
    sed -e '1,/MAKE WILL CUT HERE/d' \
    -e '/^#/d' \
    -e 's/^ / /' \
    -e '/^[ \f ]$/d' \
    -e '/^[ \/]*[*]/d' | \
    sed -n -e '/^..*$/p' > ymakefile
    rm -f MF.c
    make -w -f ymakefile all
    make[2]: Entering directory `/nn-6.6.5'
    ymakefile:19: *** missing separator. Stop.

    With the attached patch 'nn' can be compiled using gcc-3.4.

    Regards
    Andreas Jochens

    diff -urN ../tmp-orig/nn-6.6.5/Makefile ./Makefile
    --- ../tmp-orig/nn-6.6.5/Makefile 2004-08-13 17:04:36.534284529 +0200
    +++ ./Makefile 2004-08-13 17:04:02.677431553 +0200
    @@ -61,6 +61,7 @@
    sed -e '1,/MAKE WILL CUT HERE/d' \
    -e '/^#/d' \
    -e 's/^ / /' \
    + -e 's/^ / /' \
    -e '/^[ \f ]$$/d' \
    -e '/^[ \/]*[*]/d' | \
    sed -n -e '/^..*$$/p' > ymakefile


    --
    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)