Source distribution broken?
Hi,
Is the source distribution functionality broken?
This is set in local.conf:SRC_DIST_LOCAL = "copy"
INHERIT += "src_distribute_local"
New checkout of OE from git.
Have tried different builds for MACHINE=beagleboard and images minimal-image and base-image.
The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT directory with the minimal-image/minimal-image.bb file.
In src_distribute.bbclass there is a line addtask distribute_sources before do_build after do_fetch Does do_build actually get run for every task?
If set to something else instead of "do_build" like "do_compile" will trigger a lot of src_distribute calls and copying of files for a lot of licenses to TMPDIR/deploy/glibc/sources.
Any ideas?
/Anders
2010/11/24 Anders Törnqvist <[email protected]>:
Quoted 20 lines
Hi,
Is the source distribution functionality broken?
This is set in local.conf:
SRC_DIST_LOCAL= "copy"
INHERIT += "src_distribute_local"New checkout of OE from git.
Have tried different builds for MACHINE=beagleboard and images minimal-image and base-image.The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT directory with the minimal-image/minimal-image.bb file.
In src_distribute.bbclass there is a line addtask
distribute_sourcesbeforedo_buildafterdo_fetchDoesdo_buildactually get run for every task?
Quoted 5 lines
If set to something else instead of "
do_build" like "do_compile" will trigger a lot ofsrc_distributecalls and copying of files for a lot of licenses to TMPDIR/deploy/glibc/sources.Any ideas?
I see substantially similar behavior, and am glad to know it's not just me. (Thanks, by the way, for mentioning the change from "do_build" to "do_compile".)
I see a few more files on my system. Curiously, and perhaps significantly, they correspond to the targets that I pass to bitbake. That is, I run "bitbake x-load u-boot-omap3 linux-omap3 company-image" (where company-image extends micro-image), and inside TMPDIR/deploy/uclibc/sources/ I have GPLv2+/x-load, GPLv2/u-boot-omap3, GPLv2/linux-omap3 and MIT/company-image.
Unfortunately, I am not familiar enough with OpenEmbedded or bitbake to help much beyond this. Hopefully someone else on the list can help.
Michael
Quoted 15 lines · Michael Poole
2010/11/24 Anders Törnqvist <[email protected]>:
Quoted 14 lines
Hi,
Is the source distribution functionality broken?
This is set in local.conf:
SRC_DIST_LOCAL= "copy"
INHERIT += "src_distribute_local"New checkout of OE from git.
Have tried different builds for MACHINE=beagleboard and images minimal-image and base-image.The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT directory with the minimal-image/minimal-image.bb file.
hmm I get it properly populated for console-image, do_build is added in base.bbclass I think it should be there for all recipes
Quoted 5 lines · Khem Raj <raj.khem <at> gmail.com> writes:
Quoted 3 lines · Michael Poole
2010/11/24 Anders Törnqvist <a.tqvist <at> gmail.com>:
Quoted 2 lines
Hi,
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Is the source distribution functionality broken?
This is set in local.conf:
SRC_DIST_LOCAL= "copy"
INHERIT += "src_distribute_local"New checkout of OE from git.
Have tried different builds for MACHINE=beagleboard and images
minimal-image and
Quoted 5 lines
Quoted 4 lines
Quoted 4 lines
base-image.
The only thing that is stored in the TMPDIR/deploy/glibc/sources is a MIT directory with the minimal-image/minimal-image.bb file.
Quoted 8 lines
hmm I get it properly populated for console-image,
do_buildis added in base.bbclass I think it should be there for all recipes_______________________________________________
Openembedded-devel mailing list
Openembedded-devel <at> lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Hmm. I do not get the TMPDIR/deploy/glibc/sources populated by any other sources than the console-image.bb file in a MIT directory.
I have tested several builds with different images (micro, minimal, console, base) in combination with DISTRO set to "angstrom-2008.1".
These combinations have I build based on release 2010.12 from tar file as well as a GIT dev-branch dated christmas.
The result is always that the TMPDIR/deploy/glibc/sources is not populated.
On the other hand is the TMPDIR/deploy/glibc/sources always populated if I add "-c buildall" in all combinations (image, distro, and branch) mentioned above.
"-c distribute_sources_all" also always work to get TMPDIR/deploy/glibc/sources populated.
Isn't the idea that TMPDIR/deploy/glibc/sources should be populated automatically without having to add "-c buildall"?
/Anders Törnqvist