[poky] [PATCH 08/14] alsa-utils: upgrade to version 1.0.24.2
Xu, Dongxiao
dongxiao.xu at intel.com
Tue Apr 19 23:14:37 PDT 2011
Thanks Saul, I have reproduced this issue by building libsamplerate0 firstly.
Dongxiao
> -----Original Message-----
> From: Saul Wold [mailto:sgw at linux.intel.com]
> Sent: Tuesday, April 19, 2011 7:39 AM
> To: Xu, Dongxiao
> Cc: poky at yoctoproject.org
> Subject: Re: [poky] [PATCH 08/14] alsa-utils: upgrade to version 1.0.24.2
>
> On 04/17/2011 11:40 PM, Xu, Dongxiao wrote:
> > Hi Saul,
> >
> > On which platform do you meet the compile error with this patch?
> >
> > I just re-checked the 4 architecture and they build all well.
> >
> Really, are you sure you are building the same thing? I just rebuild and think I
> understand what's happened. I happened to build world which build
> libsamplerate0 before alsa-utils, now there is not a direct dependency, but
> alsa-utils will configure different with and without libsamplerate0.
>
> I think we want it to DEPEND on libsamplerate0 for better tooling/utils, this is
> what then causes the failure, which requires the newer version of
> libsamplerate0.
>
> I hope that makes more sense now.
>
> Sau!
>
> Failre with libsamplerate0 built before alsa-utils.
>
> i586-poky-linux-gcc -march=i586
> --sysroot=/intel/poky2/builds/alsa/tmp/sysroots/qemux86 -O2 -pipe -g
> -feliminate-unused-debug-types -D_GNU_SOURCE -Wl,-O1 -Wl,--as-needed
> -o alsaloop alsaloop.o pcmjob.o control.o -lm -lsamplerate -lasound -lm -ldl
> -lpthread
> | pcmjob.o: In function `buf_add_src':
> |
> /intel/poky2/builds/alsa/tmp/work/i586-poky-linux/alsa-utils-1.0.24.2-r0/alsa-u
> tils-1.0.24.2/alsaloop/pcmjob.c:514:
> undefined reference to `src_int_to_float_array'
> |
> /intel/poky2/builds/alsa/tmp/work/i586-poky-linux/alsa-utils-1.0.24.2-r0/alsa-u
> tils-1.0.24.2/alsaloop/pcmjob.c:552:
> undefined reference to `src_float_to_int_array'
> | collect2: ld returned 1 exit status
> | make[1]: *** [alsaloop] Error 1
> | make[1]: Leaving directory
> `/intel/poky2/builds/alsa/tmp/work/i586-poky-linux/alsa-utils-1.0.24.2-r0/alsa-
> utils-1.0.24.2/alsaloop'
> | make: *** [all-recursive] Error 1
> | FATAL: oe_runmake failed
> | ERROR: Function 'do_compile' failed (see
> /intel/poky2/builds/alsa/tmp/work/i586-poky-linux/alsa-utils-1.0.24.2-r0/temp/
> log.do_compile.6135
> for further information)
> NOTE: package alsa-utils-1.0.24.2-r0: task do_compile: Failed
> ERROR: Task 7
> (/intel/poky2/master2/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb,
> do_compile) failed with exit code '1'
>
>
> > Thanks,
> > Dongxiao
> >
> >> -----Original Message-----
> >> From: Wold, Saul
> >> Sent: Saturday, April 16, 2011 2:21 PM
> >> To: Xu, Dongxiao
> >> Cc: poky at yoctoproject.org
> >> Subject: Re: [poky] [PATCH 08/14] alsa-utils: upgrade to version
> >> 1.0.24.2
> >>
> >>
> >> There seems to be a problem with this patch, I was not able to
> >> compile it correctly, it had undefined functions that I tracked to a
> >> newer version of libsamplerate0. Please correct this issue.
> >>
> >> Thanks
> >> Sau!
> >>
> >>
> >> On 04/14/2011 10:36 PM, Dongxiao Xu wrote:
> >>> From: Dongxiao Xu<dongxiao.xu at intel.com>
> >>>
> >>> Signed-off-by: Dongxiao Xu<dongxiao.xu at intel.com>
> >>> ---
> >>> .../ncursesfix.patch | 22
> >> ++++++++++---------
> >>> ...alsa-utils_1.0.23.bb => alsa-utils_1.0.24.2.bb} | 4 +-
> >>> 2 files changed, 14 insertions(+), 12 deletions(-)
> >>> rename meta/recipes-multimedia/alsa/{alsa-utils-1.0.23 =>
> >> alsa-utils-1.0.24.2}/ncursesfix.patch (70%)
> >>> rename meta/recipes-multimedia/alsa/{alsa-utils_1.0.23.bb =>
> >>> alsa-utils_1.0.24.2.bb} (95%)
> >>>
> >>> diff --git
> >>> a/meta/recipes-multimedia/alsa/alsa-utils-1.0.23/ncursesfix.patch
> >>> b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch
> >>> similarity index 70%
> >>> rename from
> >>> meta/recipes-multimedia/alsa/alsa-utils-1.0.23/ncursesfix.patch
> >>> rename to
> >>> meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.patch
> >>> index 0009c1a..9936ded 100644
> >>> ---
> >>> a/meta/recipes-multimedia/alsa/alsa-utils-1.0.23/ncursesfix.patch
> >>> +++ b/meta/recipes-multimedia/alsa/alsa-utils-1.0.24.2/ncursesfix.pa
> >>> +++ tc
> >>> +++ h
> >>> @@ -1,11 +1,13 @@
> >>> -# alsa-utils: Fix ncurses build failures -# Richard
> >>> Purdie<rpurdie at linux.intel.com> -# Rebased to 1.0.23, Dongxiao
> >>> Xu<dongxiao.xu at intel.com>
> >>> +Rebase the patch to fit 1.0.24.2
> >>>
> >>> -diff -ruN alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in
> >>> ---- alsa-utils-1.0.23-orig/configure.in 2010-04-16 19:19:12.000000000
> +0800
> >>> -+++ alsa-utils-1.0.23/configure.in 2010-06-22 15:22:06.731202478 +0800
> >>> -@@ -109,34 +109,16 @@
> >>> +Upstream-Status: Inappropriate [configuration]
> >>> +
> >>> +Signed-off-by: Dongxiao Xu<dongxiao.xu at intel.com>
> >>> +
> >>> +diff -ruN alsa-utils-1.0.24.2-orig//configure.in
> alsa-utils-1.0.24.2/configure.in
> >>> +--- alsa-utils-1.0.24.2-orig//configure.in 2011-04-13
> 13:51:20.337665010
> >> +0800
> >>> ++++ alsa-utils-1.0.24.2/configure.in 2011-04-13 13:51:54.437664986
> +0800
> >>> +@@ -127,34 +127,16 @@
> >>> NCURSESLIBSUFFIX=""
> >>> CURSES_NLS="no"
> >>> if test "$curseslib" = "ncursesw" -o \( "$curseslib" = "auto"
> >>> -a "$USE_NLS" = "yes" \); then @@ -17,7 +19,7 @@ diff -ruN
> >> alsa-utils-1.0.23-orig/configure.in alsa-utils-1.0.23/configure.in
> >>> - CURSES_CFLAGS=`ncursesw5-config --cflags`
> >>> - curseslib="ncursesw"
> >>> - else
> >>> - AC_CHECK_LIB(ncursesw, initscr,
> >>> + AC_CHECK_LIB(ncursesw, initscr,
> >>> [ CURSESINC='<ncurses.h>';
> >> CURSESLIB='-lncursesw'; curseslib="ncursesw"])
> >>> - fi
> >>> if test -n "$CURSESINC"; then @@ -34,9 +36,9 @@ diff -ruN
> >>> alsa-utils-1.0.23-orig/configure.in
> >> alsa-utils-1.0.23/configure.in
> >>> - CURSES_CFLAGS=`ncurses5-config --cflags`
> >>> - curseslib="ncurses"
> >>> - else
> >>> - AC_CHECK_LIB(ncurses, initscr,
> >>> + AC_CHECK_LIB(ncurses, initscr,
> >>> [ CURSESINC='<ncurses.h>';
> >>> CURSESLIB='-lncurses';
> >> curseslib="ncurses"])
> >>> - fi
> >>> fi
> >>> if test "$curseslib" = "curses" -o "$curseslib" = "auto"; then
> >>> - AC_CHECK_LIB(curses, initscr,
> >>> + AC_CHECK_LIB(curses, initscr,
> >>> diff --git a/meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb
> >>> b/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb
> >>> similarity index 95%
> >>> rename from meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb
> >>> rename to meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb
> >>> index 46283cc..953a3ac 100644
> >>> --- a/meta/recipes-multimedia/alsa/alsa-utils_1.0.23.bb
> >>> +++ b/meta/recipes-multimedia/alsa/alsa-utils_1.0.24.2.bb
> >>> @@ -11,8 +11,8 @@ PR = "r0"
> >>> SRC_URI = "ftp://ftp.alsa-project.org/pub/utils/alsa-utils-${PV}.tar.bz2
> \
> >>> file://ncursesfix.patch;patch=1 "
> >>>
> >>> -SRC_URI[md5sum] = "cb0cf46029ac9549cf3a31bff6a4f4e1"
> >>> -SRC_URI[sha256sum] =
> >>
> "b7d05e915e25f8540ad151c6dd558cf0fc1e9bb0ee23052d531c983666a1f7b0"
> >>> +SRC_URI[md5sum] = "8238cd57cb301d1c36bcf0ecb59ce6b2"
> >>> +SRC_URI[sha256sum] =
> >>
> "95127f740291086486c06c28118cabca0814bde48fd14dac041a9812a5ac1be2"
> >>>
> >>> # lazy hack. needs proper fixing in gettext.m4, see
> >>> # http://bugs.openembedded.org/show_bug.cgi?id=2348
> >
> > _______________________________________________
> > poky mailing list
> > poky at yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/poky
> >
More information about the poky
mailing list