New submission from Michel Salim <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<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

Reply via email to