Your message dated Sun, 02 Aug 2020 00:19:13 +0000
with message-id <[email protected]>
and subject line Bug#955155: fixed in pocketsphinx 0.8+5prealpha+1-12
has caused the Debian Bug report #955155,
regarding pocketsphinx FTCBFS: uses the build architecture pkg-config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
955155: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955155
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pocketsphinx
Version: 0.8+5prealpha+1-11
Tags: patch upstream
User: [email protected]
Usertags: ftcbfs

pocketsphinx fails to cross build from source. One reason is that it
uses the build architecture pkg-config via AC_CHECK_PROG. The attached
patch replaces the use with PKG_PROG_PKG_CONFIG.

Another reason is that configure.ac decides that during cross
compilation, it should skip the gstreamer stuff (search for
AM_CONDITIONAL and BUILD_GST). Thus dh_install complains about missing
files. I think this upstream choice is unfortunate. I think upstream
should leave that choice to users (e.g. using an AC_ARG_WITH). Thus
users could enable it despite cross compilation. Do you think that would
work with upstream? It could look like:

AC_ARG_WITH(gstreamer, AS_HELP_STRING([--with-gstreamer],[Enable GStreamer 
plugin, autodetect unless cross building]))
AS_IF([test "x$with_gstreamer" != xno],[
  PKG_CHECK_MODULES(GStreamer, ..., HAVE_GST=yes, HAVE_GST=no)
  AS_IF([test "x$with_gstreamer" = xyes && test "$HAVE_GST" = no],[
    AC_MSG_ERROR(["gstreamer not found])])
])
AM_CONDITIONAL(BUILD_GST, test "x$with_gstreamer" != xno && test "$HAVE_GST" = 
yes && { test "x$with_gstreamer" = yes || test "$cross_compiling" = no; })

Even after enabling BUILD_GST, the cross build fails, because
dh_gstscancodecs does not work during cross building (even though the
plugin was successfully cross built). We don't presently have a solution
to this.

Please consider applying the attached patch to fix the pkg-config issue.
Please consider talking to upstream and propose the --with-gstreamer
switch to allow cross building the gstreamer plugin and unconditionally
pass --with-gstreamer to the build if that was successful. Please close
this bug even if pocketsphinx fails in dh_gstscancodecs.

Helmut
--- pocketsphinx-0.8+5prealpha+1.orig/configure.ac
+++ pocketsphinx-0.8+5prealpha+1/configure.ac
@@ -18,7 +18,7 @@
 dnl
 dnl Check for pkgconfig
 dnl
-AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
+PKG_PROG_PKG_CONFIG
 
 dnl
 dnl Check for Doxygen, and build dox if present
@@ -117,7 +118,7 @@
 if test x$sphinxbase = x || test x$sphinxbase = xauto; then
    sphinxbase=
 
-   if test "x$HAVE_PKGCONFIG" = "xno"; then
+   if test "x$PKG_CONFIG" = "x"; then
       SPHINXBASE_CFLAGS = "-I/usr/include/sphinxbase -I/usr/local/include/sphinxbase"
       SPHINXBASE_LIBS = "-lsphinxbase"
       SPHINXBASE_PREFIX="/usr/local"
@@ -128,7 +128,7 @@
 Make sure that you have installed it and that the
 PKG_CONFIG_PATH environment variable is set correctly, if
 it was installed in a non-standard prefix.])])
-      SPHINXBASE_PREFIX=`pkg-config --variable=prefix sphinxbase`
+      SPHINXBASE_PREFIX=`$PKG_CONFIG --variable=prefix sphinxbase`
    fi
    
    LIBS="$LIBS $SPHINXBASE_LIBS"

--- End Message ---
--- Begin Message ---
Source: pocketsphinx
Source-Version: 0.8+5prealpha+1-12
Done: Samuel Thibault <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pocketsphinx, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Samuel Thibault <[email protected]> (supplier of updated pocketsphinx 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sun, 02 Aug 2020 01:51:26 +0200
Source: pocketsphinx
Binary: gstreamer1.0-pocketsphinx gstreamer1.0-pocketsphinx-dbgsym 
libpocketsphinx-dev libpocketsphinx3 libpocketsphinx3-dbgsym pocketsphinx 
pocketsphinx-dbgsym pocketsphinx-en-us pocketsphinx-testdata swig-pocketsphinx
Architecture: source
Version: 0.8+5prealpha+1-12
Distribution: unstable
Urgency: medium
Maintainer: Debian Accessibility Team <[email protected]>
Changed-By: Samuel Thibault <[email protected]>
Description:
 gstreamer1.0-pocketsphinx - Speech recognition tool - GStreamer plugin
 libpocketsphinx-dev - Speech recognition tool - front-end library development 
files
 libpocketsphinx3 - Speech recognition tool - front-end library
 pocketsphinx - Speech recognition tool
 pocketsphinx-en-us - Speech recognition tool - US English language model
 pocketsphinx-testdata - Speech recognition tool - test data for pocketsphinx
 swig-pocketsphinx - Speech recognition tool - pocketsphinx swig helpers
Closes: 955155 964068
Changes:
 pocketsphinx (0.8+5prealpha+1-12) unstable; urgency=medium
 .
   * patches/pkg-config: Fix detecting pkg-config in cross-compilation case
     (closes: #955155)
   * control: Update alioth list domain.
   * Move tests patches from patches to tests-patches.
   * control: Recommend pocketsphinx-en-us instead of the retired models
     (closes: #964068).
   * control: Bump Standards-Version to 4.5.0 (no change)
Checksums-Sha1:
 4c41e22cbc7ef8bffd62f90d559c01ae1703b021 2703 
pocketsphinx_0.8+5prealpha+1-12.dsc
 120daa4f0489b73c038968d2e83a97e7be49c16a 8016 
pocketsphinx_0.8+5prealpha+1-12.debian.tar.xz
Checksums-Sha256:
 24e2d41c3a5d014bd601c8ef815dde668815c226b7dc09aca29aeef105b9469b 2703 
pocketsphinx_0.8+5prealpha+1-12.dsc
 77fdb6f6f340cce77620811b9b720565a9245aa7024ae55240ccfc0fd8c4a502 8016 
pocketsphinx_0.8+5prealpha+1-12.debian.tar.xz
Files:
 ccf60fc993c90c7cf53ef0ecbabe2a5f 2703 sound optional 
pocketsphinx_0.8+5prealpha+1-12.dsc
 79703cf45b3578a9cdd321481e468ddc 8016 sound optional 
pocketsphinx_0.8+5prealpha+1-12.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEXtnoVvfWxur1EWehjTXDVXILuv0FAl8mAp8ACgkQjTXDVXIL
uv0wrw//QDGUV0ekklIJqHSFvPrddSeiv1IKxpISiuQeFoNRnRPjfn9YxK/W5WVd
Wwieer33uIV5MS6uY60KqkhxYJkm2FviFXfY5khLJLbhd+W0HO2DNi2QaDLeroCo
NTUI9TQEq3+sat6KZd2OUJnwv7IP+OZpqxxw+OLRAwNvXNE8Lsj5ZQcApq6m0nJy
SwjX3qvM0XROpPR9rVKdEYxjK4Re0lOdK1rWskKTstzQ0LkiYcgt/hEeeiFZ0wYT
GXv6k0ODsWXyby0DVxz1Nx4QFGFP9ABsDN8g1jZ0EPXuT4/CTl/0Kk3bdzd7BS0+
r60ltpUE2wHSyx+8XfhUx5fP0GFnhrCyn9jdSomo+DBJd7EpTDGAtBsimuUzZXlL
8Wjfyju76TRXYfjEgO9QEV/fC6sQEb6ExBWzoMxQ38d0j1b1wLhIF6MWGHToZ1SJ
eED+ISESOVTiWR/BBnFqF/qP7ZbYa0hgDdAiyLFMmGSlED1/o+V5lRAgGwiDVr3T
UUxuJ8QYqQxRj2eSvlZT2RdBVtBs6RRPn4Wa+xHXi0PFikwQqkJRkXm1jaQbhd4u
gVI8CCjPd1mnmIf6hr4DpiKXkQN0IpbuKcn+l+DV8sd74mABfVM90xBP/1pFL0nz
tnukBOPL8ZFQzLwHNtzsVJ5o46AbgQ85MAi4u/4e8neXjvxoDcc=
=29rN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to