[yocto] Antwort: Re: Antwort: Re: how to configure the build packages of a makefile based libary

S.Jaritz at esa-grimma.de S.Jaritz at esa-grimma.de
Fri Apr 29 00:54:36 PDT 2016


Hej

sorry for the user -> usr misswriting. Now the packing works fine. Thanks 
for the help - now I understand much better how makefiles are processed. 
There is only the licence problem left. Are there some common way how to 
handle this?
below goes the bb file.
##############
SUMMARY = "libhiredis"
SECTION = "sek4"
LICENSE = "COPYING"
LIC_FILES_CHKSUM = "file://$
{WORKDIR}/git/COPYING;md5=d84d659a35c666d23233e54503aaea51"

# 0.13.3
# SRCREV = "010756025e8cefd1bc66c6d4ed3b1648ef6f1f95"
SRC_URI = "git://github.com/redis/hiredis.git;rev=v0.13.3"

S = "${WORKDIR}/git/"

EXTRA_OEMAKE = "'PREFIX=/usr/'"

do_compile() {
        oe_runmake all 'CC=${CC}'
}

do_install() {
        oe_runmake install 'DESTDIR=${D}'
}
#############

The commandline outputs:
#############
NOTE: Executing RunQueue Tasks
WARNING: QA Issue: libhiredis: /libhiredis-staticdev/usr/lib/libhiredis.a 
is owned by uid 1000, which is the same as the user running bitbake. This 
may be due to host contamination [host-user-contaminated]
WARNING: QA Issue: libhiredis: /libhiredis/usr/lib/libhiredis.so.0.13 is 
owned by uid 1000, which is the same as the user running bitbake. This may 
be due to host contamination [host-user-contaminated]
WARNING: QA Issue: libhiredis: 
/libhiredis-dev/usr/lib/pkgconfig/hiredis.pc is owned by uid 1000, which 
is the same as the user running bitbake. This may be due to host 
contamination [host-user-contaminated]
#############

regards!

Stefan Jaritz


------------------------------------------------------------
ESA Elektroschaltanlagen Grimma GmbH
Broner Ring 30
04668 Grimma
Telefon: +49 3437 9211 176
Telefax: +49 3437 9211 26
E-Mail: s.jaritz at esa-grimma.de
Internet: www.esa-grimma.de


Geschäftsführer:
Dipl.-Ing. Jörg Gaitzsch
Jörg Reinker

Sitz der Gesellschaft: Grimma
Ust.-ID: DE 141784437
Amtsgericht: Leipzig, HRB 5159
Steuernummer: 238/108/00755


Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte 
Informationen. 
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich 
erhalten 
haben, informieren Sie bitte sofort den Absender und löschen Sie diese 
Nachricht. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser 
Mail 
ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you 
are 
not the intended recipient (or have received this e-mail in error) please 
notify the sender immediately and destroy this e-mail. Any unauthorized 
copying, disclosure or distribution of the material in this e-mail is 
strictly 
forbidden.



Von:    "Burton, Ross" <ross.burton at intel.com>
An:     YUKATHARSANI JEYACHANDRA <yukatharsanij at tataelxsi.co.in>
Kopie:  "S.Jaritz at esa-grimma.de" <S.Jaritz at esa-grimma.de>, 
"yocto at yoctoproject.org" <yocto at yoctoproject.org>
Datum:  28.04.2016 18:26
Betreff:        Re: [yocto] Antwort: Re: how to configure the build 
packages of a makefile based libary




On 28 April 2016 at 17:18, YUKATHARSANI JEYACHANDRA <
yukatharsanij at tataelxsi.co.in> wrote:
Use INSANE_SKIP_${PN} = "installed-vs-shipped"  in your recipe to avoid 
this error. Orelse, add FILES_${PN} += "/usr/local/" in your recipe.
No.

*Only* use installed-vs-shipped if you're incapable of a) packaging the 
files or b) deleting the files in a do_install_append.  Skipping that 
warning means you won't notice new files being added to the install that 
you don't package, which could result in broken packages.

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160429/ca86610b/attachment.html>


More information about the yocto mailing list