Build problems

Ananth, Rajesh rajesh.ananth at smartm.com
Tue Jun 4 09:34:52 AEST 2024


Hi,


I am new to the OpenBmc development, and as a first step I am trying to build the "bitbake obmc-phosphor-image" for the s2600wf platform. I have followed the instructions as per the OpenBmc git page.



I could see that the build is not validated for Ubuntu-24.04 and it fails with some network related errors. I don't have any firewall restrictions. For a starter like me, what would be the ideal base Kernel/distribution to get started with?




My build environment is:
====================
Linux bld-ub24s-openbmc 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux



Output from the bitbake:

=======================
WARNING: Host distribution "ubuntu-24.04" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |########################################################################################################| Time: 0:00:02
Loaded 4747 entries from dependency cache.
Parsing recipes: 100% |######################################################################################################| Time: 0:00:00
Parsing of 2864 .bb files complete (2863 cached, 1 parsed). 4748 targets, 673 skipped, 0 masked, 0 errors.
WARNING: No bb files in default matched BBFILE_PATTERN_s2600wf ''
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "2.9.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "ubuntu-24.04"
TARGET_SYS           = "arm-openbmc-linux-gnueabi"
MACHINE              = "s2600wf"
DISTRO               = "openbmc-phosphor"
DISTRO_VERSION       = "nodistro.0"
TUNE_FEATURES        = "arm thumb arm1176jzs"
TARGET_FPU           = "soft"
meta
meta-oe
meta-networking
meta-python
meta-phosphor
meta-aspeed
meta-intel-openbmc
meta-s2600wf         = "master:ecb9886523248ce726b2a452d12a48234d126fc5"

Sstate summary: Wanted 2809 Local 0 Mirrors 0 Missed 2809 Current 2 (0% match, 0% complete)#######################           | ETA:  0:00:00
Initialising tasks: 100% |###################################################################################################| Time: 0:00:04
NOTE: Executing Tasks
ERROR: PermissionError: [Errno 1] Operation not permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rajesh/openbmc/poky/bitbake/bin/bitbake-worker", line 278, in child
    bb.utils.disable_network(uid, gid)
  File "/home/rajesh/openbmc/poky/bitbake/lib/bb/utils.py", line 1696, in disable_network
    with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 1] Operation not permitted

ERROR: PermissionError: [Errno 1] Operation not permitted

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/rajesh/openbmc/poky/bitbake/bin/bitbake-worker", line 278, in child
    bb.utils.disable_network(uid, gid)
  File "/home/rajesh/openbmc/poky/bitbake/lib/bb/utils.py", line 1696, in disable_network
    with open("/proc/self/uid_map", "w") as f:
PermissionError: [Errno 1] Operation not permitted

ERROR: Task (/home/rajesh/openbmc/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_prepare_recipe_sysroot) failed with exit code '1'
ERROR: Task (/home/rajesh/openbmc/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_unpack) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5 tasks of which 3 didn't need to be rerun and 2 failed.

Summary: 2 tasks failed:
  /home/rajesh/openbmc/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_prepare_recipe_sysroot
  /home/rajesh/openbmc/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_unpack
Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20240603/7d85393c/attachment-0001.htm>


More information about the openbmc mailing list