[yocto] Help with Opensips Recipe - QA run found fatal errors

Paul Eggleton paul.eggleton at linux.intel.com
Tue Dec 1 08:56:22 PST 2015


Hi Caio,

compile-host-path isn't about the path being different - it's about the path 
being something possibly bad i.e. on the host system. You really ought to fix 
that one rather than disable it.

Cheers,
Paul

On Tue, 01 Dec 2015 10:21:03 Caio wrote:
> Hi Paul,
> 
> Thank you very much for your help.
> I added INSANE_SKIP_${PN} += " libdir compile-host-path" because the
> instalation is different from /usr/lib.
> 
> Thank you very much!
> 
> Regards,
> 
> Caio Pereira
> 
> 2015-11-25 20:26 GMT-02:00 Paul Eggleton <paul.eggleton at linux.intel.com>:
> > Hi Caio,
> > 
> > On Tuesday 24 November 2015 11:48:13 Caio wrote:
> > > I'm writing a recipe to a Sip proxy Opensips, but I'm having problems
> > 
> > with
> > 
> > > QA Issues.
> > > In the First time I tried to use make install from Opensips Makefile I
> > 
> > had
> > 
> > > problem with QA Issues,  so I added all the folders to FILES_${PN} and
> > > FILES_${PN} but I still having problem.
> > > 
> > > So I decided to start small, creating the folder structure and copy only
> > > the binary files and after I will copy all the files using the
> > 
> > do_install
> > 
> > > function.
> > > 
> > > But when I added the folders and I started to have problems with QA
> > 
> > again.
> > 
> > > FILES_${PN} = " \
> > > 
> > >         ${sbindir}/* \
> > >         ${sysconfdir}/* \
> > >         ${sysconfdir}/opensips/* \
> > >         ${libdir}/* \
> > >         ${libdir}/opensips/* \
> > >         ${libdir}/opensips/modules/* \
> > >         "
> > > 
> > > Someone could help me with this problem?
> > > 
> > > 
> > > Thank you very much
> > > 
> > > Best Regards,
> > > 
> > > Caio Pereira
> > > 
> > > 
> > > ERROR: QA Issue: opensips: The compile log indicates that host include
> > > and/or library paths were used.
> > > 
> > >          Please check the log
> > 
> > '/home/icchw/fsl-community-bsp/small_steps/tmp/work/armv7at2hf-vfp-neon-po
> > ky> 
> > > -linux-gnueabi/opensips/2.2.0-r0/temp/log.do_compile' for more
> > 
> > information.
> > 
> > > [compile-host-path]
> > > 
> > > 
> > > ERROR: QA run found fatal errors. Please consider fixing them.
> > > ERROR: Function failed: do_package_qa
> > 
> > > ERROR: Logfile of failure stored in:
> > /home/icchw/fsl-community-bsp/small_steps/tmp/work/armv7at2hf-vfp-neon-pok
> > y-> 
> > > linux-gnueabi/opensips/2.2.0-r0/temp/log.do_package_qa.30973 ERROR: Task
> > 
> > 9
> > 
> > (/home/icchw/fsl-community-bsp/sources/icchw/meta-caio/recipes-telephony/o
> > pe> 
> > > nsips/ opensips_2.2.0.bb, do_package_qa) failed with exit code '1'
> > > 
> > > 
> > > cat
> > 
> > /home/icchw/fsl-community-bsp/small_steps/tmp/work/armv7at2hf-vfp-neon-pok
> > y-> 
> > > linux-gnueabi/opensips/2.2.0-r0/temp/log.do_package_qa.30973
> > > 
> > > DEBUG: Python function read_subpackage_metadata finished
> > > ERROR: QA Issue: opensips: The compile log indicates that host include
> > > and/or library paths were used.
> > > 
> > >          Please check the log
> > 
> > '/home/icchw/fsl-community-bsp/small_steps/tmp/work/armv7at2hf-vfp-neon-po
> > ky> 
> > > -linux-gnueabi/opensips/2.2.0-r0/temp/log.do_compile' for more
> > 
> > information.
> > 
> > > [compile-host-path]
> > 
> > Did you check the mentioned compile log?
> > 
> > FYI a good reference for these QA checks is:
> > 
> > 
> > http://www.yoctoproject.org/docs/current/ref-manual/ref-manual.html#qa-err
> > ors-and-warnings
> > 
> > As mentioned there you should find somewhere in that log "is unsafe for
> > cross-compilation" or "CROSS COMPILE Badness".
> > 
> > Cheers,
> > Paul
> > 
> > --
> > 
> > Paul Eggleton
> > Intel Open Source Technology Centre

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the yocto mailing list