From: Saul Wold <sgw@linux.intel.com>
To: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Cc: yocto@yoctoproject.org
Subject: Re: [denzil] Licenses, source distribution etc
Date: Tue, 08 May 2012 09:37:56 -0700 [thread overview]
Message-ID: <4FA94BE4.1040503@linux.intel.com> (raw)
In-Reply-To: <CACW_hTaeANMD271GeoU0hP8aacDd-8AhyrvXZ185LJoXLxqoqw@mail.gmail.com>
On 05/08/2012 03:29 AM, Frans Meulenbroeks wrote:
> 2012/5/8 Frans Meulenbroeks<fransmeulenbroeks@gmail.com>:
>> 2012/5/8 Frans Meulenbroeks<fransmeulenbroeks@gmail.com>:
>>> Dear all,
>>>
>>> A next question/issue wrt my denzil experiment:
>>>
>>> I wanted to know what licenses are used in my image.
>>> I found tmp/deploy/licenses but this is package oriented and does not
>>> really give a quick overview.
>>>
>>> The manual gave me this section:
>>> http://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#ref-classes-src-distribute
>>>
>>> I tried to inherit src_distribute and src_distribute_local, but to no avail
>>> Running a find on the source tree did not reveal these classes:
>>>
>>> frans@frans-desktop:~/poky-denzil-7.0$ find | grep distribute
>>> ./meta/classes/pkg_distribute.bbclass
>>> frans@frans-desktop:~/poky-denzil-7.0$
>>>
>>> Something missing?
>>> And what is the best way to find out what licenses are used?
>>>
>>> Thanks, (and keep up the good work!)
>>> Frans.
>>
>> Googled a little bit further.
>> Guess this is a documentation issue as the classes have been
>> deliberatly removed.
>> See http://patches.openembedded.org/patch/23171/
>>
>> Frans
>
> One more thing:
> I've added the archiver class. I also have rm_work (not sure if that is related)
> Now when running a build I get errors like this:
>
> NOTE: Running task 1029 of 1279 (ID: 1167,
> /home/frans/poky-denzil-7.0/meta/recipes-core/gettext/gettext_0.18.1.1.bb,
> do_package_write_rpm)
> NOTE: package gettext-0.18.1.1-r11: task do_package_write_rpm: Started
> ERROR: Error executing a python function in
> /home/frans/poky-denzil-7.0/meta/recipes-core/gettext/gettext_0.18.1.1.bb:
> AttributeError: 'NoneType' object has no attribute 'upper'
>
> ERROR: The stack trace of python calls that resulted in this
> exception/failure was:
> ERROR: File "do_remove_tarball", line 14, in<module>
> ERROR:
> ERROR: File "do_remove_tarball", line 3, in do_remove_tarball
> ERROR:
> ERROR: The code that was being executed was:
> ERROR: 0010: except (TypeError,OSError):
> ERROR: 0011: pass
> ERROR: 0012:
> ERROR: 0013:
> ERROR: *** 0014:do_remove_tarball(d)
> ERROR: 0015:
> ERROR: (file: 'do_remove_tarball', lineno: 14, function:<module>)
> ERROR: 0001:
> ERROR: 0002:def do_remove_tarball(d):
> ERROR: *** 0003: if d.getVar('SOURCE_ARCHIVE_PACKAGE_TYPE',
> True).upper() == 'SRPM':
> ERROR: 0004: work_dir = d.getVar('WORKDIR', True)
> ERROR: 0005: try:
> ERROR: 0006: for file in os.listdir(os.getcwd()):
> ERROR: 0007: if file in get_package(d):
> ERROR: (file: 'do_remove_tarball', lineno: 3, function: do_remove_tarball)
> ERROR: Function failed: do_remove_tarball
> ERROR: Logfile of failure stored in:
> /home/frans/poky-denzil-7.0-build/tmp/work/ppce300c3-poky-linux-uclibc/gettext-0.18.1.1-r11/temp/log.do_package_write_rpm.11248
> NOTE: package gettext-0.18.1.1-r11: task do_package_write_rpm: Failed
> ERROR: Task 1167
> (/home/frans/poky-denzil-7.0/meta/recipes-core/gettext/gettext_0.18.1.1.bb,
> do_package_write_rpm) failed with exit code '1'
>
> And still no deploy/sources dir
>
Frans Please file a bug against this and the src-distrubute class
documentation.
Yes, we did rework the source archiving and I guess it was not tested as
fully as it could have been.
Did you set SOURCE_ARCHIVE_PACKAGE_TYPE?
Sau!
> Best regards, Frans
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
>
next prev parent reply other threads:[~2012-05-08 16:37 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-08 7:57 [denzil] Licenses, source distribution etc Frans Meulenbroeks
2012-05-08 8:43 ` Frans Meulenbroeks
2012-05-08 10:29 ` Frans Meulenbroeks
2012-05-08 16:37 ` Saul Wold [this message]
2012-05-08 17:17 ` Frans Meulenbroeks
2012-05-09 5:44 ` Yes Yanus
2012-05-09 6:01 ` Frans Meulenbroeks
2012-05-09 6:08 ` Xiaofeng Yan
2012-05-08 15:08 ` Flanagan, Elizabeth
2012-05-09 6:06 ` Frans Meulenbroeks
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=4FA94BE4.1040503@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=fransmeulenbroeks@gmail.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.