[yocto] QA issue with custom recipe

Sean Liming sean.liming at annabooks.com
Fri Dec 7 19:27:50 PST 2012


> -----Original Message-----
> From: Jon Szymaniak [mailto:jon.szymaniak at gmail.com]
> Sent: Friday, December 07, 2012 1:36 PM
> To: sean.liming at annabooks.com
> Cc: yocto at yoctoproject.org
> Subject: Re: QA issue with custom recipe
> 
> > I am trying to create a simple hello world recipe for a helloworld.c
> > file. The recipe almost works except it hits a QA issue: WARNING: QA
> > Issue: hello: Files/directories were installed but not shipped
> >
> > The warning leads to a failure in the do_rootfs.
> >
> > WARNING: QA Issue: hello: Files/directories were installed but not
shipped
> >    /usr
> >    /usr/bin
> > ERROR: Function failed: do_rootfs
> > --------------------------
> >
> >
> > What am I missing in the recipe?
> >
> > --
> > Regards,
> >
> > Sean D. Liming
> > Owner
> > Annabooks
> > Cell: 858-774-3176
> >
> >
> > -------------- next part -------------- DESCRIPTION = "Hello World
> > Application"
> > LICENSE = "GPL-2"
> > LIC_FILES_CHKSUM =
> > "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
> >
> > SECTION = "apps"
> >
> > SRC_URI = "file:///home/sean/workspace/Hello/HelloYocto.c"
> > SRC_URI[md5sum] = "4f5c57b446cc08a7299d4dca58c49cda"
> > SRC_URI[sha256sum] =
> >
> "f357d9214f9c585d8b3997c6a3038eb28b218de264a8bb39ae8474949ad2b98d"
> >
> > S = "${WORKDIR}"
> >
> > do_compile() {
> >  ${CC} ${CFLAGS} ${LDFLAGS} /home/sean/workspace/Hello/HelloYocto.c -
> o
> > helloyocto }
> >
> > do_install() {
> >  install -d ${D}${bindir}
> >  install -m 0755 helloyocto ${D}{bindir} }
> >
> >
> 
> Sean,
> 
> I think you need to note which files are installed by the packages
> associated with this recipe, via:
> 
> FILES_${PN} = "${bindir}"
> 
> For more info on these, Check out the FILES and CONFFILES
> variables in the Poky Reference Manual. I also found it helpful
> to grep around some of the bigger recipes to see how they use
> these. (I got a bit tripped up with some libraries with the sonames set!)
> 
> 
> Regards,
> Jon



John,

Thank you. The Q/A Warning is gone. That is one step closer, but the package
is still not resolved.

-------------------------------------
Processing HelloYocto...

Unable to resolve package HelloYocto

ERROR: some packages were missing

ERROR: Function failed: do_rootfs (see
/home/sean/Yocto1.3/n2800/tmp/work/cedartrail-poky-linux/core-image-minimal-
1.0-r0/temp/log.do_rootfs.24265 for further information)

----------------------



Regards,

Sean Liming
Owner
Annabooks
Tel: 714-970-7523 / Cell: 858-774-3176




More information about the yocto mailing list