Hi! This problem has been solved in Yate SVN and will be part of 5.4.0
Can you please apply any (or better both) of the attached patches to 5.0.0 and run ./autogen.sh or autoconf? Thanks, Paul Chitescu On Mon Jun 2, 2014 22:18:09 David Suárez wrote: > Source: yate > Version: 5.0.0-1-1 > Severity: serious > Tags: jessie sid > User: debian...@lists.debian.org > Usertags: qa-ftbfs-20140601 qa-ftbfs > Justification: FTBFS on amd64 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on > amd64. > > Relevant part (hopefully): > > make[1]: Entering directory '/«PKGBUILDDIR»' > > dh_install -XCOPYING -XChangeLog -Xamrnbcodec.conf -Xh323chan.conf > > --fail-missing dh_install: yate-pgsql missing files > > (usr/lib/*/yate/server/pgsqldb.yate), aborting debian/rules:31: recipe > > for target 'override_dh_install' failed > > make[1]: *** [override_dh_install] Error 2 > > The full build log is available from: > > http://aws-logs.debian.net/ftbfs-logs/2014/06/01/yate_5.0.0-1-1_unstable.lo >g > > A list of current common problems and possible solutions is available at > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! > > About the archive rebuild: The rebuild was done on EC2 VM instances from > Amazon Web Services, using a clean, minimal and up-to-date chroot. Every > failed build was retried once to eliminate random failures. > > _______________________________________________ > Pkg-voip-maintainers mailing list > pkg-voip-maintain...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-voip-maintainer >s
Index: configure.in =================================================================== --- configure.in (revision 5851) +++ configure.in (revision 5852) @@ -34,10 +34,15 @@ AC_MSG_RESULT([$uname_os]) # Check if we should look for alternate library names AC_ARG_WITH(archlib,AC_HELP_STRING([--with-archlib=NAME],[use NAME as library directory name]),[ac_cv_use_archlib=$withval]) AC_MSG_CHECKING([for libraries directory name]) -archname=`uname -m` 2>/dev/null -test -z "$archname" && archname=`arch -k` +archname=`dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null` +test -z "$archname" && archname=`uname -m 2>/dev/null` +test -z "$archname" && archname=`arch -k 2>/dev/null` +test -z "$archname" && archname=`arch 2>/dev/null` ARCHLIB="lib" case "x$archname" in + x*-*-*) + ARCHLIB="lib/$archname" + ;; x*x86_64*) ARCHLIB=lib64 ;;
Index: configure.in =================================================================== --- configure.in (revision 5852) +++ configure.in (revision 5853) @@ -602,10 +602,22 @@ done if [[ ! -f "$incpq/libpq-fe.h" ]]; then incpq="$incpq/pgsql" fi -if [[ -f "$incpq/libpq-fe.h" -a -f "$libpq" ]]; then - HAVE_PGSQL=yes +if [[ -f "$incpq/libpq-fe.h" ]]; then +if [[ -f "$libpq" ]]; then +HAVE_PGSQL=yes +else +SAVE_CFLAGS="$CFLAGS" +CFLAGS="$CFLAGS -I$incpq" +SAVE_LIBS="$LIBS" +LIBS="$LIBS -lpq" +AC_TRY_LINK([#include <libpq-fe.h>],[PQconnectStart("");],[HAVE_PGSQL=yes]) +LIBS="$SAVE_LIBS" +CFLAGS="$SAVE_CFLAGS" +fi +if [[ "x$HAVE_PGSQL" = "xyes" ]]; then PGSQL_INC="-I$incpq" fi +fi AC_MSG_RESULT([$HAVE_PGSQL]) fi AC_SUBST(HAVE_PGSQL)