All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sean Liming <sean.liming@annabooks.com>
To: "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: QA issue with custom recipe
Date: Fri, 07 Dec 2012 11:04:10 -0800	[thread overview]
Message-ID: <50C23DAA.8060506@annabooks.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

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.

Base image: core-image-minimal, and here is the build output:
-----------------------
Build Configuration:
BB_VERSION        = "1.16.0"
TARGET_ARCH       = "i586"
TARGET_OS         = "linux"
MACHINE           = "cedartrail"
DISTRO            = "poky"
DISTRO_VERSION    = "1.3"
TUNE_FEATURES     = "m32 core2"
TARGET_FPU        = ""
meta
meta-yocto
meta-yocto-bsp
meta-intel
meta-cedartrail
meta-apps         = "<unknown>:<unknown>"

NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
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



[-- Attachment #2: hello.bb --]
[-- Type: text/plain, Size: 591 bytes --]

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}
}




             reply	other threads:[~2012-12-07 19:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-07 19:04 Sean Liming [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-12-07 21:36 QA issue with custom recipe Jon Szymaniak
2012-12-08  3:27 ` Sean Liming
2012-12-08 15:05   ` Jon Szymaniak
2012-12-08 17:21     ` Sean Liming
2012-12-09  5:03       ` Sean Liming
2012-12-09  5:21         ` Jon Szymaniak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50C23DAA.8060506@annabooks.com \
    --to=sean.liming@annabooks.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.