Bug 9714

Summary: Avahi 0.6.32 build with uclibc failed
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Dmitriy Falko <d.falko.work>
Component: connectivityAssignee: Jussi Kukkonen <jku>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: jose.perez.carranza, meta.mr.watcher, meta.watcher
Version: 2.1   
Target Milestone: 2.2 M1   
Hardware: Other   
OS: arm   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know
Attachments:
Description Flags
patch none

Description Dmitriy Falko 2016-06-06 13:44:10 UTC
Created attachment 3215 [details]
patch

When building avahi on uclibc system, get error

| /media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/avahi/0.6.32-s0/build/avahi-gobject/tmp-introspectErrwRJ/.libs/Avahi-0.6: can't load library 'libavahi-gobject.so.0'
| If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help.
| (typically like this: GIR_EXTRA_LIBS_PATH="${B}/something/.libs" )
| Command '['/media/falko/work/poky/build/tmp/sysroots/odroid-xu4/usr/bin/g-ir-scanner-qemuwrapper', '/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/avahi/0.6.32-s0/build/avahi-gobject/tmp-introspectErrwRJ/.libs/Avahi-0.6', '--introspect-dump=/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/avahi/0.6.32-s0/build/avahi-gobject/tmp-introspectErrwRJ/functions.txt,/media/falko/work/poky/build/tmp/work/cortexa15hf-neon-poky-linux-uclibceabi/avahi/0.6.32-s0/build/avahi-gobject/tmp-introspectErrwRJ/dump.xml']' returned non-zero exit status 1


Fix it by adding extra path to GIR_EXTRA_LIBS_PATH, see attachment
Comment 1 Jussi Kukkonen 2016-06-07 08:10:35 UTC
Thanks, could you send the patch to openembedded-core@lists.openembedded.org with a Signed-off-by tag??
Comment 2 Dmitriy Falko 2016-06-09 07:03:53 UTC
I send, but without Signed-off-by tag. Becase read your comment after send.
Comment 3 Jussi Kukkonen 2016-06-09 07:20:30 UTC
(In reply to comment #2)
> I send, but without Signed-off-by tag. Becase read your comment after send.

Please resend with the tag, it's something of a requirement for inclusion (see http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded). 

Also, don't send attachments: patches should be in the mail body. Easiest way to do that is "git send-email -1" (when your commit is the last commit in current branch and when your git email settings are in order -- see the previous link for those).


Sorry for making you do multiple rounds: we're just trying to make life a little easier for Richard and Ross who do the bulk of patch merging...
Comment 4 Dmitriy Falko 2016-06-09 08:36:49 UTC
i cannot use git send-email. I resend patch, could you look is it format in rigth way?
Comment 5 Jussi Kukkonen 2016-06-09 09:51:52 UTC
(In reply to comment #4)
> i cannot use git send-email. I resend patch, could you look is it format in
> rigth way?

Looks good to me at least, thanks.
Comment 6 Jussi Kukkonen 2016-06-21 16:40:04 UTC
Thanks Dmitriy.


commit cf12463f823cc9d7099d9f21c8675122757d6942
Author: Dmitriy Falko <d.falko.work@gmail.com>
Date:   Thu Jun 9 11:35:33 2016 +0300

    avahi: add extra path to GIR_EXTRA_LIBS_PATH
    
    (From OE-Core rev: 2c904fa47e1b020f9b004cd54fe39e47bfdf7879)
    
    Signed-off-by: Dmitriy Falko <d.falko.work@gmail.com>
    Signed-off-by: Ross Burton <ross.burton@intel.com>
    Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>