Bug 7536 - The manifest file is empty for sdk ext
Summary: The manifest file is empty for sdk ext
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.8
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.9
Assignee: Randy Witt
QA Contact: Yi Zhao
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-03-30 09:17 UTC by Yi Zhao
Modified: 2015-09-28 07:03 UTC (History)
8 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yi Zhao 2015-03-30 09:17:36 UTC
Git rev: master/8b3d3e7c957ad06c390886487f69aeb8e145da6a

Steps:
1. set the arch to qemux86-64
2. bitbake core-image-sato -c populate_sdk_ext

The sdk ext can build without problems. But the manifest files are all empty:
###################################
$ ls -lh build/tmp/deploy/sdk
total 2.0G
-rw-rw-r-- 1 build build    0 Mar 27 19:13 poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.8.manifest
-rwxr-xr-x 1 build build  28M Mar 27 19:14 poky-glibc-x86_64-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.8.sh
-rw-rw-r-- 1 build build    0 Mar 27 19:15 poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-1.8.manifest
-rwxr-xr-x 1 build build 2.0G Mar 27 19:25 poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-1.8.sh
-rw-rw-r-- 1 build build    0 Mar 27 19:12 x86_64-nativesdk-libc.manifest
-rw-r--r-- 1 build build 2.2M Mar 27 19:12 x86_64-nativesdk-libc.tar.bz2
####################################
Comment 1 Alexandru Georgescu 2015-04-09 15:33:04 UTC
found during 1.8_M4.rc2 testing
fido:33558eacc8a2d3dce3396b9ab2fd0773ac5076bc
Comment 2 Bogdan Alexandru Voiculescu 2015-09-15 13:11:17 UTC
checking another bug I discovered this one might be solved already: 
3280415 -rw-------. 1 valentin valentin        162 Sep 15 14:11 x86_64-nativesdk-libc.host.manifest
3280664 -rw-r--r--. 1 valentin valentin    2503862 Sep 15 14:11 x86_64-nativesdk-libc.tar.bz2
3280406 -rw-------. 1 valentin valentin          0 Sep 15 14:09 x86_64-nativesdk-libc.target.manifest

3280666 -rw-------. 1 valentin valentin        136 Sep 15 14:13 poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.host.manifest
3280668 -rwxr-xr-x. 1 valentin valentin 1585805917 Sep 15 14:16 poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.sh
3280407 -rw-------. 1 valentin valentin          0 Sep 15 14:13 poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.target.manifest

It is normal to have target.manifest empty. 

Host.manifest files have the "meta-environment-extsdk-qemux86 x86_64-nativesdk 1.0" record, so are good.  The "BDB2053 Freeing read" are covered by another bug:

=  https://bugzilla.yoctoproject.org/show_bug.cgi?id=8028


cat tmp/deploy/sdk/poky-glibc-x86_64-core-image-minimal-i586-toolchain-ext-1.8+snapshot.host.manifest
BDB2053 Freeing read
BDB2053 Freeing read
BDB2053 Freeing read
BDB2053 Freeing read
meta-environment-extsdk-qemux86 x86_64-nativesdk 1.0

Please recheck this bug. Marking it as resolved.
Comment 3 Yi Zhao 2015-09-28 07:03:50 UTC
Verified with master/5a51fb28dbdfcae8ceb503a5290532dd38aeb09f

########################
$ ls -l
total 2153388
-rw-r--r-- 1 build build        154 Sep 25 22:28 i686-nativesdk-libc.host.manifest
-rw-r--r-- 1 build build    2134244 Sep 25 22:28 i686-nativesdk-libc.tar.bz2
-rw-r--r-- 1 build build          0 Sep 25 22:27 i686-nativesdk-libc.target.manifest
-rw-r--r-- 1 build build       4772 Sep 25 22:27 poky-glibc-i686-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.8+snapshot-20150925.host.manifest
-rwxr-xr-x 1 build build   26946286 Sep 25 22:27 poky-glibc-i686-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.8+snapshot-20150925.sh
-rw-r--r-- 1 build build          0 Sep 25 22:26 poky-glibc-i686-buildtools-tarball-core2-64-buildtools-nativesdk-standalone-1.8+snapshot-20150925.target.manifest
-rw-r--r-- 1 build build         53 Sep 25 22:29 poky-glibc-i686-core-image-sato-core2-64-toolchain-ext-1.8+snapshot.host.manifest
-rwxr-xr-x 1 build build 2175960100 Sep 25 22:33 poky-glibc-i686-core-image-sato-core2-64-toolchain-ext-1.8+snapshot.sh
-rw-r--r-- 1 build build          0 Sep 25 22:28 poky-glibc-i686-core-image-sato-core2-64-toolchain-ext-1.8+snapshot.target.manifest
##########################