Re: [oe] [meta-multimedia][PATCH v2 3/3] vlc: update to 2.1.2

2014-03-08 Thread Tim Orling
Can you check the build directory to see if
arm-nodistro-linux-gnueabi-libtool was created? I'm building in angstrom,
so I see arm-angstrom-linux-gnueabi-libtool... This was not being found by
the doltlibtool script, which was the reason for the sed fix in vlc.inc. I
suspect it is behaving differently in your environment. It's on my list to
duplicate your build environment, including jenkins, but I haven't done it
yet.

--Tim


On Wed, Mar 5, 2014 at 9:56 AM, Martin Jansa  wrote:

> On Tue, Feb 25, 2014 at 09:39:57PM -0800, Tim Orling wrote:
> > From: Tim Orling 
> >
> > Signed-off-by: Tim Orling 
> > ---
> >  .../vlc/files/0001-enable-subdir-objects.patch| 13 +
> >  .../files/0002-glibc-does-not-provide-strlcpy.patch   | 17
> +
> >  meta-multimedia/recipes-multimedia/vlc/vlc.inc| 10 +++---
> >  meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb  | 19
> ---
> >  meta-multimedia/recipes-multimedia/vlc/vlc_2.1.2.bb   | 17
> +
> >  5 files changed, 54 insertions(+), 22 deletions(-)
> >  create mode 100644
> meta-multimedia/recipes-multimedia/vlc/files/0001-enable-subdir-objects.patch
> >  create mode 100644
> meta-multimedia/recipes-multimedia/vlc/files/0002-glibc-does-not-provide-strlcpy.patch
> >  delete mode 100644 meta-multimedia/recipes-multimedia/vlc/vlc_1.1.11.bb
> >  create mode 100644 meta-multimedia/recipes-multimedia/vlc/vlc_2.1.2.bb
>
> Hi,
>
> it fails to build in world verification:
>
> | make[1]: Entering directory
>
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/vlc-2.1.2'
> | Making all in compat
> | make[2]: Entering directory
>
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/vlc-2.1.2/compat'
> | make  all-am
> | make[3]: Entering directory
>
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/vlc-2.1.2/compat'
> | ../doltcompile arm-oe-linux-gnueabi-gcc  -march=armv5te -marm
> -mthumb-interwork
>
> --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm
> -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -I../include -I../include   -O2
> -pipe -g -feliminate-unused-debug-types -Wall -Wextra -Wsign-compare
> -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings
> -Wmissing-prototypes -Wvolatile-register-var
> -Werror-implicit-function-declaration -pipe -fvisibility=hidden
> -ffast-math -funroll-loops -fomit-frame-pointer -c -o dummy.lo dummy.c
> | ../doltcompile arm-oe-linux-gnueabi-gcc  -march=armv5te -marm
> -mthumb-interwork
>
> --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm
> -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -I../include -I../include   -O2
> -pipe -g -feliminate-unused-debug-types -Wall -Wextra -Wsign-compare
> -Wundef -Wpointer-arith -Wbad-function-cast -Wwrite-strings
> -Wmissing-prototypes -Wvolatile-register-var
> -Werror-implicit-function-declaration -pipe -fvisibility=hidden
> -ffast-math -funroll-loops -fomit-frame-pointer -c -o strlcpy.lo
> strlcpy.c
> | ../doltlibtool  --tag=CC   --mode=link arm-oe-linux-gnueabi-gcc
> -march=armv5te -marm -mthumb-interwork
>
> --sysroot=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm
> -std=gnu99  -O2 -pipe -g -feliminate-unused-debug-types -Wall -Wextra
> -Wsign-compare -Wundef -Wpointer-arith -Wbad-function-cast
> -Wwrite-strings -Wmissing-prototypes -Wvolatile-register-var
> -Werror-implicit-function-declaration -pipe -fvisibility=hidden
> -ffast-math -funroll-loops -fomit-frame-pointer -no-undefined -static
> -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o libcompat.la -rpath
> /usr/lib/vlc dummy.lo strlcpy.lo
> | ../doltlibtool: line 18: exec: arm-nodistro-linux-gnueabi-libtool: not
> found
> | make[3]: *** [libcompat.la] Error 127
> | make[3]: Leaving directory
>
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/vlc-2.1.2/compat'
> | make[2]: *** [all] Error 2
> | make[2]: Leaving directory
>
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/vlc-2.1.2/compat'
> | make[1]: *** [all-recursive] Error 1
> | make[1]: Leaving directory
>
> `/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/vlc-2.1.2'
> | make: *** [all] Error 2
> | ERROR: oe_runmake failed
> | WARNING: exit code 1 from a shell command.
> | ERROR: Function failed: do_compile (log file is located at
>
> /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/vlc/2.1.2-r0/temp/log.do_compile.6302)
> NOTE: recipe vlc-2.1.2-r0: task do_compile: Failed
>
> Can you please check? I'll send updated bitbake world status later today
> or tomorrow (with full log)
> http://www.openembedded.org/wiki/Bitbake_World_Status
>
> >
> > diff --git
> a/meta-multimedia/recipes-multimedia/vlc/files/0001-enable

Re: [oe] [PATCH] musicbrainz: Build with B=S

2014-03-08 Thread Tim Orling
I may have gone extra steps to get to the bottom of the build error, but my
solution is not even slightly pretty. If it works to just set $B=$S that is
simpler than my do_configure hack. Otherwise we'd have to look into a
change in cmake class which I doubt is justified--or further patch
libmusicbrainz.
KISS.

--Tim


On Wed, Mar 5, 2014 at 11:49 AM, Mike Looijmans wrote:

> On 5-3-2014 19:08, Martin Jansa wrote:
>
>> On Sat, Mar 01, 2014 at 06:54:47PM +0100, mike.looijm...@topic.nl wrote:
>>
>>> From: Mike Looijmans 
>>>
>>> This recipe doesn't work when B!=S, so force B=$S to fix the failure.
>>>
>>> Signed-off-by: Mike Looijmans 
>>>
>> What's the relation of this change to
>> http://patchwork.openembedded.org/patch/67597/
>> ?
>>
>
> I suspect they both accomplish the same: Make the project compile again.
> Mine is the simplistic approach I guess - I did the least I could possible
> get away with... "Theirs" looks more like they actually understand what's
> going on
>
> Mike.
>
>
>
>  ---
>>>   .../musicbrainz/libmusicbrainz_git.bb  |3 +++
>>>   1 file changed, 3 insertions(+)
>>>
>>> diff --git a/meta-multimedia/recipes-multimedia/musicbrainz/libmusi
>>> cbrainz_git.bb b/meta-multimedia/recipes-multimedia/musicbrainz/libmusi
>>> cbrainz_git.bb
>>> index f6a8f53..4cc04b8 100644
>>> --- a/meta-multimedia/recipes-multimedia/musicbrainz/libmusi
>>> cbrainz_git.bb
>>> +++ b/meta-multimedia/recipes-multimedia/musicbrainz/libmusi
>>> cbrainz_git.bb
>>> @@ -37,3 +37,6 @@ do_configure_prepend() {
>>> EXTRA_OECMAKE = "-DLIB_INSTALL_DIR:PATH=${libdir} \
>>>-DIMPORT_EXECUTABLES=build-native/ImportExecutables.
>>> cmake"
>>> +
>>> +# out-of-tree building doesn't appear to work for this package.
>>> +B = "${S}"
>>> --
>>> 1.7.9.5
>>>
>>> ___
>>> Openembedded-devel mailing list
>>> Openembedded-devel@lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>>>
>>
>
> --
> Mike Looijmans
>
>
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel