Bug#757979: pktools: FTBFS on arm*: error: invalid cast from type 'va_list {aka __va_list}' to type 'const unsigned int*'

Gilles Filippini pini at debian.org
Tue Aug 12 23:59:25 UTC 2014


Source: pktools
Version: 2.5.2+20140505-2
Severity: serious
Tags: patch
Justification: FTBFS on armel and armhf

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi,

pktools FTBFS on armel and armhf:
In file included from pkann.cc:32:0:
.../../src/algorithms/myfann_cpp.h: In member function 'bool FANN::neural_net::create_standard(unsigned int, ...)':
.../../src/algorithms/myfann_cpp.h:1066:62: error: invalid cast from type 'va_list {aka __va_list}' to type 'const unsigned int*'
                 reinterpret_cast<const unsigned int *>(layers));
                                                              ^
.../../src/algorithms/myfann_cpp.h: In member function 'bool FANN::neural_net::create_sparse(float, unsigned int, ...)':
.../../src/algorithms/myfann_cpp.h:1116:62: error: invalid cast from type 'va_list {aka __va_list}' to type 'const unsigned int*'
                 reinterpret_cast<const unsigned int *>(layers));
                                                              ^
.../../src/algorithms/myfann_cpp.h: In member function 'bool FANN::neural_net::create_shortcut(unsigned int, ...)':
.../../src/algorithms/myfann_cpp.h:1163:62: error: invalid cast from type 'va_list {aka __va_list}' to type 'const unsigned int*'
                 reinterpret_cast<const unsigned int *>(layers));
                                                              ^

This is the very same error fixed 4 years ago in the package libfann for which a patch was created:
<http://sources.debian.net/src/libfann/2.1.0~beta~dfsg-10/debian/patches/0004-Portable-handling-for-va_list.patch/>

Thanks in advance,

_g.

- -- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.14-1-486
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCAAGBQJT6qpQAAoJEO/obGx//s+DYGoH+wXPhLdJ9Ba1VLA4Uc2yCN2B
z3ExbBYxmMrB4aIyzhP7tRSYt9mr2mPpSrNOby+woq2gU9Q9grG57hRHxEVJYbF6
UK3Hlc1HiPAHNN7gFlFbefasuDbBpaWhthi70v9hP9FFpAeyy+mpYFpw8rfj1Mgj
P9KqdClp5+ActbH6Pk0Nsl0zgt5gyI0ZmQ3rQKE++aZdsfwCIYugeCepAFeKYVZ3
60i+FyMTtCS+0uzBdZz4BXiDW70TDq/ZRwe160SWLY8Mrire4WZwcZYz5yvS7Usk
NBJoM1LcA0KeV21lXk/j1/JSZPdwAAOYFqoHvEYzxnm7MF+RCclEsgmrq6CIM0E=
=RVfF
-----END PGP SIGNATURE-----



More information about the Pkg-grass-devel mailing list