[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: freebsd-buildutils: FTBFS on alpha



Hi!

Anyone could have a quick look at this?

On Thu, Mar 25, 2004 at 01:06:44PM +0100, Robert Millan wrote:
> Package: freebsd-buildutils
> Version: 5.1-3
> Severity: serious
> Tags: help
> 
> http://buildd.debian.org/build.php?arch=alpha&pkg=freebsd-buildutils
> 
> >From build log:
> 
> --------------------------------------------------------------------
> cc -O2 -O2 -g -Wall   -c compare.c
> compare.c: In function `compare':
> compare.c:186: error: structure has no member named `st_mtim'
> compare.c:187: error: structure has no member named `st_mtim'
> compare.c:193: error: structure has no member named `st_mtim'
> *** Error code 1
> --------------------------------------------------------------------
> 
> 
> Relevant lines in compare.c:
> 
> --------------------------------------------------------------------
> #include "mtree.h"
> [...]
> int
> compare(name, s, p)
>         char *name ;
>         register NODE *s;
>         register FTSENT *p;
> {
> [...]
>         if ((s->flags & F_TIME) &&
>              ((s->ST_MTIM.tv_sec != p->fts_statp->ST_MTIM.tv_sec) ||
>              (s->ST_MTIM.tv_nsec != p->fts_statp->ST_MTIM.tv_nsec)))
> --------------------------------------------------------------------
> 
> 
> Relevant lines in mtree.h:
> 
> --------------------------------------------------------------------
> typedef struct _node {
>         struct _node    *parent, *child;        /* up, down */
>         struct _node    *prev, *next;           /* left, right */
>         off_t   st_size;                        /* size */
> #ifdef __GLIBC__
> #define ST_MTIM st_mtim
> #else
> #define ST_MTIM st_mtimespec
> #endif
>         struct timespec ST_MTIM;                /* last modification time */
> [...]
> } NODE;
> --------------------------------------------------------------------
> 
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Kernel: Linux 2.4.24-1-k7
> Locale: LANG=C, LC_CTYPE=C
> 
> Versions of packages freebsd-buildutils depends on:
> ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared libraries an
> 
> -- no debconf information

-- 
Robert Millan

"[..] but the delight and pride of Aule is in the deed of making, and in the
thing made, and neither in possession nor in his own mastery; wherefore he
gives and hoards not, and is free from care, passing ever on to some new work."

 -- J.R.R.T., Ainulindale (Silmarillion)



Reply to: