Bug#978887: portsmf: ftbfs with autoconf 2.70

Matthias Klose doko at debian.org
Thu Dec 31 14:28:42 GMT 2020


Package: src:portsmf
Version: 0.1~svn20101010-5
Severity: normal
Tags: sid bookworm
User: doko at debian.org
Usertags: ftbfs-ac270

[This bug report is not targeted to the upcoming bullseye release]

The package fails to build in a test rebuild on at least amd64 with
autoconf 2.70, but succeeds to build with autoconf 2.69. The
severity of this report will be raised before the bookworm release,
so nothing has to be done for the bullseye release.

The full build log can be found at:
http://qa-logs.debian.net/2020/09/26.ac270/portsmf_0.1~svn20101010-5_unstable_ac270.log
The last lines of the build log are at the end of this report.

To build with autoconf 2.70, please install the autoconf package from
experimental:  apt-get -t=experimental install autoconf 

[...]
      |                              ^~~
/usr/include/c++/10/bits/char_traits.h:216:35: error: ‘__s1’ was not declared in this scope
  216 |       std::copy(__s2, __s2 + __n, __s1);
      |                                   ^~~~
/usr/include/c++/10/bits/char_traits.h: At global scope:
<command-line>: error: expected identifier before ‘unsigned’
In file included from /usr/include/c++/10/ios:40,
                 from /usr/include/c++/10/ostream:38,
                 from /usr/include/c++/10/iostream:39,
                 from allegro.cpp:17:
/usr/include/c++/10/bits/char_traits.h:224:28: error: two or more data types in declaration of ‘__n’
  224 |     assign(char_type* __s, std::size_t __n, char_type __a)
      |                            ^~~
/usr/include/c++/10/bits/char_traits.h:224:43: error: expected ‘)’ before ‘,’ token
  224 |     assign(char_type* __s, std::size_t __n, char_type __a)
      |           ~                               ^
      |                                           )
/usr/include/c++/10/bits/char_traits.h:223:5: error: declaration of ‘static __gnu_cxx::char_traits<_CharT>::char_type* __gnu_cxx::char_traits<_CharT>::assign(...)’ outside of class is not definition [-fpermissive]
  223 |     char_traits<_CharT>::
      |     ^~~~~~~~~~~~~~~~~~~
/usr/include/c++/10/bits/char_traits.h:224:43: error: expected ‘;’ before ‘,’ token
  224 |     assign(char_type* __s, std::size_t __n, char_type __a)
      |                                           ^
      |                                           ;
<command-line>: error: expected unqualified-id before ‘unsigned’
In file included from /usr/include/x86_64-linux-gnu/c++/10/bits/c++allocator.h:33,
                 from /usr/include/c++/10/bits/allocator.h:46,
                 from /usr/include/c++/10/string:41,
                 from /usr/include/c++/10/bits/locale_classes.h:40,
                 from /usr/include/c++/10/bits/ios_base.h:41,
                 from /usr/include/c++/10/ios:42,
                 from /usr/include/c++/10/ostream:38,
                 from /usr/include/c++/10/iostream:39,
                 from allegro.cpp:17:
/usr/include/c++/10/ext/new_allocator.h:103:7: error: expected ‘;’ at end of member declaration
  103 |       allocate(size_type __n, const void* = static_cast<const void*>(0))
      |       ^~~~~~~~
      |               ;
/usr/include/c++/10/ext/new_allocator.h:103:25: error: expected ‘)’ before ‘__n’
  103 |       allocate(size_type __n, const void* = static_cast<const void*>(0))
      |               ~         ^~~~
      |                         )
/usr/include/c++/10/ext/new_allocator.h:120:28: error: ‘size_type’ has not been declared
  120 |       deallocate(_Tp* __p, size_type __t)
      |                            ^~~~~~~~~
/usr/include/c++/10/ext/new_allocator.h:141:7: error: ‘size_type’ does not name a type; did you mean ‘size_t’?
  141 |       size_type
      |       ^~~~~~~~~
      |       size_t
/usr/include/c++/10/ext/new_allocator.h:184:26: error: ‘size_type’ does not name a type; did you mean ‘size_t’?
  184 |       _GLIBCXX_CONSTEXPR size_type
      |                          ^~~~~~~~~
      |                          size_t
In file included from /usr/include/c++/10/bits/range_access.h:36,
                 from /usr/include/c++/10/string:54,
                 from /usr/include/c++/10/bits/locale_classes.h:40,
                 from /usr/include/c++/10/bits/ios_base.h:41,
                 from /usr/include/c++/10/ios:42,
                 from /usr/include/c++/10/ostream:38,
                 from /usr/include/c++/10/iostream:39,
                 from allegro.cpp:17:
/usr/include/c++/10/initializer_list:47:11: fatal error: definition of ‘class std::initializer_list<_E>’ does not match ‘#include <initializer_list>’
   47 |     class initializer_list
      |           ^~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:560: allegro.lo] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:6: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2



More information about the pkg-multimedia-maintainers mailing list