Bug#744556: beast: run dh-autoreconf to update config.{sub, guess} and {libtool, aclocal}.m4

Matthias Klose doko at debian.org
Sun Apr 13 16:50:17 UTC 2014


Package: src:beast
Version: 0.7.8-1
User: debian-devel at lists.debian.org
Usertags: autoreconf

The package fails to build on ppc64el (powerpc64le-linux-gnu), because
the config.{guess,sub} files are out of date, and are not updated during
the build.  If possible, please do not update these files directly,
but build-depend on autotools-dev instead, and use the tools provided
by autotools-dev to update these files.

  - For dh, call dh --with autoreconf.

  - For cdbs based build systems, include
    /usr/share/cdbs/1/rules/autoreconf.mk

  - For other rules files, call dh_autoreconf before calling
    configure (in the build or configure target), and call
    dh_autoreconf_clean before dh_clean in the clean target.

For combining autoreconf and autotools_dev, see bug #698765.

After the build on any architecture, and before a clean, a grep for
powerpc64le in the configure, aclocal.m4 and/or libtool.m4 file(s)
should print some lines. It is not enough to just update the
config.guess and config.sub files.

The full build log can be found at:
http://people.debian.org/~doko/logs/ppc64el-20140414/buildlog_ubuntu-trusty-ppc64el.beast_0.7.8-1_FAILEDTOBUILD.txt
The last lines of the build log are at the end of this report.

Please note that these builds were done in an Ubuntu development,
environment there may be a few false positives in these bug reports.

See https://wiki.debian.org/qa.debian.org/FTBFS for a guide how to
address these.

[...]
   (uint (*) (volatile uint*, uint))       g_atomic_int_exchange_and_add,
                                           ^
birnetthreadimpl.cc: In function 'BirnetThreadTable* Birnet::get_fallback_thread_table()':
birnetthreadimpl.cc:1431:31: warning: 'GPrivate* g_private_new(GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:233) [-Wdeprecated-declarations]
   fallback_thread_table_key = g_private_new ((GDestroyNotify) birnet_thread_handle_exit);
                               ^
birnetthreadimpl.cc:1431:88: warning: 'GPrivate* g_private_new(GDestroyNotify)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:233) [-Wdeprecated-declarations]
   fallback_thread_table_key = g_private_new ((GDestroyNotify) birnet_thread_handle_exit);
                                                                                        ^
birnetthreadimpl.cc: At global scope:
birnetthreadimpl.cc:1504:43: warning: 'gint g_atomic_int_exchange_and_add(volatile gint*, gint)' is deprecated (declared at /usr/include/glib-2.0/glib/gatomic.h:80): Use 'g_atomic_add' instead [-Wdeprecated-declarations]
   (int  (*) (volatile  int*,  int))       g_atomic_int_exchange_and_add,
                                           ^
birnetthreadimpl.cc:1509:43: warning: 'gint g_atomic_int_exchange_and_add(volatile gint*, gint)' is deprecated (declared at /usr/include/glib-2.0/glib/gatomic.h:80): Use 'g_atomic_add' instead [-Wdeprecated-declarations]
   (uint (*) (volatile uint*, uint))       g_atomic_int_exchange_and_add,
                                           ^
birnetthreadimpl.cc:1589:43: warning: 'gint g_atomic_int_exchange_and_add(volatile gint*, gint)' is deprecated (declared at /usr/include/glib-2.0/glib/gatomic.h:80): Use 'g_atomic_add' instead [-Wdeprecated-declarations]
   (int  (*) (volatile  int*,  int))       g_atomic_int_exchange_and_add,
                                           ^
birnetthreadimpl.cc:1594:43: warning: 'gint g_atomic_int_exchange_and_add(volatile gint*, gint)' is deprecated (declared at /usr/include/glib-2.0/glib/gatomic.h:80): Use 'g_atomic_add' instead [-Wdeprecated-declarations]
   (uint (*) (volatile uint*, uint))       g_atomic_int_exchange_and_add,
                                           ^
  CXX    birnetutils.lo
birnetutils.cc: In function 'void Birnet::birnet_init(int*, char***, const char*, Birnet::InitValue*)':
birnetutils.cc:139:5: warning: 'void g_thread_init(gpointer)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:261) [-Wdeprecated-declarations]
     g_thread_init (NULL);
     ^
birnetutils.cc:139:24: warning: 'void g_thread_init(gpointer)' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:261) [-Wdeprecated-declarations]
     g_thread_init (NULL);
                        ^
birnetutils.cc: In function 'Birnet::String Birnet::string_from_errno(int)':
birnetutils.cc:553:53: warning: ignoring return value of 'char* strerror_r(int, char*, size_t)', declared with attribute warn_unused_result [-Wunused-result]
   if (strerror_r (errno_val, buffer, sizeof (buffer)) < 0 || !buffer[0])
                                                     ^
/bin/bash ../libtool --silent --tag=CXX   --mode=link g++ -D_BIRNET_SOURCE_EXTENSIONS -g -O3 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fpermissive -g -DG_ENABLE_DEBUG -Wall -Wdeprecated -Wno-cast-qual -pipe -ftracer -finline-functions -fno-keep-static-consts -std=gnu++0x -pthread  -Wl,--as-needed -Wl,--as-needed -o libbirnet.o  -no-undefined  birnetthreadimpl.lo birnetcpu.lo birnetdebugtools.lo birnetmsg.lo birnetthread.lo birnetmath.lo birnetutf8.lo birnetutils.lo # -lpthread -pthread -lgthread-2.0 -lglib-2.0   -lz -lm 
  CXXLD  libbirnet.la
/usr/bin/ld: unrecognised emulation mode: elf64ppc
Supported emulations: elf64lppc elf32lppc elf32lppclinux elf32lppcsim
make[4]: *** [libbirnet.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/build/buildd/beast-0.7.8/birnet'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/beast-0.7.8/birnet'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/beast-0.7.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/beast-0.7.8'
dh_auto_build: make -j8 returned exit code 2
make: *** [build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



More information about the pkg-multimedia-maintainers mailing list