Bug#807672: natlog: FTBFS: [/usr/bin/icmbuild, line 166] Error: idx undefined

2015-12-11 Thread Frank B. Brokken
Dear Chris Lamb, you wrote:

> natlog fails to build from source in unstable/amd64:

Yes, it's a hard life

But no kidding: thanks for the update. The build-problems are caused by
natlog's build script not yet being updated to the latest icmake version.

I'm working on that right now, and I'll raise natlog in my personal priority
stack ;-)

In the meantime, you could change 'sizeof' into 'listlen', as suggested:

>   [icmake/md, line 15] Warning: `sizeof' is deprecated. Use `listlen'

>   [/usr/bin/icmbuild, line 166] Error: idx undefined
>   [/usr/bin/icmbuild, line 166] Error: Incorrect returntype for function
>   'find()'

and this error is simply fixed by moving the 'int idx' definition in the for
statement to right above the for statement. The following change should be all
that's required:

int idx;// definition moved out of the next for-statement
for (idx = listlen(haystack); idx--; )

But I'll handle this bug ASAP.

Cheers,

-- 
Frank B. Brokken
Center for Information Technology, University of Groningen
(+31) 50 363 9281 
Public PGP key: http://pgp.surfnet.nl
Key Fingerprint: DF32 13DE B156 7732 E65E  3B4D 7DB2 A8BE EAE4 D8AA



Bug#807672: natlog: FTBFS: [/usr/bin/icmbuild, line 166] Error: idx undefined

2015-12-11 Thread Chris Lamb
Source: natlog
Version: 1.02.00-4
Severity: serious
Justification: fails to build from source
User: reproducible-bui...@lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-bui...@lists.alioth.debian.org

Dear Maintainer,

natlog fails to build from source in unstable/amd64:

  [..]

  # Add here commands to configure the package.
  touch configure-stamp
  dh_testdir
  # compile the package.
  ./build program
  [icmake/md, line 15] Warning: `sizeof' is deprecated. Use `listlen'
  
  touch version.cc
  gcc -E VERSION.h | grep -v '#' | sed 's/\"//g' > release.yo
  icmbuild program 
  [/usr/bin/icmbuild, line 166] Error: idx undefined
  [/usr/bin/icmbuild, line 166] Error: Incorrect returntype for function 
'find()'
  
  2 error(s) detected
  Fatal: system - failure of system call (status 256)
  debian/rules:33: recipe for target 'build-stamp' failed
  make: *** [build-stamp] Error 1

  [..]

The full build log is attached.


Regards,

-- 
  ,''`.
 : :'  : Chris Lamb
 `. `'`  la...@debian.org / chris-lamb.co.uk
   `-


natlog.1.02.00-4.unstable.amd64.log.txt.gz
Description: Binary data