Package: nmh
Version: 1.1-release-3
Severity: important
Justification: fails to build from source

Summary: There is an intermediate build file sbr/dtimep.c included in
the source package, which should be removed.  Also, the rule to
generate this file in sbr/Makefile.in should be changed from

dtimep.c: dtimep.lex
        $(LEX) -nt $< > $@

to

dtimep.c: dtimep.lex
        $(LEX) -o $@ $<


This fixes two problems:
 * flex 2.5.31-31 (the version of sarge) treats '-n' as a no-op option,
   but treats the following 't' as an argument, which is not allowed;
 * by using '-o $@' instead of '-t > $@', we avoid creating an empty
   file when the flex invocation fails, which could cause a future 'make'
   to try to use the now-empty dtimep.c.

This issue is masked when unpacking the source archive onto a
filesystem like ext3 which doesn't store fractional timestamps.  The
files sbr/dtimep.c and sbr/dtimep.lex in the archive have timestamps
of 2003-10-24 20:17:23.671432146 and 2003-10-24 20:17:23.825410320
respectively, so when unpacked onto an ext3 filesystem, the timestamps
become equal and make doesn't try to rebuild sbr/dtimep.c.  But when a
filesystem which stores fractional-second timestamps (such as AFS) is
used sbr/dtimep.c becomes older than sbr/dtimep.lex and thus make
does try to rebuild it.

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages nmh depends on:
ii  base-files                  3.1.2        Debian base system miscellaneous f
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  libdb3                      3.2.9-22     Berkeley v3 Database Libraries [ru
ii  liblockfile1                1.06         NFS-safe locking library, includes
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libsasl2                    2.1.19-1.5   Authentication abstraction library
ii  netbase                     4.21         Basic TCP/IP networking system

-- no debconf information


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

Reply via email to