Bug#423744: bobcat: FTBFS: i386: error: invalid conversion from 'sfsistat (*)(SMFICTX*, char*)' to 'sfsistat (*)(SMFICTX*, const char*)'

2007-05-14 Thread Michael Ablassmeier
Package: bobcat
Severity: serious
Version: 1.14.2-1
Justification: policy violation

hi, 

Lucas has rebuild the archive on i386 and your package Failed to Build
from Source with the following error:

  milter/initialize.cc: In static member function 'static void 
  FBB::Milter::initialize(const std::string, FBB::Milter, size_t, long 
  unsigned int)':
  milter/initialize.cc:79: error: invalid conversion from 'sfsistat 
  (*)(SMFICTX*, char*)' to 'sfsistat (*)(SMFICTX*, const char*)'
  milter/initialize.cc:84: error: duplicate case value
  milter/initialize.cc:66: error: previously used here
  system - failure of system call (status 256)
  system - failure of system call (status 256)
  make: *** [build-stamp] Error 1
 
the full log can be found here:

 http://people.debian.org/~lucas/logs/2007/05/13/bobcat_1.14.2-1_sid32.buildlog

bye,
- michael


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



Bug#423744: bobcat: FTBFS: i386: error: invalid conversion from 'sfsistat (*)(SMFICTX*, char*)' to 'sfsistat (*)(SMFICTX*, const char*)'

2007-05-14 Thread Frank B. Brokken
Dear Michael Ablassmeier, you wrote:
 
 Package: bobcat
 Severity: serious
 Version: 1.14.2-1
 Justification: policy violation
 
 hi, 
 
 Lucas has rebuild the archive on i386 and your package Failed to Build
 from Source with the following error:
 
   milter/initialize.cc: In static member function 'static void 
 FBB::Milter::initialize(const std::string, FBB::Milter, size_t, long 
 unsigned int)':
   milter/initialize.cc:79: error: invalid conversion from 'sfsistat 
 (*)(SMFICTX*, char*)' to 'sfsistat (*)(SMFICTX*, const char*)'
   milter/initialize.cc:84: error: duplicate case value
   milter/initialize.cc:66: error: previously used here
   system - failure of system call (status 256)
   system - failure of system call (status 256)
   make: *** [build-stamp] Error 1
  
 the full log can be found here:
 
  
 http://people.debian.org/~lucas/logs/2007/05/13/bobcat_1.14.2-1_sid32.buildlog
 
 bye,
 - michael

Thanks for the report. I'll check it out ASAP. Peculiar that the error hasn't
come up earlier. Maybe something else changed inducing this compilation
error. I'll check it out, anyway.

Thanks again,

-- 
Frank B. Brokken
Computing Center, University of Groningen
(+31) 50 363 9281
Public PGP key: http://pgp.surfnet.nl:11371/
Key Fingerprint: 8E36 9FC4 1DAA FCDF 1A0D  B19F DAC4 BE50 38C6 6170


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



Bug#423744: bobcat: FTBFS: i386: error: invalid conversion from 'sfsistat (*)(SMFICTX*, char*)' to 'sfsistat (*)(SMFICTX*, const char*)'

2007-05-14 Thread Frank B. Brokken
Dear Michael Ablassmeier, you wrote:

 Lucas has rebuild the archive on i386 and your package Failed to Build
 from Source with the following error:
 ...

The following can be used to provisionally repair the problem, pending the
arrival of the next upgrade:

In the file .../milter/milter (line 278), add `const':

virtual sfsistat unknown(char const *ptr)

same file, line 332, add `const':

static sfsistat mUnknown(SMFICTX *ctx, char const *ptr)

In the file .../milter/initialize.cc (line 84), change case label from EOM
(which was probably a typo) into DATA:

#if SMFI_VERSION  3
case DATA:  // was: EOM:
descr.xxfi_data = mData;

AFAICS this works for both libmilter-dev 8.13.8-3 and 8.14.1-2.

Kind regards,

-- 
Frank B. Brokken
Computing Center, University of Groningen
(+31) 50 363 9281
Public PGP key: http://pgp.surfnet.nl:11371/
Key Fingerprint: 8E36 9FC4 1DAA FCDF 1A0D  B19F DAC4 BE50 38C6 6170


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