All of lore.kernel.org
 help / color / mirror / Atom feed
* Build problems
@ 2009-01-27 12:25 Paolo Cremonese
  2009-01-27 13:18 ` Charlton, John
  2009-01-27 13:35 ` Marco Cavallini
  0 siblings, 2 replies; 19+ messages in thread
From: Paolo Cremonese @ 2009-01-27 12:25 UTC (permalink / raw)
  To: openembedded-devel

Hi all.
I'm new in Openembedded.
I'm trying to build an image ( bitbake opie-image), and I get errors.
In the following the output of bitbake:

Can anyone help me?

Thanks in advance,
Paolo



NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it
to increase performance.
NOTE: Handling BitBake files: \ (6411/6411) [100 %]
NOTE: Parsing finished. 6140 cached, 0 parsed, 271 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: build 200901271107: started

OE Build Configuration:
BB_VERSION        = "1.8.13"
METADATA_BRANCH   = "org.openembedded.dev"
METADATA_REVISION = "a41bdd6cda499d2629ce2a156348620b7ab7afc4"
TARGET_ARCH       = "i686"
TARGET_OS         = "linux"
MACHINE           = "i686-generic"
DISTRO            = "minimal"
DISTRO_VERSION    = ".dev-snapshot-20090127"
TARGET_FPU        = ""

NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for virtual/i686-linux-binutils
(binutils-cross, external-toolchain);
NOTE: consider defining PREFERRED_PROVIDER_virtual/i686-linux-binutils
NOTE: multiple providers are available for virtual/libqte2
(qte-mt-static, qte, qte-mt);
NOTE: consider defining PREFERRED_PROVIDER_virtual/libqte2
NOTE: multiple providers are available for
virtual/i686-linux-libc-initial (glibc-initial, eglibc-initial);
NOTE: consider defining
PREFERRED_PROVIDER_virtual/i686-linux-libc-initial
NOTE: multiple providers are available for gconf (gconf, gconf-dbus);
NOTE: consider defining PREFERRED_PROVIDER_gconf
NOTE: multiple providers are available for avahi (avahi, avahi-python);
NOTE: consider defining PREFERRED_PROVIDER_avahi
NOTE: multiple providers are available for virtual/db (db3, db);
NOTE: consider defining PREFERRED_PROVIDER_virtual/db
NOTE: multiple providers are available for virtual/db-native
(db3-native, db-native);
NOTE: consider defining PREFERRED_PROVIDER_virtual/db-native
NOTE: multiple providers are available for gtk+ (gtk+, gtk
+-fastscaling);
NOTE: consider defining PREFERRED_PROVIDER_gtk+
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 60 of 2525 (ID:
1007, /home/paolo/oe/stuff/openembedded/packages/pkgconfig/pkgconfig-native_0.22.bb, do_setscene)
NOTE: package pkgconfig-native-0.22: started
NOTE: package pkgconfig-native-0.22-r7: task do_setscene: started
NOTE: package pkgconfig-native-0.22-r7: task do_setscene: completed
NOTE: package pkgconfig-native-0.22: completed
NOTE: Running task 61 of 2525 (ID:
1008, /home/paolo/oe/stuff/openembedded/packages/pkgconfig/pkgconfig-native_0.22.bb, do_fetch)
NOTE: package pkgconfig-native-0.22: started
NOTE: package pkgconfig-native-0.22-r7: task do_fetch: started
NOTE: fetch
http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
--11:09:10--
http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
           => `/home/paolo/sources/pkg-config-0.22.tar.gz'
Resolving pkgconfig.freedesktop.org... 131.252.210.176
Connecting to pkgconfig.freedesktop.org|131.252.210.176|:80...
connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,006,425 (983K) [application/x-gzip]

100%[====================================>] 1,006,425    206.02K/s
ETA 00:00

11:09:16 (181.24 KB/s) - `/home/paolo/sources/pkg-config-0.22.tar.gz'
saved [1006425/1006425]

NOTE: package pkgconfig-native-0.22-r7: task do_fetch: completed
NOTE: package pkgconfig-native-0.22: completed
NOTE: Running task 62 of 2525 (ID:
1009, /home/paolo/oe/stuff/openembedded/packages/pkgconfig/pkgconfig-native_0.22.bb, do_unpack)
NOTE: package pkgconfig-native-0.22: started
NOTE: package pkgconfig-native-0.22-r7: task do_unpack: started
NOTE: Unpacking /home/paolo/sources/pkg-config-0.22.tar.gz
to /home/paolo/oe/stuff/build/tmp/work/i686-linux/pkgconfig-native-0.22-r7/
NOTE:
Unpacking /home/paolo/oe/stuff/openembedded/packages/pkgconfig/pkgconfig-0.22/glibconfig-sysdefs.h to /home/paolo/oe/stuff/build/tmp/work/i686-linux/pkgconfig-native-0.22-r7/
NOTE: package pkgconfig-native-0.22-r7: task do_unpack: completed
NOTE: package pkgconfig-native-0.22: completed
NOTE: Running task 64 of 2525 (ID:
1131, /home/paolo/oe/stuff/openembedded/packages/libtool/libtool-cross_1.5.10.bb, do_configure)
NOTE: package libtool-cross-1.5.10: started
NOTE: package libtool-cross-1.5.10-r10: task do_configure: started
ERROR: function do_configure failed
ERROR: log data follows
(/home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/temp/log.do_configure.7933)
| automake (GNU automake) 1.9.3
| Written by Tom Tromey <tromey@redhat.com>.
| 
| Copyright 2004 Free Software Foundation, Inc.
| This is free software; see the source for copying conditions.  There
is NO
| warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
| AUTOV is 1.9
| NOTE: Executing autoreconf --verbose --install --force
--exclude=libtoolize
-I /home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/libtool-1.5.10/ -I/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal-1.9 -I /home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal
-I /home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/libtool-1.5.10/ -I /home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal-1.9 -I /home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal --force
| autoreconf: configure.ac: tracing
| autoreconf: configure.ac: adding subdirectory libltdl to autoreconf
| autoreconf: Entering directory `libltdl'
| autoreconf:
running: /home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/bin/autoconf --include=/home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/libtool-1.5.10/ --include=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal-1.9 --include=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal --force --warnings=cross
| autoreconf:
running: /home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/bin/autoheader --include=/home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/libtool-1.5.10/ --include=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal-1.9 --include=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/share/aclocal --force --warnings=cross
| autoreconf: running: automake --foreign --add-missing --copy
--force-missing --warnings=cross
| automake: unknown warning category `cross'
| autoreconf: running: gnu-configize
| autoreconf: Leaving directory `libltdl'
| autoreconf: configure.ac: not using Autoheader
| automake: unknown warning category `cross'
| autoreconf: Leaving directory `.'
| NOTE:
Running /home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/libtool-1.5.10/configure 		    --build=i686-linux 		    --host=i686-linux 		    --target=i686-linux 		    --prefix=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr 		    --exec_prefix=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr 		    --bindir=/home/paolo/oe/stuff/build/tmp/staging/i686-linux/usr/bin 		    --sbindir=/usr/sbin 		    --libexecdir=/usr/libexec 		    --datadir=/usr/share 		    --sysconfdir=/etc 		    --sharedstatedir=/usr/com 		    --localstatedir=/var 		    --libdir=/usr/lib 		    --includedir=/usr/include 		    --oldincludedir=/usr/include 		    --infodir=/usr/share/info 		    --mandir=/usr/share/man 			 		    ...
| configure: loading site
script /home/paolo/oe/stuff/openembedded/site/endian-little
| configure: loading site
script /home/paolo/oe/stuff/openembedded/site/common-linux
| configure: loading site
script /home/paolo/oe/stuff/openembedded/site/common-glibc
| configure: loading site
script /home/paolo/oe/stuff/openembedded/site/ix86-common
| configure: loading site
script /home/paolo/oe/stuff/openembedded/site/common
| configure: loading site
script /home/paolo/oe/stuff/openembedded/site/common
| checking for a BSD-compatible install... /usr/bin/install -c
| checking whether build environment is sane... yes
| checking for gawk... gawk
| checking whether make sets $(MAKE)... yes
| checking for i686-linux-gcc... ccache i686-linux-gcc -march=pentiumpro
| checking for C compiler default output file name...
| configure: error: C compiler cannot create executables
| See `config.log' for more details.
| FATAL: oe_runconf failed
NOTE: Task
failed: /home/paolo/oe/stuff/build/tmp/work/i686-linux/libtool-cross-1.5.10-r10/temp/log.do_configure.7933
NOTE: package libtool-cross-1.5.10-r10: task do_configure: failed
ERROR: TaskFailed event exception, aborting
NOTE: package libtool-cross-1.5.10: failed
ERROR: Build
of /home/paolo/oe/stuff/openembedded/packages/libtool/libtool-cross_1.5.10.bb do_configure failed
ERROR: Task 1131
(/home/paolo/oe/stuff/openembedded/packages/libtool/libtool-cross_1.5.10.bb, do_configure) failed
NOTE: Tasks Summary: Attempted 63 tasks of which 60 didn't need to be
rerun and 1 failed.
ERROR:
'/home/paolo/oe/stuff/openembedded/packages/libtool/libtool-cross_1.5.10.bb' failed
NOTE: build 200901271107: completed
paolo@ubuntu2:~/oe/stuff/build$ 






^ permalink raw reply	[flat|nested] 19+ messages in thread
* Build problems
@ 2024-06-03 23:34 Ananth, Rajesh
  2024-06-04 20:28 ` Patrick Williams
  0 siblings, 1 reply; 19+ messages in thread
From: Ananth, Rajesh @ 2024-06-03 23:34 UTC (permalink / raw)
  To: openbmc@lists.ozlabs.org

[-- Attachment #1: Type: text/plain, Size: 3969 bytes --]

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.





[-- Attachment #2: Type: text/html, Size: 18015 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-06-04 20:29 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-27 12:25 Build problems Paolo Cremonese
2009-01-27 13:18 ` Charlton, John
2009-01-27 13:35 ` Marco Cavallini
2009-01-28  9:49   ` Paolo Cremonese
2009-01-28 10:03     ` Marco Cavallini
2009-01-29 11:14       ` Paolo Cremonese
2009-01-29 12:35         ` Yuri Bushmelev
2009-01-30 16:33         ` Marco Cavallini
2009-02-02 14:57           ` Paolo Cremonese
2009-02-02 15:17             ` Ihar Hrachyshka
2009-02-02 16:46               ` Philip Balister
2009-02-02 16:13             ` Marco Cavallini
2009-02-04  9:27               ` Paolo Cremonese
2009-02-04 11:29                 ` Koen Kooi
2009-02-04 15:48                   ` Paolo Cremonese
2009-02-04 17:47                     ` Marcin Juszkiewicz
2009-01-28 10:04     ` Elena of Valhalla
  -- strict thread matches above, loose matches on Subject: below --
2024-06-03 23:34 Ananth, Rajesh
2024-06-04 20:28 ` Patrick Williams

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.