Package: src:ilmbase Severity: normal Tags: patch User: debian-powe...@lists.debian.org Usertags: ppc64el User: debian-de...@lists.debian.org Usertags: autoreconf
Dear Maintainer, The package ilmbase fails to build from source on ppc64el. Although autotools-dev is being used, it is not enough to update configuration files properly. Running autoreconf will update the package, but as it runs autoheader, it fails due lack of arguments to some AC_DEFINE macros. I am not sure if this is the ideal way to do so, but I changed them so they would build and provide with a description in the header file generated. Please refer to the patches attached. Thanks! Fernando -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: ppc64el (ppc64le) Kernel: Linux 3.13-1-powerpc64le (SMP w/4 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
Index: ilmbase-1.0.1/debian/control =================================================================== --- ilmbase-1.0.1.orig/debian/control 2012-12-08 11:13:08.000000000 +0000 +++ ilmbase-1.0.1/debian/control 2014-06-23 17:41:18.240005457 +0000 @@ -3,7 +3,7 @@ Priority: optional Maintainer: Debian PhotoTools Maintainers <pkg-phototools-de...@lists.alioth.debian.org> Uploaders: Andreas Metzler <ametz...@debian.org> -Build-Depends: autotools-dev (>= 20100122.1), debhelper (>= 9), +Build-Depends: dh-autoreconf, debhelper (>= 9), dpkg-dev (>= 1.16.1) Standards-Version: 3.9.3 Homepage: http://www.openexr.com Index: ilmbase-1.0.1/debian/rules =================================================================== --- ilmbase-1.0.1.orig/debian/rules 2012-12-08 10:46:56.000000000 +0000 +++ ilmbase-1.0.1/debian/rules 2014-06-23 17:41:29.870005459 +0000 @@ -45,4 +45,4 @@ # Everything else: %: - dh $@ --with autotools_dev + dh $@ --with autoreconf
--- ilmbase-1.0.1.orig/configure.ac +++ ilmbase-1.0.1/configure.ac @@ -77,7 +77,7 @@ AC_TRY_COMPILE([#include <iomanip>],[ std::right; ], -AC_DEFINE(HAVE_COMPLETE_IOMANIP) complete_iomanip=yes) +AC_DEFINE([HAVE_COMPLETE_IOMANIP],[1],[Define to 1 if you have <iomanip> header file]) complete_iomanip=yes) AC_MSG_RESULT($complete_iomanip) AC_LANG_RESTORE --- ilmbase-1.0.1.orig/m4/threads.m4 +++ ilmbase-1.0.1/m4/threads.m4 @@ -280,7 +280,9 @@ fi # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND: if test x"$am_posix_sem_ok" = xyes; then - ifelse([$1],,AC_DEFINE(HAVE_POSIX_SEMAPHORES),[$1]) + ifelse([$1],,AC_DEFINE([HAVE_POSIX_SEMAPHORES],[1],[Define and set to 1 if the target system supports POSIX semaphores \ + and you want OpenEXR to use them; otherwise, OpenEXR will use its \ + own semaphore implementation]),[$1]) : else am_posix_sem_ok=no