[issue1028] cpdup: not 64-bit clean

Michel Salim sinknull at crater.dragonflybsd.org
Thu Jun 5 07:20:01 PDT 2008


New submission from Michel Salim <salimma at fedoraproject.org>:

cpdup cannot be built on 64-bit Linux (probably not on 64-bit DragonFly either,
once that becomes available).

Build log attached (using Fedora 9, GCC 4.3. Same problem occurs with GCC 4. 2
and, as far as I remember, 4.1)

----------
assignedto: dillon
files: cpdup-buildlog.txt
messages: 4742
nosy: dillon, msylvan
priority: bug
status: unread
title: cpdup: not 64-bit clean
topic: pkgsrc

_____________________________________________________
DragonFly issue tracker <bugs at lists.dragonflybsd.org>
<https://bugs.dragonflybsd.org/issue1028>
_____________________________________________________$ cc -D__unused= -D_GNU_SOURCE -D__USE_FILE_OFFSET64 -DNOMD5 -DUSE_PTHREADS -pthread cpdup.c fsmid.c hclink.c hcproto.c misc.c

In file included from /usr/include/sys/stat.h:107,
                 from cpdup.h:9,
                 from cpdup.c:58:
/usr/include/bits/stat.h:103: error: expected identifier or â??(â?? before â??[â?? token
/usr/include/bits/stat.h:164: error: expected identifier or â??(â?? before â??[â?? token
cpdup.c: In function â??DoCopyâ??:
cpdup.c:941: warning: initialization makes integer from pointer without a cast
In file included from /usr/include/sys/stat.h:107,
                 from cpdup.h:9,
                 from fsmid.c:10:
/usr/include/bits/stat.h:103: error: expected identifier or â??(â?? before â??[â?? token
/usr/include/bits/stat.h:164: error: expected identifier or â??(â?? before â??[â?? token
In file included from /usr/include/sys/stat.h:107,
                 from cpdup.h:9,
                 from hclink.c:9:
/usr/include/bits/stat.h:103: error: expected identifier or â??(â?? before â??[â?? token
/usr/include/bits/stat.h:164: error: expected identifier or â??(â?? before â??[â?? token
hclink.c: In function â??hcc_reader_threadâ??:
hclink.c:181: warning: assignment makes integer from pointer without a cast
In file included from /usr/include/sys/stat.h:107,
                 from cpdup.h:9,
                 from hcproto.c:9:
/usr/include/bits/stat.h:103: error: expected identifier or â??(â?? before â??[â?? token
/usr/include/bits/stat.h:164: error: expected identifier or â??(â?? before â??[â?? token
hcproto.c: In function â??hc_opendirâ??:
hcproto.c:365: warning: cast to pointer from integer of different size
hcproto.c: In function â??hc_readdirâ??:
hcproto.c:409: warning: cast from pointer to integer of different size
hcproto.c:414: warning: cast from pointer to integer of different size
hcproto.c: In function â??hc_closedirâ??:
hcproto.c:479: warning: cast from pointer to integer of different size
hcproto.c:482: warning: cast from pointer to integer of different size
hcproto.c:485: warning: cast from pointer to integer of different size
In file included from /usr/include/sys/stat.h:107,
                 from cpdup.h:9,
                 from misc.c:7:
/usr/include/bits/stat.h:103: error: expected identifier or â??(â?? before â??[â?? token
/usr/include/bits/stat.h:164: error: expected identifier or â??(â?? before â??[â?? token




More information about the Bugs mailing list