* do_configure error
@ 2017-09-21 13:29 mohammed aqdam
2017-09-23 5:56 ` mohammed aqdam
0 siblings, 1 reply; 5+ messages in thread
From: mohammed aqdam @ 2017-09-21 13:29 UTC (permalink / raw)
To: yocto
Hi all,
i was trying to build rpi-test-image for my rpi3.
i'm getting the following error...
root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k rpi-test-image
Loading cache: 100%
|#####################################################################################################################################|
Time: 0:00:01
Loaded 3160 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal-4.8"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi3"
DISTRO = "poky"
DISTRO_VERSION = "2.3.1"
TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4
callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
meta-raspberrypi = "pyro:8ba2d6fc80b31c87d25c87c863e2a77752b07c3c"
meta-qt5 = "pyro:c6aa602d0640040b470ee81de39726276ddc0ea3"
meta-qt5-extra = "master:05d63591612623ce7751f5536690c40998188ad2"
meta-oe
meta-networking
meta-python
meta-multimedia = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
Initialising tasks: 100%
|################################################################################################################################|
Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
configure: error: you should not run configure as root (set
FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
| See `config.log' for more details
| ERROR: Function failed: do_configure (log file is located at
/u/my_poky/poky-2/poky/build/tmp/work/x86_64-linux/coreutils-native/8.26-r0/temp/log.do_configure.17147)
ERROR: Task (virtual:native:/u/my_poky/poky-2/poky/meta/recipes-core/coreutils/coreutils_8.26.bb:do_configure)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 4168 tasks of which 4167 didn't need to
be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/u/my_poky/poky-2/poky/meta/recipes-core/coreutils/coreutils_8.26.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
i checked for same branch while cloning the data, except for the
qt5-extra layer all are pyro.
what is that i'm missing?
^ permalink raw reply [flat|nested] 5+ messages in thread
* do_configure error
2017-09-21 13:29 do_configure error mohammed aqdam
@ 2017-09-23 5:56 ` mohammed aqdam
2017-09-23 19:33 ` Burton, Ross
0 siblings, 1 reply; 5+ messages in thread
From: mohammed aqdam @ 2017-09-23 5:56 UTC (permalink / raw)
To: yocto
[-- Attachment #1: Type: text/plain, Size: 2571 bytes --]
---------- Forwarded message ----------
From: "mohammed aqdam" <mohammedaqdam@gmail.com>
Date: Sep 21, 2017 6:59 PM
Subject: do_configure error
To: "yocto" <yocto@yoctoproject.org>
Cc:
Hi all,
i was trying to build rpi-test-image for my rpi3.
i'm getting the following error...
root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k rpi-test-image
Loading cache: 100%
|###########################################################
##########################################################################|
Time: 0:00:01
Loaded 3160 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.34.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal-4.8"
TARGET_SYS = "arm-poky-linux-gnueabi"
MACHINE = "raspberrypi3"
DISTRO = "poky"
DISTRO_VERSION = "2.3.1"
TUNE_FEATURES = "arm armv7ve vfp thumb neon vfpv4
callconvention-hard cortexa7"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "pyro:4a39979c8d1e560fa54240e99734a651dfbaa63a"
meta-raspberrypi = "pyro:8ba2d6fc80b31c87d25c87c863e2a77752b07c3c"
meta-qt5 = "pyro:c6aa602d0640040b470ee81de39726276ddc0ea3"
meta-qt5-extra = "master:05d63591612623ce7751f5536690c40998188ad2"
meta-oe
meta-networking
meta-python
meta-multimedia = "pyro:5e82995148a2844c6f483ae5ddd1438d87ea9fb7"
Initialising tasks: 100%
|###########################################################
#####################################################################|
Time: 0:00:11
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
configure: error: you should not run configure as root (set
FORCE_UNSAFE_CONFIGURE=1 in environment to bypass this check)
| See `config.log' for more details
| ERROR: Function failed: do_configure (log file is located at
/u/my_poky/poky-2/poky/build/tmp/work/x86_64-linux/
coreutils-native/8.26-r0/temp/log.do_configure.17147)
ERROR: Task (virtual:native:/u/my_poky/poky-2/poky/meta/recipes-core/
coreutils/coreutils_8.26.bb:do_configure)
failed with exit code '1'
NOTE: Tasks Summary: Attempted 4168 tasks of which 4167 didn't need to
be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/u/my_poky/poky-2/poky/meta/recipes-core/
coreutils/coreutils_8.26.bb:do_configure
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
i checked for same branch while cloning the data, except for the
qt5-extra layer all are pyro.
what is that i'm missing?
[-- Attachment #2: Type: text/html, Size: 3353 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: do_configure error
2017-09-23 5:56 ` mohammed aqdam
@ 2017-09-23 19:33 ` Burton, Ross
2017-09-28 4:51 ` Khem Raj
0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2017-09-23 19:33 UTC (permalink / raw)
To: mohammed aqdam; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 433 bytes --]
On 23 September 2017 at 06:56, mohammed aqdam <mohammedaqdam@gmail.com>
wrote:
>
> i'm getting the following error...
>
> root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k
rpi-test-image
^^^^
> configure: error: you should not run configure as root
As it says, you're running as root. I thought we bailed early if this
happened but obviously not. Don't build as root, build as a normal user.
Ross
[-- Attachment #2: Type: text/html, Size: 615 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: do_configure error
2017-09-23 19:33 ` Burton, Ross
@ 2017-09-28 4:51 ` Khem Raj
2017-09-28 9:36 ` Burton, Ross
0 siblings, 1 reply; 5+ messages in thread
From: Khem Raj @ 2017-09-28 4:51 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto
On Sat, Sep 23, 2017 at 12:33 PM, Burton, Ross <ross.burton@intel.com> wrote:
> On 23 September 2017 at 06:56, mohammed aqdam <mohammedaqdam@gmail.com>
> wrote:
>>
>> i'm getting the following error...
>>
>> root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k
>> rpi-test-image
>
> ^^^^
>
>> configure: error: you should not run configure as root
>
> As it says, you're running as root. I thought we bailed early if this
> happened but obviously not. Don't build as root, build as a normal user.
>
this should be added to sanity check I think.
> Ross
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: do_configure error
2017-09-28 4:51 ` Khem Raj
@ 2017-09-28 9:36 ` Burton, Ross
0 siblings, 0 replies; 5+ messages in thread
From: Burton, Ross @ 2017-09-28 9:36 UTC (permalink / raw)
To: Khem Raj; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 973 bytes --]
On 28 September 2017 at 05:51, Khem Raj <raj.khem@gmail.com> wrote:
> On Sat, Sep 23, 2017 at 12:33 PM, Burton, Ross <ross.burton@intel.com>
> wrote:
> > On 23 September 2017 at 06:56, mohammed aqdam <mohammedaqdam@gmail.com>
> > wrote:
> >>
> >> i'm getting the following error...
> >>
> >> root@pcz-ee207837-2:/u/my_poky/poky-2/poky/build# bitbake -k
> >> rpi-test-image
> >
> > ^^^^
> >
> >> configure: error: you should not run configure as root
> >
> > As it says, you're running as root. I thought we bailed early if this
> > happened but obviously not. Don't build as root, build as a normal user.
> >
>
> this should be added to sanity check I think
>
I thought it did, and I was right:
def check_sanity_everybuild(status, d):
...
if 0 == os.getuid():
raise_sanity_error("Do not use Bitbake as root.", d)
Either Mohammed's user is called root but doesn't have UID 0, or Mohammed
has disabled sanity.
Ross
[-- Attachment #2: Type: text/html, Size: 1679 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-09-28 9:37 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-21 13:29 do_configure error mohammed aqdam
2017-09-23 5:56 ` mohammed aqdam
2017-09-23 19:33 ` Burton, Ross
2017-09-28 4:51 ` Khem Raj
2017-09-28 9:36 ` Burton, Ross
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.