Re: [oe] Extensible SDK install errors

2015-08-25 Thread Adam Lee
Thanks for your comments. I was not running the installer as root.
I tried again and specified the install path in my home directory.
This time it seems to have gone further, but still failed with this:

error: Can't install packagegroup-core-boot-1.0-r17.0@qemuarm: no package
provides systemd

Perhaps I need to disable systemd from distro features?

I will also check my user's permission to solve the permission error.

On Mon, Aug 24, 2015 at 4:11 AM Paul Eggleton paul.eggle...@linux.intel.com
wrote:

 Hi Adam,

 On Friday 21 August 2015 15:06:25 Adam Lee wrote:
  Hello, I built the Extensible SDK on Fido (bitbake core-image-minimal -c
  populate_sdk_ext).
 
  During the installation I get this permission error:
 
  $ ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh
 
   Enter target directory for SDK (default: /opt/poky/1.8):
   You are about to install the SDK to /opt/poky/1.8. Proceed[Y/n]?
   Extracting SDK...done
   Setting it up...
   Extracting buildtools...
   ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh:
 line
   148: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi:
 Permission
   denied
   ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh:
 line
   151: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi:
 Permission
   denied
   ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh:
 line
   155: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi:
 Permission
   denied
   mv: cannot move ‘x86_64-nativesdk-libc.tar.bz2’ to
   ‘/opt/poky/1.8/layers/poky/x86_64-nativesdk-libc.tar.bz2’: Permission
   denied Preparing build system...
   sh: 1: cannot create preparing_build_system.log: Permission denied
   SDK preparation failed: see /opt/poky/1.8/preparing_build_system.log
 
   It looks like `/opt/poky/1.8/layers/poky` directory belongs to the root
  user:
 
  $ ls -l /opt/poky/1.8/layers/
 
   total 36
   drwxrwxr-x 9 root root 4096 Jun 16 10:25 meta-gnome
   drwxrwxr-x 9 root root 4096 Jun 15 10:44 meta-multimedia
   drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-networking
   drwxrwxr-x 20 root root 4096 Jun 15 10:44 meta-oe
   drwxrwxr-x 7 root root 4096 Jun 15 10:44 meta-python
   drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-ruby
   drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-systemd
   drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-xfce
   drwxrwxr-x 13 root root 4096 Aug 21 14:46 poky
 
   I may have missed something obvious. Has anyone seen this?

 Basically you shouldn't be installing the extensible SDK as root. We ought
 to
 be telling you about this up front and we should have a more reasonable
 default path - these are open bugs and patches are in review on the list
 to fix
 them.

 Cheers,
 Paul

 --

 Paul Eggleton
 Intel Open Source Technology Centre

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Extensible SDK install errors

2015-08-24 Thread Paul Eggleton
Hi Adam,

On Friday 21 August 2015 15:06:25 Adam Lee wrote:
 Hello, I built the Extensible SDK on Fido (bitbake core-image-minimal -c
 populate_sdk_ext).
 
 During the installation I get this permission error:
 
 $ ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh
 
  Enter target directory for SDK (default: /opt/poky/1.8):
  You are about to install the SDK to /opt/poky/1.8. Proceed[Y/n]?
  Extracting SDK...done
  Setting it up...
  Extracting buildtools...
  ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
  148: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi: Permission
  denied
  ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
  151: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi: Permission
  denied
  ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
  155: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi: Permission
  denied
  mv: cannot move ‘x86_64-nativesdk-libc.tar.bz2’ to
  ‘/opt/poky/1.8/layers/poky/x86_64-nativesdk-libc.tar.bz2’: Permission
  denied Preparing build system...
  sh: 1: cannot create preparing_build_system.log: Permission denied
  SDK preparation failed: see /opt/poky/1.8/preparing_build_system.log
 
  It looks like `/opt/poky/1.8/layers/poky` directory belongs to the root
 user:
 
 $ ls -l /opt/poky/1.8/layers/
 
  total 36
  drwxrwxr-x 9 root root 4096 Jun 16 10:25 meta-gnome
  drwxrwxr-x 9 root root 4096 Jun 15 10:44 meta-multimedia
  drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-networking
  drwxrwxr-x 20 root root 4096 Jun 15 10:44 meta-oe
  drwxrwxr-x 7 root root 4096 Jun 15 10:44 meta-python
  drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-ruby
  drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-systemd
  drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-xfce
  drwxrwxr-x 13 root root 4096 Aug 21 14:46 poky
 
  I may have missed something obvious. Has anyone seen this?

Basically you shouldn't be installing the extensible SDK as root. We ought to 
be telling you about this up front and we should have a more reasonable 
default path - these are open bugs and patches are in review on the list to fix 
them.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] Extensible SDK install errors

2015-08-21 Thread Andreas Baak
Do you have superuser rights? Usually, you cannot write in /opt without.
Try to install the SDK with sudo or enter your home directory as target
when you are asked.
Regards,
Andreas
Am 22.08.2015 00:07 schrieb Adam Lee adam.yh@gmail.com:

 Hello, I built the Extensible SDK on Fido (bitbake core-image-minimal -c
 populate_sdk_ext).

 During the installation I get this permission error:

 $ ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh
  Enter target directory for SDK (default: /opt/poky/1.8):
  You are about to install the SDK to /opt/poky/1.8. Proceed[Y/n]?
  Extracting SDK...done
  Setting it up...
  Extracting buildtools...
  ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
  148: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi:
 Permission
  denied
  ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
  151: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi:
 Permission
  denied
  ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
  155: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi:
 Permission
  denied
  mv: cannot move ‘x86_64-nativesdk-libc.tar.bz2’ to
  ‘/opt/poky/1.8/layers/poky/x86_64-nativesdk-libc.tar.bz2’: Permission
 denied
  Preparing build system...
  sh: 1: cannot create preparing_build_system.log: Permission denied
  SDK preparation failed: see /opt/poky/1.8/preparing_build_system.log


  It looks like `/opt/poky/1.8/layers/poky` directory belongs to the root
 user:

 $ ls -l /opt/poky/1.8/layers/
  total 36
  drwxrwxr-x 9 root root 4096 Jun 16 10:25 meta-gnome
  drwxrwxr-x 9 root root 4096 Jun 15 10:44 meta-multimedia
  drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-networking
  drwxrwxr-x 20 root root 4096 Jun 15 10:44 meta-oe
  drwxrwxr-x 7 root root 4096 Jun 15 10:44 meta-python
  drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-ruby
  drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-systemd
  drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-xfce
  drwxrwxr-x 13 root root 4096 Aug 21 14:46 poky


  I may have missed something obvious. Has anyone seen this?

 Thanks!
 --
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] Extensible SDK install errors

2015-08-21 Thread Adam Lee
Hello, I built the Extensible SDK on Fido (bitbake core-image-minimal -c
populate_sdk_ext).

During the installation I get this permission error:

$ ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh
 Enter target directory for SDK (default: /opt/poky/1.8):
 You are about to install the SDK to /opt/poky/1.8. Proceed[Y/n]?
 Extracting SDK...done
 Setting it up...
 Extracting buildtools...
 ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
 148: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi: Permission
 denied
 ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
 151: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi: Permission
 denied
 ./poky-glibc-x86_64-core-image-minimal-armv5e-toolchain-ext-1.8.sh: line
 155: /opt/poky/1.8/environment-setup-armv5e-poky-linux-gnueabi: Permission
 denied
 mv: cannot move ‘x86_64-nativesdk-libc.tar.bz2’ to
 ‘/opt/poky/1.8/layers/poky/x86_64-nativesdk-libc.tar.bz2’: Permission denied
 Preparing build system...
 sh: 1: cannot create preparing_build_system.log: Permission denied
 SDK preparation failed: see /opt/poky/1.8/preparing_build_system.log


 It looks like `/opt/poky/1.8/layers/poky` directory belongs to the root
user:

$ ls -l /opt/poky/1.8/layers/
 total 36
 drwxrwxr-x 9 root root 4096 Jun 16 10:25 meta-gnome
 drwxrwxr-x 9 root root 4096 Jun 15 10:44 meta-multimedia
 drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-networking
 drwxrwxr-x 20 root root 4096 Jun 15 10:44 meta-oe
 drwxrwxr-x 7 root root 4096 Jun 15 10:44 meta-python
 drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-ruby
 drwxrwxr-x 5 root root 4096 Jun 15 10:44 meta-systemd
 drwxrwxr-x 11 root root 4096 Jun 15 10:44 meta-xfce
 drwxrwxr-x 13 root root 4096 Aug 21 14:46 poky


 I may have missed something obvious. Has anyone seen this?

Thanks!
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel