Skip to contentSkip to conversation

do_populate_sdk error

DISCUSSION mareczek 3 participants 5 messages Jul 3, 2014 – Jul 4, 2014

lore
Share & tools
lore

mareczek

author
#0 lore raw

Hello,

I ran into an error during do_populate_sdk

ERROR: Unable to install packages. Command '/yocto-daisy/build/tmp/sysroots/i686-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-imx6riotboard' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
W: Unable to read /yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/apt-sdk/preferences.d/ - DirectoryExists (2: No such file or directory)
E: Unable to locate package nativesdk-packagegroup-sdk-host

ERROR: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in: /yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/temp/log.do_populate_sdk.32319
ERROR: Task 7 (/yocto-daisy/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'

I tried to find an answer, but without success. I tried to compile nativesdk-packagegroup-sdk-host and it was already compiled.

I was able to compile u-boot, kernel, kernel modules, dtb, rootfs and everythink works quite well, but now I'm stuck with this and have no clue how to solve this. If anyone knows how to make it working I would be very glad.

Thank you very much

Marek

#1 lore raw

Seems that something is wrong with PACKAGE_CLASSES = package_deb, maybe you can use PACKAGE_CLASSES = package_rpm ?

// Robert

Quoted 33 lines · mareczek

Hello,

I ran into an error during do_populate_sdk

ERROR: Unable to install packages. Command '/yocto-daisy/build/tmp/sysroots/i686-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-imx6riotboard' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
W: Unable to read /yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/apt-sdk/preferences.d/
- DirectoryExists (2: No such file or directory)
E: Unable to locate package nativesdk-packagegroup-sdk-host

ERROR: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in:
/yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/temp/log.do_populate_sdk.32319

ERROR: Task 7 (/yocto-daisy/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'

I tried to find an answer, but without success. I tried to compile nativesdk-packagegroup-sdk-host and it was already compiled.

I was able to compile u-boot, kernel, kernel modules, dtb, rootfs and everythink works quite well, but now I'm stuck with this and have no clue how to solve this. If anyone knows how to make it working I would be very glad.

Thank you very much

Marek

author
#2 lore raw

Thank you very much, it solves that error.

Marek

Dne 7/4/2014 2:18 AM, Robert Yang napsal(a):

Quoted 43 lines

Seems that something is wrong with PACKAGE_CLASSES = package_deb, maybe you can use PACKAGE_CLASSES = package_rpm ?

// Robert

Quoted 36 lines · mareczek

Hello,

I ran into an error during do_populate_sdk

ERROR: Unable to install packages. Command '/yocto-daisy/build/tmp/sysroots/i686-linux/usr/bin/apt-get install
--force-yes
--allow-unauthenticated nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-imx6riotboard' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
W: Unable to read /yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/apt-sdk/preferences.d/

- DirectoryExists (2: No such file or directory)
E: Unable to locate package nativesdk-packagegroup-sdk-host

ERROR: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in:
/yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/temp/log.do_populate_sdk.32319

ERROR: Task 7 (/yocto-daisy/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'

I tried to find an answer, but without success. I tried to compile nativesdk-packagegroup-sdk-host and it was already compiled.

I was able to compile u-boot, kernel, kernel modules, dtb, rootfs and everythink works quite well, but now I'm stuck with this and have no clue how to solve this. If anyone knows how to make it working I would be very glad.

Thank you very much

Marek

#3 lore raw

Sounds good, would you please provide the reproduce steps so that I can file a bug for daisy ?

// Robert

Quoted 50 lines · mareczek

Thank you very much, it solves that error.

Marek

Dne 7/4/2014 2:18 AM, Robert Yang napsal(a):

Quoted 42 lines

Seems that something is wrong with PACKAGE_CLASSES = package_deb, maybe you can use PACKAGE_CLASSES = package_rpm ?

// Robert

Quoted 35 lines · mareczek

Hello,

I ran into an error during do_populate_sdk

ERROR: Unable to install packages. Command '/yocto-daisy/build/tmp/sysroots/i686-linux/usr/bin/apt-get install --force-yes --allow-unauthenticated nativesdk-packagegroup-sdk-host packagegroup-cross-canadian-imx6riotboard' returned 100:
Reading package lists...
Building dependency tree...
Reading state information...
W: Unable to read /yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/apt-sdk/preferences.d/

- DirectoryExists (2: No such file or directory)
E: Unable to locate package nativesdk-packagegroup-sdk-host

ERROR: Function failed: do_populate_sdk
ERROR: Logfile of failure stored in:
/yocto-daisy/build/tmp/work/cortexa9hf-vfp-neon-poky-linux-gnueabi/meta-toolchain/1.0-r7/temp/log.do_populate_sdk.32319

ERROR: Task 7 (/yocto-daisy/meta/recipes-core/meta/meta-toolchain.bb, do_populate_sdk) failed with exit code '1'

I tried to find an answer, but without success. I tried to compile nativesdk-packagegroup-sdk-host and it was already compiled.

I was able to compile u-boot, kernel, kernel modules, dtb, rootfs and everythink works quite well, but now I'm stuck with this and have no clue how to solve this. If anyone knows how to make it working I would be very glad.

Thank you very much

Marek