• Bug#264259: tela: FTBFS: "./flex++-3.0.2/flex++: Command not found"

    From Adeodato =?iso-8859-1?Q?Sim=F3?=@1:229/2 to All on Wed Aug 18 04:40:08 2004
    From: [email protected]

    tag 264259 patch
    quit

    * Roland Stigge [Sat, 07 Aug 2004 22:18:45 +0200]:

    trying to build the package, I got:

    ./flex++-3.0.2/flex++ -8 -p -S./pars/flexskel.cc -H./pars/flexskel.h \
    -o./d.l.c -h./d.l.h ./d.l
    make[1]: ./flex++-3.0.2/flex++: Command not found

    # dpkg-source -x tela_2.0-7.dsc && cd tela-2.0
    # ./debian/rules configure
    # make --debug=b d.l.o
    Prerequisite `def.H' is newer than target `d.l.c'.
    Prerequisite `error.H' is newer than target `d.l.c'.
    Must remake target `d.l.c'.

    def.H and error.H have newer timestamps since they are changed in the
    debian diff.

    the attached one-char patch to debian/rules solves the problem, which
    only arises (I guess) on systems where timestamps are mucho more
    accurate. for that reason, *I* would downgrade the severity of this
    bug.

    (BTW, the "whitespace-in-comment change in y.l.[ch]" hack can be
    removed if the patch is applied.)

    p.s.: to the maintainer: while you're at it, could you change the

    (cd flex++-3.0.2; make clean; rm -f flex++)

    line in the Makefile to something that would enter an infinite make
    loop if flex++-3.0.2 does not exist? I got badly bit by it. :-(
    Something like:

    (cd flex++-3.0.2 && make clean; rm -f flex++)


    thanks,

    --
    Adeodato Sim�
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

    Military justice is to justice what military music is to music.
    -- Groucho Marx

    --- debian/rules.old 2004-08-18 04:12:45.000000000 +0200
    +++ debian/rules 2004-08-18 04:12:48.000000000 +0200
    @@ -21,7 +21,7 @@
    ./configure --prefix=/usr

    #there are some strange timestamps in the .tar
    - touch d.y.*
    + touch d.?.*
    touch configure-stamp

    build: configure-stamp build-stamp

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