Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'CVS: compile of dpkg 1.9.20-4 failed' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
CVS: compile of dpkg 1.9.20-4 failed
Authored by: TXLogic on Dec 12, '02 04:21:40PM
> > Can we upgrade via CVS?
>
> Yup, just do a 'fink selfupdate-cvs' and you'll have the same stuff as 0.5.0a.


When I tried this fink wanted to upgrade dpkg to 1.9.20-4. It failed with the msgs below. Any help appreciated.


TXLogic


/sw/include/md5.h:27: parse error before "UINT4"
/sw/include/md5.h:27: warning: no semicolon at end of struct or union
/sw/include/md5.h:28: warning: type defaults to `int' in declaration of `count'
/sw/include/md5.h:28: warning: data definition has no type or storage class
/sw/include/md5.h:30: parse error before '}' token
/sw/include/md5.h:30: warning: type defaults to `int' in declaration of `MD5_CTX'
/sw/include/md5.h:30: warning: data definition has no type or storage class
/sw/include/md5.h:32: parse error before "PROTO_LIST"
/sw/include/md5.h:33: parse error before "PROTO_LIST"
/sw/include/md5.h:35: parse error before "PROTO_LIST"
/sw/include/md5.h:37: parse error before "PROTO_LIST"
mlib.c:151: field `ctx' has incomplete type
mlib.c: In function `buffer_write':
mlib.c:163: warning: implicit declaration of function `MD5Init'
mlib.c:177: warning: implicit declaration of function `MD5Final'
mlib.c:211: warning: implicit declaration of function `MD5Update'
make[1]: *** [mlib.o] Error 1
make: *** [all-recursive] Error 2
### execution of failed, exit code 2
Failed: compiling dpkg-1.9.20-4 failed


[ Reply to This | # ]
CVS: compile of dpkg 1.9.20-4 failed
Authored by: Ranger Rick on Dec 12, '02 05:36:49PM

I believe at one point there was a buggy package (cyrus-sasl maybe?) that had an md5.h file that conflicts with the system's md5.h.

Try doing 'dpkg -S /sw/include/md5.h' and then remove whatever package it is that supplies it, and see if that helps.

If it doesn't, it could be a developer tools issue. Have you installed the July tools and all updates on top of it?



[ Reply to This | # ]
CVS: compile of dpkg 1.9.20-4 failed
Authored by: bhines on Dec 12, '02 11:07:17PM

Yes, this is due to cyrus-sasl. Remove cyrus-sasl before updating.



[ Reply to This | # ]
CVS: compile of dpkg 1.9.20-4 failed
Authored by: TXLogic on Dec 13, '02 12:12:33PM

Except openldap-ssl depends on cyrus-sasl and pine-ssl depends on openldap-ssl and I use pine-ssl! :-(

TXLogic



[ Reply to This | # ]
CVS: compile of dpkg 1.9.20-4 failed
Authored by: TXLogic on Dec 13, '02 12:34:39PM

Ah, but it's far better to have a healthy fink install; I usually read my mail via ssh and mutt anyway...

Clobbering cyrus-sasl did the trick. Thanks.

TXLogic



[ Reply to This | # ]