[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#850463: marked as done (audacity FTCBFS: wrong use of AC_CHECK_FILE)



Your message dated Wed, 06 May 2020 22:33:30 +0000
with message-id <E1jWSba-0000NF-Tc@fasolo.debian.org>
and subject line Bug#850463: fixed in audacity 2.3.3-2
has caused the Debian Bug report #850463,
regarding audacity FTCBFS: wrong use of AC_CHECK_FILE
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 owner@bugs.debian.org
immediately.)


-- 
850463: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=850463
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: audacity
Version: 2.1.2-2
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

audacity fails to cross build from source, because it uses AC_CHECK_FILE
to examine the build system. AC_CHECK_FILE should only be used for
examining the host system and thus fails during cross builds. The
attached patch fixes the wrong uses of AC_CHECK_FILE and makes the cross
build continue until it runs into #850461. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru audacity-2.1.2/debian/changelog audacity-2.1.2/debian/changelog
--- audacity-2.1.2/debian/changelog	2016-11-24 21:20:12.000000000 +0100
+++ audacity-2.1.2/debian/changelog	2017-01-06 13:19:09.000000000 +0100
@@ -1,3 +1,11 @@
+audacity (2.1.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Coses: #-1)
+    - cross.patch: Fix wrong use of AC_CHECK_FILE
+
+ -- Helmut Grohne <helmut@subdivi.de>  Fri, 06 Jan 2017 13:19:09 +0100
+
 audacity (2.1.2-2) unstable; urgency=medium
 
   [ Mateusz Å?ukasik ]
diff --minimal -Nru audacity-2.1.2/debian/patches/cross.patch audacity-2.1.2/debian/patches/cross.patch
--- audacity-2.1.2/debian/patches/cross.patch	1970-01-01 01:00:00.000000000 +0100
+++ audacity-2.1.2/debian/patches/cross.patch	2017-01-06 13:19:09.000000000 +0100
@@ -0,0 +1,422 @@
+From: Helmut Grohne <helmut@subdivi.de>
+Subject: fix wrong use of AC_CHECK_FILE
+
+AC_CHECK_FILE is meant to examine the host system. For examining the build
+system simply test should be used instead.
+
+Index: audacity-2.1.2/m4/audacity_checklib_libexpat.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libexpat.m4
++++ audacity-2.1.2/m4/audacity_checklib_libexpat.m4
+@@ -42,13 +42,11 @@
+ 
+    dnl see if expat is available in the local tree
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/expat/lib/expat.h,
+-                 EXPAT_LOCAL_AVAILABLE="yes",
+-                 EXPAT_LOCAL_AVAILABLE="no")
+-
+-   if test "$EXPAT_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/expat/lib/expat.h"; then
++      EXPAT_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([Expat libraries are available in the local tree])
+    else
++      EXPAT_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([Expat libraries are NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_ffmpeg.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_ffmpeg.m4
++++ audacity-2.1.2/m4/audacity_checklib_ffmpeg.m4
+@@ -35,13 +35,17 @@
+ 
+    dnl see if ffmpeg is available locally, or rather that we have some headers
+    dnl in lib-src/ffmpeg/ we can use.
+-   AC_CHECK_FILE(${srcdir}/lib-src/ffmpeg/libavcodec/avcodec.h,
+-                 avcodec_h_found="yes",
+-                 avcodec_h_found="no")
++   if test -f "${srcdir}/lib-src/ffmpeg/libavcodec/avcodec.h"; then
++      avcodec_h_found="yes"
++   else
++      avcodec_h_found="no"
++   fi
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/ffmpeg/libavformat/avformat.h,
+-                 avformat_h_found="yes",
+-                 avformat_h_found="no")
++   if test -f "${srcdir}/lib-src/ffmpeg/libavformat/avformat.h"; then
++      avformat_h_found="yes"
++   else
++      avformat_h_found="no"
++   fi
+ 
+    if test "$avcodec_h_found" = "yes" -a "$avformat_h_found" = "yes"; then
+       FFMPEG_LOCAL_AVAILABLE="yes"
+Index: audacity-2.1.2/m4/audacity_checklib_lame.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_lame.m4
++++ audacity-2.1.2/m4/audacity_checklib_lame.m4
+@@ -33,13 +33,11 @@
+ 
+    dnl see if LAME is available in the source dir
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/lame/lame/lame.h,
+-                 LAME_LOCAL_AVAILABLE="yes",
+-                 LAME_LOCAL_AVAILABLE="no")
+-
+-   if test "$LAME_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/lame/lame/lame.h"; then
++      LAME_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([LAME headers are available in this source tree.])
+    else
++      LAME_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([LAME headers are NOT available in this source tree.])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_libflac.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libflac.m4
++++ audacity-2.1.2/m4/audacity_checklib_libflac.m4
+@@ -38,13 +38,17 @@
+ 
+    dnl see if FLAC is available in the source dir
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libflac/include/FLAC/format.h,
+-                 flac_h_available="yes",
+-                 flac_h_available="no")
++   if test -f "${srcdir}/lib-src/libflac/include/FLAC/format.h"; then
++      flac_h_available="yes"
++   else
++      flac_h_available="no"
++   fi
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libflac/include/FLAC++/decoder.h,
+-                 flacpp_h_available="yes",
+-                 flacpp_h_available="no")
++   if test -f "${srcdir}/lib-src/libflac/include/FLAC++/decoder.h"; then
++      flacpp_h_available="yes"
++   else
++      flacpp_h_available="no"
++   fi
+ 
+    if test "$flac_h_available" = "yes" -a "$flacpp_h_available" = "yes"; then
+       LIBFLAC_LOCAL_AVAILABLE="yes"
+Index: audacity-2.1.2/m4/audacity_checklib_libid3tag.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libid3tag.m4
++++ audacity-2.1.2/m4/audacity_checklib_libid3tag.m4
+@@ -25,13 +25,11 @@
+ 
+    dnl see if libid3tag is available in the local tree
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libid3tag/frame.h,
+-                 LIBID3TAG_LOCAL_AVAILABLE="yes",
+-                 LIBID3TAG_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBID3TAG_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/libid3tag/frame.h"; then
++      LIBID3TAG_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([libid3tag libraries are available in the local tree])
+    else
++      LIBID3TAG_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libid3tag libraries are NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_libmad.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libmad.m4
++++ audacity-2.1.2/m4/audacity_checklib_libmad.m4
+@@ -34,13 +34,11 @@
+ 
+    dnl see if libmad is available in the local tree
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libmad/frame.h,
+-                 LIBMAD_LOCAL_AVAILABLE="yes",
+-                 LIBMAD_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBMAD_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/libmad/frame.h"; then
++      LIBMAD_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([libmad libraries are available in the local tree])
+    else
++      LIBMAD_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libmad libraries are NOT available in the local tree])
+    fi
+    LIBMAD_MIMETYPES="audio/mpeg;"
+Index: audacity-2.1.2/m4/audacity_checklib_libnyquist.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libnyquist.m4
++++ audacity-2.1.2/m4/audacity_checklib_libnyquist.m4
+@@ -17,13 +17,11 @@
+ 
+    dnl see if Nyquist is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libnyquist/nyx.h,
+-                 LIBNYQUIST_LOCAL_AVAILABLE="yes",
+-                 LIBNYQUIST_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBNYQUIST_LOCAL_AVAILABLE" = "yes" ; then
++   if test -f "${srcdir}/lib-src/libnyquist/nyx.h"; then
++      LIBNYQUIST_USE_LOCAL="yes"
+       AC_MSG_NOTICE([nyquist libraries are available in the local tree])
+    else
++      LIBNYQUIST_USE_LOCAL="no"
+       AC_MSG_NOTICE([nyquist libraries are NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_libsbsms.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libsbsms.m4
++++ audacity-2.1.2/m4/audacity_checklib_libsbsms.m4
+@@ -25,15 +25,13 @@
+ 
+    dnl see if libsbsms is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/sbsms/include/sbsms.h,
+-                 LIBSBSMS_LOCAL_AVAILABLE="yes",
+-                 LIBSBSMS_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBSBSMS_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/sbsms/include/sbsms.h"; then
++      LIBSBSMS_LOCAL_AVAILABLE="yes"
+       dnl do not build programs we don't need
+       LIBSBSMS_LOCAL_CONFIGURE_ARGS="--disable-programs"
+       AC_MSG_NOTICE([libsbsms libraries are available in the local tree])
+    else
++      LIBSBSMS_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libsbsms libraries are NOT available in the local tree])
+    fi
+ 
+Index: audacity-2.1.2/m4/audacity_checklib_libsndfile.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libsndfile.m4
++++ audacity-2.1.2/m4/audacity_checklib_libsndfile.m4
+@@ -25,11 +25,8 @@
+ 
+    dnl see if libsndfile is available in the local tree
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libsndfile/src/sndfile.h.in,
+-                 LIBSNDFILE_LOCAL_AVAILABLE="yes",
+-                 LIBSNDFILE_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBSNDFILE_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/libsndfile/src/sndfile.h.in"; then
++      LIBSNDFILE_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([libsndfile libraries are available in this source tree])
+ 
+       dnl These must be visible so libvamp and sbsms can find us
+@@ -39,6 +36,7 @@
+       dnl Temporary fix for bug #248
+       LIBSNDFILE_LOCAL_CONFIGURE_ARGS="--disable-sqlite --disable-external-libs --disable-alsa"
+    else
++      LIBSNDFILE_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libsndfile libraries are NOT available in this source tree])
+    fi
+    LIBSNDFILE_MIMETYPES="audio/basic;audio/x-aiff;audio/x-wav;"
+Index: audacity-2.1.2/m4/audacity_checklib_libsoundtouch.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libsoundtouch.m4
++++ audacity-2.1.2/m4/audacity_checklib_libsoundtouch.m4
+@@ -40,13 +40,11 @@
+ 
+    dnl see if libsoundtouch is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/soundtouch/include/SoundTouch.h,
+-                 LIBSOUNDTOUCH_LOCAL_AVAILABLE="yes",
+-                 LIBSOUNDTOUCH_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBSOUNDTOUCH_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/soundtouch/include/SoundTouch.h"; then
++      LIBSOUNDTOUCH_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([libsoundtouch libraries are available in the local tree])
+    else
++      LIBSOUNDTOUCH_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libsoundtouch libraries are NOT available in the local tree])
+    fi
+ 
+Index: audacity-2.1.2/m4/audacity_checklib_libsoxr.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libsoxr.m4
++++ audacity-2.1.2/m4/audacity_checklib_libsoxr.m4
+@@ -25,16 +25,14 @@
+ 
+    dnl see if libsoxr is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libsoxr/src/soxr.h,
+-                 LIBSOXR_LOCAL_AVAILABLE="yes",
+-                 LIBSOXR_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBSOXR_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/libsoxr/src/soxr.h"; then
++      LIBSOXR_LOCAL_AVAILABLE="yes"
+       # Breaks other other libraries in Audacity tree; but why is ./configure
+       # passing options specific to this library to other libraries?
+       #LIBSOXR_LOCAL_CONFIGURE_ARGS="\"-DBUILD_SHARED_LIBS=OFF -DWITH_OPENMP=OFF\""
+       AC_MSG_NOTICE([libsoxr libraries are available in the local tree])
+    else
++      LIBSOXR_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libsoxr libraries are NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_libtwolame.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libtwolame.m4
++++ audacity-2.1.2/m4/audacity_checklib_libtwolame.m4
+@@ -25,15 +25,13 @@
+ 
+    dnl see if libtwolame is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/twolame/libtwolame/twolame.h,
+-                 LIBTWOLAME_LOCAL_AVAILABLE="yes",
+-                 LIBTWOLAME_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBTWOLAME_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/twolame/libtwolame/twolame.h"; then
++      LIBTWOLAME_LOCAL_AVAILABLE="yes"
+       dnl disable programs we don't need to build
+       LIBTWOLAME_LOCAL_CONFIGURE_ARGS="--disable-programs"
+       AC_MSG_NOTICE([libtwolame library is available in the local tree])
+    else
++      LIBTWOLAME_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libtwolame library is NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_libvamp.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libvamp.m4
++++ audacity-2.1.2/m4/audacity_checklib_libvamp.m4
+@@ -25,14 +25,12 @@
+ 
+    dnl see if Vamp is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libvamp/vamp-hostsdk/PluginLoader.h,
+-                 LIBVAMP_LOCAL_AVAILABLE="yes",
+-                 LIBVAMP_LOCAL_AVAILABLE="no")
+-
+-   if test "$LIBVAMP_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/libvamp/vamp-hostsdk/PluginLoader.h"; then
++      LIBVAMP_LOCAL_AVAILABLE="yes"
+       LIBVAMP_LOCAL_CONFIGURE_ARGS="--disable-programs"
+       AC_MSG_NOTICE([Vamp libraries are available in the local tree])
+    else
++      LIBVAMP_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([Vamp libraries are NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_libvorbis.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_libvorbis.m4
++++ audacity-2.1.2/m4/audacity_checklib_libvorbis.m4
+@@ -30,13 +30,17 @@
+ 
+    dnl see if Vorbis is available in the source dir
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libvorbis/include/vorbis/vorbisenc.h,
+-                 vorbisenc_h_available="yes",
+-                 vorbisenc_h_available="no")
++   if test -f "${srcdir}/lib-src/libvorbis/include/vorbis/vorbisenc.h"; then
++      vorbisenc_h_available="yes"
++   else
++      vorbisenc_h_available="no"
++   fi
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/libogg/include/ogg/ogg.h,
+-                 ogg_h_available="yes",
+-                 ogg_h_available="no")
++   if test -f "${srcdir}/lib-src/libogg/include/ogg/ogg.h"; then
++      ogg_h_available="yes"
++   else
++      ogg_h_available="no"
++   fi
+ 
+    if test "$vorbisenc_h_available" = "yes" -a "$ogg_h_available" = "yes"; then
+       LIBVORBIS_LOCAL_AVAILABLE="yes"
+Index: audacity-2.1.2/m4/audacity_checklib_lv2.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_lv2.m4
++++ audacity-2.1.2/m4/audacity_checklib_lv2.m4
+@@ -25,13 +25,11 @@
+ 
+    dnl see if LV2 is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/lv2/configure,
+-                 LV2_LOCAL_AVAILABLE="yes",
+-                 LV2_LOCAL_AVAILABLE="no")
+-
+-   if test "$LV2_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/lv2/configure"; then
++      LV2_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([LV2 libraries are available in the local tree])
+    else
++      LV2_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([LV2 libraries are NOT available in the local tree])
+    fi
+ 
+Index: audacity-2.1.2/m4/audacity_checklib_portaudio.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_portaudio.m4
++++ audacity-2.1.2/m4/audacity_checklib_portaudio.m4
+@@ -31,17 +31,15 @@
+ 
+    dnl see if portaudio is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/portaudio-v19/include/portaudio.h,
+-                 PORTAUDIO_LOCAL_AVAILABLE="yes",
+-                 PORTAUDIO_LOCAL_AVAILABLE="no")
+-
+-   if test "$PORTAUDIO_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/portaudio-v19/include/portaudio.h"; then
++      PORTAUDIO_LOCAL_AVAILABLE="yes"
+       dnl We need to override the pkg-config check for portmixer by passing
+       dnl PORTAUDIO_CFLAGS and PORTAUDIO_LIBS to the configure script of portmixer.
+       pa_dir="$(pwd)/${srcdir}/lib-src/portaudio-v19"      
+       PORTAUDIO_LOCAL_CONFIGURE_ARGS="PORTAUDIO_CFLAGS=-I${pa_dir}/include PORTAUDIO_LIBS=${pa_dir}/lib/libportaudio.la"
+       AC_MSG_NOTICE([portaudio19 library is available in the local tree])
+    else
++      PORTAUDIO_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([portaudio19 library is NOT available in the local tree])
+    fi
+ 
+Index: audacity-2.1.2/m4/audacity_checklib_portsmf.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_portsmf.m4
++++ audacity-2.1.2/m4/audacity_checklib_portsmf.m4
+@@ -24,13 +24,11 @@
+       AC_MSG_NOTICE([portSMF library is NOT available as system library])
+    fi
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/portsmf/allegro.h,
+-                 PORTSMF_LOCAL_AVAILABLE="yes",
+-                 PORTSMF_LOCAL_AVAILABLE="no")
+-
+-   if test "$PORTSMF_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/portsmf/allegro.h"; then
++      PORTSMF_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([portSMF library is available in the local tree])
+    else
++      PORTSMF_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([portSMF library is NOT available in the local tree])
+    fi
+ ])
+Index: audacity-2.1.2/m4/audacity_checklib_widgetextra.m4
+===================================================================
+--- audacity-2.1.2.orig/m4/audacity_checklib_widgetextra.m4
++++ audacity-2.1.2/m4/audacity_checklib_widgetextra.m4
+@@ -28,13 +28,11 @@
+ 
+    dnl see if libwidgetextra is available locally
+ 
+-   AC_CHECK_FILE(${srcdir}/lib-src/lib-widget-extra/NonGuiThread.h,
+-                 WIDGETEXTRA_LOCAL_AVAILABLE="yes",
+-                 WIDGETEXTRA_LOCAL_AVAILABLE="no")
+-
+-   if test "$WIDGETEXTRA_LOCAL_AVAILABLE" = "yes"; then
++   if test -f "${srcdir}/lib-src/lib-widget-extra/NonGuiThread.h"; then
++      WIDGETEXTRA_LOCAL_AVAILABLE="yes"
+       AC_MSG_NOTICE([libwidgetextra library is available in the local tree])
+    else
++      WIDGETEXTRA_LOCAL_AVAILABLE="no"
+       AC_MSG_NOTICE([libwidgetextra library is NOT available in the local tree])
+    fi
+ ])
diff --minimal -Nru audacity-2.1.2/debian/patches/series audacity-2.1.2/debian/patches/series
--- audacity-2.1.2/debian/patches/series	2016-11-24 16:12:32.000000000 +0100
+++ audacity-2.1.2/debian/patches/series	2017-01-06 13:19:09.000000000 +0100
@@ -1,3 +1,4 @@
 fix-minsrc-autoreconf.patch
 workaround-wxwidgets-fit-recovery.patch
 fix-gcc6-ftbfs.patch
+cross.patch

--- End Message ---
--- Begin Message ---
Source: audacity
Source-Version: 2.3.3-2
Done: Dennis Braun <d_braun@kabelmail.de>

We believe that the bug you reported is fixed in the latest version of
audacity, 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 850463@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dennis Braun <d_braun@kabelmail.de> (supplier of updated audacity 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 ftpmaster@ftp-master.debian.org)


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

Format: 1.8
Date: Sat, 02 May 2020 02:53:01 +0200
Source: audacity
Architecture: source
Version: 2.3.3-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Multimedia Maintainers <debian-multimedia@lists.debian.org>
Changed-By: Dennis Braun <d_braun@kabelmail.de>
Closes: 850463
Changes:
 audacity (2.3.3-2) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #850463)
    + cross.patch: Fix wrong use of AC_CHECK_FILE
 .
   [ Dennis Braun ]
   * d/audacity.install: Add /usr/share/metainfo
   * d/audacity.lintian-overrides: Drop, obsolete
   * d/control:
     + Bump Standards-Version to 4.5.0
     + Bump dh-compat to 13
     + Add me as an uploader
     + Set RRR: no
   * d/copyright:
     + Remove a lot of unused entries
     + Get rid of CC-BY with no version, use CC-BY-3.0 instead,
       like LICENSE.txt says
     + Add CC0-1.0 license for appdata
   * Add d/not-installed
   * Add d/upstream/metadata
Checksums-Sha1:
 b38b1ebe142f4a5948f0a26cc2c7107e7404ca12 2669 audacity_2.3.3-2.dsc
 3858e873e222d5c1f767d4bbc6b05757ca20e055 38844 audacity_2.3.3-2.debian.tar.xz
Checksums-Sha256:
 8b428264d3a247c6ae30b7a44dfec14bd875fdad8a96da753a4a6fed0ed53732 2669 audacity_2.3.3-2.dsc
 b075cc9aab60377e6f0a66795f2204ca58720e9c986d66e9b91bd0436c68d0d4 38844 audacity_2.3.3-2.debian.tar.xz
Files:
 5f31e7f9db95e7cd6274e30fe45f586f 2669 sound optional audacity_2.3.3-2.dsc
 87a9726d162a466ca5f59f9c225e1b07 38844 sound optional audacity_2.3.3-2.debian.tar.xz

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

iQIzBAEBCgAdFiEE94y6B4F7sUmhHTOQafL8UW6nGZMFAl6zNpUACgkQafL8UW6n
GZM+uRAAyc1fOLkns0X5J7oUpU8eTad1CRh5j/ilNUJ5IPlhvt70U/x7JeQ7WIZJ
SRuFSr2jS9A4sk1Hyp664wV01V2+If7uffAu6gMnMCiJahkzeiAbF1fphpwMXRux
wx+Viu2FRg6PcTKhYo14UeUt1ju/nrdisYtlUZs6xZevLRLIpVCnX/RkjAxNdltv
RHYKQkAJHDeNaoUOg9eU2TgWYp+HE+QXyE1OSCfCFGunOOO9wjcYblythXAkxWkv
+oUpqlRzUmC61g2EtFQyjv7jLp8ZO37t9rwwZNhwvPXKKk+mG8bPATz1sD+tDlxV
4euI8F9qgKc/vclBQDQ+So+GoHjPIr+2Ojhd39e3cn9pXqr71otzfW+Tkunav7W2
u/TbhXSbB376ST68BvO2FMMigpqumZdwQT5JQ3zHoreqVFawnP34rG7Wyuo2dAJ1
932D1y/ibmH30Mo/WC9jBJAyTb/NH2s8roEBKsAhF4nY0woh+JVymKLF3wognFAu
/T5xJ6wFsKWrUoaYErVckDKjwKq413OEqFdo0VGEFlOWdQxBtqtag6tC17w+Qwzg
qRTY4cZJIiWzrb1VZmxlwXMgYuN0x1PVb0Wf8WIjbn2gd0up/t2Nyw6A/A8UwkSD
VPGZ+6vp82ux0OzcMnep8ccs2Y/qAk8tlmV6jzAXPlu4WZIZWO4=
=l+Ot
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: