All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] alsa-lib: update 1.1.2 -> 1.1.3
@ 2017-01-20 13:11 Andreas Müller
  2017-01-21  0:12 ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Müller @ 2017-01-20 13:11 UTC (permalink / raw)
  To: openembedded-core

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../alsa-lib/0001-ucm-parser-needs-limits.h.patch  | 33 ++++++++++++++++++++++
 .../alsa/{alsa-lib_1.1.2.bb => alsa-lib_1.1.3.bb}  |  5 ++--
 2 files changed, 36 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch
 rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.2.bb => alsa-lib_1.1.3.bb} (87%)

diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch
new file mode 100644
index 0000000..9d464f4
--- /dev/null
+++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch
@@ -0,0 +1,33 @@
+From 9ed4075f05a4242f32331f7f2c365767970f5003 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Wed, 21 Dec 2016 19:46:34 -0300
+Subject: [PATCH] ucm: parser needs limits.h
+
+It's using PATH_MAX which is defined there, otherwise the build fails on
+musl libc.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Signed-off-by: Takashi Iwai <tiwai@suse.de>
+
+Upstream-Status: Backport [1]
+
+[1] http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=9ed4075f05a4242f32331f7f2c365767970f5003
+---
+ src/ucm/parser.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ucm/parser.c b/src/ucm/parser.c
+index c98373a..f520abc 100644
+--- a/src/ucm/parser.c
++++ b/src/ucm/parser.c
+@@ -32,6 +32,7 @@
+ 
+ #include "ucm_local.h"
+ #include <dirent.h>
++#include <limits.h>
+ 
+ /** The name of the environment variable containing the UCM directory */
+ #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
+-- 
+2.7.4
+
diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
similarity index 87%
rename from meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb
rename to meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
index e313da7..9a8a167 100644
--- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb
+++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
@@ -11,9 +11,10 @@ BBCLASSEXTEND = "native nativesdk"
 SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \
            file://Check-if-wordexp-function-is-supported.patch \
            file://avoid-including-sys-poll.h-directly.patch \
+           file://0001-ucm-parser-needs-limits.h.patch \
 "
-SRC_URI[md5sum] = "1946e6438b8262a7b8fdadacd0e06ba7"
-SRC_URI[sha256sum] = "d38dacd9892b06b8bff04923c380b38fb2e379ee5538935ff37e45b395d861d6"
+SRC_URI[md5sum] = "eefe5992567ba00d6110a540657aaf5c"
+SRC_URI[sha256sum] = "71282502184c592c1a008e256c22ed0ba5728ca65e05273ceb480c70f515969c"
 
 inherit autotools pkgconfig
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] alsa-lib: update 1.1.2 -> 1.1.3
  2017-01-20 13:11 [PATCH V2] alsa-lib: update 1.1.2 -> 1.1.3 Andreas Müller
@ 2017-01-21  0:12 ` Burton, Ross
  2017-01-21  0:16   ` Burton, Ross
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2017-01-21  0:12 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 3804 bytes --]

For some reason the autobuilder is having a meltdown with this error
message:

Computing transaction...warning: Can't install
alsa-lib-dev-1.1.3-r0.0@core2_32: Can't install
alsa-lib-dev-1.1.3-r0.0@core2_32: no package provides alsa-lib = 1.1.3-r0.0

I'm guessing a new file sneaked into the build which changes library names,
or something?  If you can get a moment to compare buildhistory-diff with
1.1.2 and 1.1.3 then that would be much appreciated.  I'll have a look
later, but right now I'm going to bed.. :)

Ross

On 20 January 2017 at 13:11, Andreas Müller <schnitzeltony@googlemail.com>
wrote:

> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  .../alsa-lib/0001-ucm-parser-needs-limits.h.patch  | 33
> ++++++++++++++++++++++
>  .../alsa/{alsa-lib_1.1.2.bb => alsa-lib_1.1.3.bb}  |  5 ++--
>  2 files changed, 36 insertions(+), 2 deletions(-)
>  create mode 100644 meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-
> needs-limits.h.patch
>  rename meta/recipes-multimedia/alsa/{alsa-lib_1.1.2.bb =>
> alsa-lib_1.1.3.bb} (87%)
>
> diff --git a/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-needs-limits.h.patch
> b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-
> needs-limits.h.patch
> new file mode 100644
> index 0000000..9d464f4
> --- /dev/null
> +++ b/meta/recipes-multimedia/alsa/alsa-lib/0001-ucm-parser-
> needs-limits.h.patch
> @@ -0,0 +1,33 @@
> +From 9ed4075f05a4242f32331f7f2c365767970f5003 Mon Sep 17 00:00:00 2001
> +From: Gustavo Zacarias <gustavo@zacarias.com.ar>
> +Date: Wed, 21 Dec 2016 19:46:34 -0300
> +Subject: [PATCH] ucm: parser needs limits.h
> +
> +It's using PATH_MAX which is defined there, otherwise the build fails on
> +musl libc.
> +
> +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> +Signed-off-by: Takashi Iwai <tiwai@suse.de>
> +
> +Upstream-Status: Backport [1]
> +
> +[1] http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=
> 9ed4075f05a4242f32331f7f2c365767970f5003
> +---
> + src/ucm/parser.c | 1 +
> + 1 file changed, 1 insertion(+)
> +
> +diff --git a/src/ucm/parser.c b/src/ucm/parser.c
> +index c98373a..f520abc 100644
> +--- a/src/ucm/parser.c
> ++++ b/src/ucm/parser.c
> +@@ -32,6 +32,7 @@
> +
> + #include "ucm_local.h"
> + #include <dirent.h>
> ++#include <limits.h>
> +
> + /** The name of the environment variable containing the UCM directory */
> + #define ALSA_CONFIG_UCM_VAR "ALSA_CONFIG_UCM"
> +--
> +2.7.4
> +
> diff --git a/meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb
> b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
> similarity index 87%
> rename from meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb
> rename to meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
> index e313da7..9a8a167 100644
> --- a/meta/recipes-multimedia/alsa/alsa-lib_1.1.2.bb
> +++ b/meta/recipes-multimedia/alsa/alsa-lib_1.1.3.bb
> @@ -11,9 +11,10 @@ BBCLASSEXTEND = "native nativesdk"
>  SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \
>             file://Check-if-wordexp-function-is-supported.patch \
>             file://avoid-including-sys-poll.h-directly.patch \
> +           file://0001-ucm-parser-needs-limits.h.patch \
>  "
> -SRC_URI[md5sum] = "1946e6438b8262a7b8fdadacd0e06ba7"
> -SRC_URI[sha256sum] = "d38dacd9892b06b8bff04923c380b3
> 8fb2e379ee5538935ff37e45b395d861d6"
> +SRC_URI[md5sum] = "eefe5992567ba00d6110a540657aaf5c"
> +SRC_URI[sha256sum] = "71282502184c592c1a008e256c22ed
> 0ba5728ca65e05273ceb480c70f515969c"
>
>  inherit autotools pkgconfig
>
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>

[-- Attachment #2: Type: text/html, Size: 5984 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] alsa-lib: update 1.1.2 -> 1.1.3
  2017-01-21  0:12 ` Burton, Ross
@ 2017-01-21  0:16   ` Burton, Ross
  2017-01-21  0:47     ` Tanu Kaskinen
  0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2017-01-21  0:16 UTC (permalink / raw)
  To: Andreas Müller; +Cc: OE-core

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

On 21 January 2017 at 00:12, Burton, Ross <ross.burton@intel.com> wrote:

> Computing transaction...warning: Can't install
> alsa-lib-dev-1.1.3-r0.0@core2_32: Can't install
> alsa-lib-dev-1.1.3-r0.0@core2_32: no package provides alsa-lib =
> 1.1.3-r0.0
>

Had a ten second look at 1.1.2, there's an alsa-lib package that contains
/usr/lib/alsa-lib/smixer/*.so.  If these disappeared (or were
non-deterministic) in the 1.1.3 build alsa-lib itself would be empty, and
the dependency would break.

Ross

[-- Attachment #2: Type: text/html, Size: 897 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH V2] alsa-lib: update 1.1.2 -> 1.1.3
  2017-01-21  0:16   ` Burton, Ross
@ 2017-01-21  0:47     ` Tanu Kaskinen
  0 siblings, 0 replies; 4+ messages in thread
From: Tanu Kaskinen @ 2017-01-21  0:47 UTC (permalink / raw)
  To: openembedded-core

On Sat, 2017-01-21 at 00:16 +0000, Burton, Ross wrote:
> On 21 January 2017 at 00:12, Burton, Ross <ross.burton@intel.com> wrote:
> 
> > Computing transaction...warning: Can't install
> > alsa-lib-dev-1.1.3-r0.0@core2_32: Can't install
> > alsa-lib-dev-1.1.3-r0.0@core2_32: no package provides alsa-lib =
> > 1.1.3-r0.0
> > 
> 
> Had a ten second look at 1.1.2, there's an alsa-lib package that contains
> /usr/lib/alsa-lib/smixer/*.so.  If these disappeared (or were
> non-deterministic) in the 1.1.3 build alsa-lib itself would be empty, and
> the dependency would break.

The smixer libraries indeed disappeared in 1.1.3 (when python support
isn't enabled):
http://git.alsa-project.org/?p=alsa-lib.git;a=commit;h=a668a94238dc67b19ae187b52a161e027d79ee5d

-- 
Tanu

https://www.patreon.com/tanuk


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-21  0:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-20 13:11 [PATCH V2] alsa-lib: update 1.1.2 -> 1.1.3 Andreas Müller
2017-01-21  0:12 ` Burton, Ross
2017-01-21  0:16   ` Burton, Ross
2017-01-21  0:47     ` Tanu Kaskinen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.