[oe] [PATCH 1/2] jack: fix wrong configure check on the build host

Petr Štetiar ynezz at true.cz
Sat Feb 26 10:49:06 UTC 2011


| checking existing, conflicting JACK installs...
| You appear to have at least one existing installation of JACK.
| Complete or partial JACK installs exist in: /usr/lib

[...]

NOTE: package jack-0.118.0-r2: task do_configure: Failed

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 recipes/jack/files/remove-wrong-host-test.patch |   66 +++++++++++++++++++++++
 recipes/jack/jack_0.118.0.bb                    |    6 ++-
 2 files changed, 70 insertions(+), 2 deletions(-)
 create mode 100644 recipes/jack/files/remove-wrong-host-test.patch

diff --git a/recipes/jack/files/remove-wrong-host-test.patch b/recipes/jack/files/remove-wrong-host-test.patch
new file mode 100644
index 0000000..54c4a83
--- /dev/null
+++ b/recipes/jack/files/remove-wrong-host-test.patch
@@ -0,0 +1,66 @@
+| checking existing, conflicting JACK installs...
+| 
+| !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+| You appear to have at least one existing installation of JACK.
+| Complete or partial JACK installs exist in: /usr/lib
+
+[...]
+
+NOTE: package jack-0.118.0-r2: task do_configure: Failed
+
+Index: RELEASE_0_118_0/configure.ac
+===================================================================
+--- RELEASE_0_118_0.orig/configure.ac	2011-02-26 06:54:25.711716288 +0100
++++ RELEASE_0_118_0/configure.ac	2011-02-26 06:54:47.061718126 +0100
+@@ -3,51 +3,6 @@
+ 
+ AC_INIT(jackd/jackd.c)
+ 
+-
+-dnl
+-dnl Check for existing JACK installs
+-dnl 
+-
+-AC_MSG_CHECKING([existing, conflicting JACK installs])
+-not_overwriting=0
+-installs=
+-for dir in /usr/lib /usr/local/lib /opt/lib ; do
+-    if test -d $dir ; then
+-	if test $(find $dir/ -name 'libjack.*' 2>/dev/null | wc -l) -gt 0 ; then
+-	    if echo $prefix/lib | grep -vs $dir >/dev/null 2>&1 ; then
+-		not_overwriting=$(expr $not_overwriting + 1)
+-	    fi
+-	    installs="$installs $dir"
+-	fi	    
+-    fi
+-done
+-
+-if test $not_overwriting -gt 0 ; then
+-    echo 
+-    echo
+-    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+-    echo "You appear to have at least one existing installation of JACK."
+-    echo
+-    echo "Complete or partial JACK installs exist in:$installs"
+-    echo 
+-    echo "Installing this version will leave at least one of these"
+-    echo "existing installations installed and this will probably break"
+-    echo "JACK on your machine. "
+-    echo
+-    echo "Before building, you should first remove the existing JACK"
+-    echo "installation(s). "
+-    echo
+-    echo "Alternatively use ./configure --prefix=... to force overwriting"
+-    echo "the existing install."
+-    echo
+-    echo "WARNING: ON ANY DEBIAN-DERIVED DISTRIBUTION (Debian, Ubuntu etc)"
+-    echo "CHANGING THE INSTALLATION PREFIX WILL NOT PRODUCE A WORKING JACK"
+-    echo "INSTALL. Please contact the distribution packager for JACK and"
+-    echo "ask them to fix their packaging."
+-    echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+-    exit 1
+-fi
+-
+ AC_CONFIG_AUX_DIR(config)
+ AC_CANONICAL_TARGET
+ 
diff --git a/recipes/jack/jack_0.118.0.bb b/recipes/jack/jack_0.118.0.bb
index 5ca9d65..e979c7a 100644
--- a/recipes/jack/jack_0.118.0.bb
+++ b/recipes/jack/jack_0.118.0.bb
@@ -8,11 +8,13 @@ LICENSE = "GPLv2 LGPLv2.1"
 
 DEPENDS = "alsa-lib"
 
-PR = "r2"
+PR = "r3"
 
 SVNPV = "${@'${PV}'.replace('.', '_')}"
 SRCREV = "4084"
-SRC_URI = "svn://subversion.jackaudio.org/jack/tags;module=RELEASE_${SVNPV};proto=http"
+SRC_URI = "svn://subversion.jackaudio.org/jack/tags;module=RELEASE_${SVNPV};proto=http \
+           file://remove-wrong-host-test.patch \
+           "
 
 # This is not omap3 specific, but there is a strong correlation between using twl4030 and using omap3
 SRC_URI_append_omap3 = " file://jack_fix_TWL4030_alsa_capture.patch"
-- 
1.7.0.4





More information about the Openembedded-devel mailing list