All of lore.kernel.org
 help / color / mirror / Atom feed
From: akuster808 <akuster808@gmail.com>
To: kaiu@gmx.de, "yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: WARNING: Could not copy license file LICENSE -> Downloaded archive structure?
Date: Fri, 20 Feb 2015 13:17:25 -0800	[thread overview]
Message-ID: <54E7A465.3020802@gmail.com> (raw)
In-Reply-To: <CAAKMwiqm0iwzPjUsX127nk==hgQ0OcrrXFnG6brfhAF+DbO5Xg@mail.gmail.com>

Kai,


On 02/20/2015 06:44 AM, Kai Ulrich wrote:
> Hi,
>
> I working on a smstools3 recipe.
>
> after running bitbake smstools3
>
> I got following
> WARNING: Could not copy license file LICENSE: [Errno 2] No such file or
> directory:
> '/home/kulrich/Develpment/yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/smstools3-3.1.15/LICENSE'
> Function failed: smstools3: LIC_FILES_CHKSUM points to an invalid file:
> .../yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/smstools3-3.1.15/LICENSE
>
> After looking for the LICENSE found it under
> .../yocto/dizzy/poky/build_test/tmp/work/i586-poky-linux/smstools3/3.1.15-r0/smstools/LICENSE
>
> It seams the reason is the Package structure of the smstools3-3.1.15.tar.gz.
> it is
>
> smstools3-3.1.15.tar.gz.
> ---smstools3
> -------src
> -------scripts
> -------examples
> -------doc
> -------uninstall.sh
> -------README
> -------package.sh
> -------Makefile
> -------LICENSE
>
> with a struktur (2) like
>
> smstools3-3.1.15.tar.gz.
> ---smstools3-3.1.15
> -------src
> -------scripts
> -------examples
> -------doc
> -------uninstall.sh
> -------README
> -------package.sh
> -------Makefile
> -------LICENSE
>
> it works fine.
>
> Any idea how I can configure my recipe that that it works with the
> original package structure?
>

You might need to override the source directory in the recipe.

S = "${WORKDIR}/${BP}"

- Armin

> Kai Ulrich
>
>
>
>


      reply	other threads:[~2015-02-20 21:17 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-20 14:44 WARNING: Could not copy license file LICENSE -> Downloaded archive structure? Kai Ulrich
2015-02-20 21:17 ` akuster808 [this message]

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=54E7A465.3020802@gmail.com \
    --to=akuster808@gmail.com \
    --cc=kaiu@gmx.de \
    --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.