* BitBake Compilation errors
@ 2007-08-14 14:40 Vamsi
2007-08-14 16:13 ` Jim Sheldon
2007-08-15 9:53 ` Richard Purdie
0 siblings, 2 replies; 8+ messages in thread
From: Vamsi @ 2007-08-14 14:40 UTC (permalink / raw)
To: openembedded-devel
Hi All,
I followed the steps as mentioned in the GettingStarted and was
trying to build with bitbake as "bitbake nano" but I am getting in to
this error.
Is there any specific versions of the software that I should be using ?
Any help to resolve the following issue would be appreciated. I am
new to Linux environment
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 134, in ?
main()
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 114, in main
cooker = bb.cooker.BBCooker(configuration)
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line 65,
in __init__
self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line
340, in parseConfigurationFile
bb.fetch.fetcher_init(self.configuration.data)
File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/fetch/__init__.py",
line 97, in fetcher_init
pd.delDomain("BB_URI_HEADREVS")
File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'
r
Thanks,
Vamsi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BitBake Compilation errors
2007-08-14 14:40 Vamsi
@ 2007-08-14 16:13 ` Jim Sheldon
2007-08-15 9:53 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Jim Sheldon @ 2007-08-14 16:13 UTC (permalink / raw)
To: openembedded-devel
What do your $PATH and $BBPATH variables look like?
Vamsi wrote:
> Hi All,
>
>
> I followed the steps as mentioned in the GettingStarted and was
> trying to build with bitbake as "bitbake nano" but I am getting in to
> this error.
> Is there any specific versions of the software that I should be using ?
> Any help to resolve the following issue would be appreciated. I am
> new to Linux environment
>
> File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 134, in ?
> main()
> File "/home/ubuntu/MyDesk/oe/bitbake-1.8/bin/bitbake", line 114, in main
> cooker = bb.cooker.BBCooker(configuration)
> File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line 65,
> in __init__
> self.parseConfigurationFile( os.path.join( "conf", "bitbake.conf" ) )
> File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/cooker.py", line
> 340, in parseConfigurationFile
> bb.fetch.fetcher_init(self.configuration.data)
> File "/home/ubuntu/MyDesk/oe/bitbake-1.8/lib/bb/fetch/__init__.py",
> line 97, in fetcher_init
> pd.delDomain("BB_URI_HEADREVS")
> File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
> AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'
> r
>
>
> Thanks,
> Vamsi
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BitBake Compilation errors
@ 2007-08-15 4:10 Vamsi
0 siblings, 0 replies; 8+ messages in thread
From: Vamsi @ 2007-08-15 4:10 UTC (permalink / raw)
To: openembedded-devel
Hi Jim
As mentioned in the Getting Started. But one part that missed out is
the things specific for my distro. I am going to try on that and see.
Thanks
Vamsi
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BitBake Compilation errors
2007-08-14 14:40 Vamsi
2007-08-14 16:13 ` Jim Sheldon
@ 2007-08-15 9:53 ` Richard Purdie
1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2007-08-15 9:53 UTC (permalink / raw)
To: openembedded-devel
Hi,
On Tue, 2007-08-14 at 14:40 +0000, Vamsi wrote:
> pd.delDomain("BB_URI_HEADREVS")
> File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
> AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'
This looks like an old version of python which has a pysqlite2 module
missing features we use. Which version of python and pysqlite2 is this
and can you upgrade it?
Regards,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BitBake Compilation errors
@ 2007-08-15 11:23 Vamsi
2007-08-15 11:48 ` Dr. Michael Lauer
0 siblings, 1 reply; 8+ messages in thread
From: Vamsi @ 2007-08-15 11:23 UTC (permalink / raw)
To: openembedded-devel
Richard,
I could resolve the issue with a different version of bitbake. I was
getting this issue with the bitbake 1.8.2 when i moved on to the
latest one it disappeared.
Thanks,
Vamsi
On 8/15/07, openembedded-devel-request@lists.openembedded.org
<openembedded-devel-request@lists.openembedded.org> wrote:
> Send Openembedded-devel mailing list submissions to
> openembedded-devel@lists.openembedded.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> or, via email, send a message with subject or body 'help' to
> openembedded-devel-request@lists.openembedded.org
>
> You can reach the person managing the list at
> openembedded-devel-owner@lists.openembedded.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Openembedded-devel digest..."
>
>
> Today's Topics:
>
> 1. Re: BitBake Compilation errors (Vamsi)
> 2. Re: BitBake Compilation errors (Richard Purdie)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 15 Aug 2007 04:10:03 +0000
> From: Vamsi <pvamsikris@gmail.com>
> Subject: Re: [oe] BitBake Compilation errors
> To: openembedded-devel@lists.openembedded.org
> Message-ID:
> <8852460a0708142110v47dbde97r3478b5c0fbe6b680@mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Jim
> As mentioned in the Getting Started. But one part that missed out is
> the things specific for my distro. I am going to try on that and see.
>
> Thanks
> Vamsi
>
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 15 Aug 2007 10:53:27 +0100
> From: Richard Purdie <rpurdie@rpsys.net>
> Subject: Re: [oe] BitBake Compilation errors
> To: openembedded-devel@openembedded.org
> Message-ID: <1187171607.6609.20.camel@localhost.localdomain>
> Content-Type: text/plain
>
> Hi,
>
> On Tue, 2007-08-14 at 14:40 +0000, Vamsi wrote:
> > pd.delDomain("BB_URI_HEADREVS")
> > File "bitbake-1.8/lib/bb/persist_data.py", line 66, in delDomain
> > AttributeError: 'pysqlite2.dbapi2.Connection' object has no attribute 'execute'
>
> This looks like an old version of python which has a pysqlite2 module
> missing features we use. Which version of python and pysqlite2 is this
> and can you upgrade it?
>
> Regards,
>
> Richard
>
>
>
>
> ------------------------------
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
> End of Openembedded-devel Digest, Vol 13, Issue 28
> **************************************************
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: BitBake Compilation errors
2007-08-15 11:23 BitBake Compilation errors Vamsi
@ 2007-08-15 11:48 ` Dr. Michael Lauer
0 siblings, 0 replies; 8+ messages in thread
From: Dr. Michael Lauer @ 2007-08-15 11:48 UTC (permalink / raw)
To: Vamsi; +Cc: openembedded-devel
Vamsi wrote:
> I could resolve the issue with a different version of bitbake. I was
> getting this issue with the bitbake 1.8.2 when i moved on to the
> latest one it disappeared.
I'm sorry, but downgrading to 1.8.2 is not an advisable mid-term
solution, since you will miss important features -- I'd rather suggest
following Richard's advice and upgrading your python-sqlite2 package.
Regards,
:M:
--
Michael 'Mickey' Lauer | IT-Freelancer | http://www.vanille-media.de
^ permalink raw reply [flat|nested] 8+ messages in thread
* bitbake compilation errors
@ 2024-06-06 19:57 Ananth, Rajesh
2024-06-06 23:14 ` Zev Weiss
0 siblings, 1 reply; 8+ messages in thread
From: Ananth, Rajesh @ 2024-06-06 19:57 UTC (permalink / raw)
To: openbmc@lists.ozlabs.org
[-- Attachment #1: Type: text/plain, Size: 3204 bytes --]
Bitbake, while compiling the nodejs-native keeps on failing. It happens irrespective of what platform I am building for. Does it require any package fixes for nodejs?
Build environment: Linux bld-ub20s-openbmc 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
| g++ -o Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/memory-optimization-reducer.o ../deps/v8/src/compiler/turboshaft/memory-optimization-reducer.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX' '-DV8_EMBEDDER_STRING="-node.17"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' -I/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/generate-bytecode-output-root -I.//Release/obj/gen -pthread -Wno-unused-parameter -Wno-return-type -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++17 -MMD -MF .//Release/.deps/Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/memory-optimization-reducer.o.d.raw -isystem/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -isystem/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -O2 -pipe -c
| g++: fatal error: Killed signal terminated program cc1plus
| compilation terminated.
| make[1]: *** [tools/v8_gypfiles/v8_turboshaft.target.mk:177: Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/late-optimization-phase.o] Error 1
| make[1]: *** Waiting for unfinished jobs....
| rm d85b0cd18d0307252071c96a6ed9b0c9664aa71f.intermediate af4e842a57ff19a6520eb7907ccb4a3969f292c1.intermediate f6356c0b28cf2ef78d26a21531153d32a6176eb4.intermediate
| make: *** [Makefile:134: node] Error 2
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
ERROR: Task (virtual:native:/home/rajesh/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb:do_compile) failed with exit code '1'
NOTE: Tasks Summary: Attempted 3967 tasks of which 12 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
virtual:native:/home/rajesh/openbmc/meta-openembedded/meta-oe/recipes-devtools/nodejs/nodejs_20.11.1.bb:do_compile
Summary: There were 2 WARNING messages.
Summary: There were 2 ERROR messages, returning a non-zero exit code.
[-- Attachment #2: Type: text/html, Size: 7783 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: bitbake compilation errors
2024-06-06 19:57 bitbake compilation errors Ananth, Rajesh
@ 2024-06-06 23:14 ` Zev Weiss
0 siblings, 0 replies; 8+ messages in thread
From: Zev Weiss @ 2024-06-06 23:14 UTC (permalink / raw)
To: Ananth, Rajesh; +Cc: openbmc@lists.ozlabs.org
On Thu, Jun 06, 2024 at 12:57:31PM PDT, Ananth, Rajesh wrote:
>Bitbake, while compiling the nodejs-native keeps on failing. It happens irrespective of what platform I am building for. Does it require any package fixes for nodejs?
>
>Build environment: Linux bld-ub20s-openbmc 5.4.0-182-generic #202-Ubuntu SMP Fri Apr 26 12:29:36 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
>
>
>| g++ -o Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/memory-optimization-reducer.o ../deps/v8/src/compiler/turboshaft/memory-optimization-reducer.cc '-D_GLIBCXX_USE_CXX11_ABI=1' '-DNODE_OPENSSL_CONF_NAME=nodejs_conf' '-DICU_NO_USER_DATA_OVERRIDE' '-DV8_GYP_BUILD' '-DV8_TYPED_ARRAY_MAX_SIZE_IN_HEAP=64' '-D__STDC_FORMAT_MACROS' '-DV8_TARGET_ARCH_X64' '-DV8_HAVE_TARGET_OS' '-DV8_TARGET_OS_LINUX' '-DV8_EMBEDDER_STRING="-node.17"' '-DENABLE_DISASSEMBLER' '-DV8_PROMISE_INTERNAL_FIELD_COUNT=1' '-DV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION' '-DV8_SHORT_BUILTIN_CALLS' '-DOBJECT_PRINT' '-DV8_INTL_SUPPORT' '-DV8_ATOMIC_OBJECT_FIELD_WRITES' '-DV8_ENABLE_LAZY_SOURCE_POSITIONS' '-DV8_USE_SIPHASH' '-DV8_SHARED_RO_HEAP' '-DV8_WIN64_UNWINDING_INFO' '-DV8_ENABLE_REGEXP_INTERPRETER_THREADED_DISPATCH' '-DV8_USE_ZLIB' '-DV8_ENABLE_TURBOFAN' '-DV8_ENABLE_WEBASSEMBLY' '-DV8_ENABLE_JAVASCRIPT_PROMISE_HOOKS' '-DV8_ALLOCATION_FOLDING' '-DV8_ALLOCATION_SITE_TRACKING' '-DV8_ADVANCED_BIGINT_ALGORITHMS' -I/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -I../deps/v8 -I../deps/v8/include -I.//Release/obj/gen/generate-bytecode-output-root -I.//Release/obj/gen -pthread -Wno-unused-parameter -Wno-return-type -fno-strict-aliasing -m64 -m64 -O3 -fno-omit-frame-pointer -fdata-sections -ffunction-sections -O3 -fno-rtti -fno-exceptions -std=gnu++17 -MMD -MF .//Release/.deps/Release/obj.target/v8_turboshaft/deps/v8/src/compiler/turboshaft/memory-optimization-reducer.o.d.raw -isystem/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -isystem/home/rajesh/openbmc/build/s7106/tmp/work/x86_64-linux/nodejs-native/20.11.1/recipe-sysroot-native/usr/include -O2 -pipe -c
>| g++: fatal error: Killed signal terminated program cc1plus
I'd bet the odds are good this was caused by an OOM (out-of-memory)
condition on your build host -- if you have administrative access, check
dmesg or /var/log/kern.log to confirm. You might need a larger machine
to use for building OpenBMC, or possibly to serialize things if there
were other memory-hungry things running on it at the same time.
Zev
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-06-06 23:15 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-06 19:57 bitbake compilation errors Ananth, Rajesh
2024-06-06 23:14 ` Zev Weiss
-- strict thread matches above, loose matches on Subject: below --
2007-08-15 11:23 BitBake Compilation errors Vamsi
2007-08-15 11:48 ` Dr. Michael Lauer
2007-08-15 4:10 Vamsi
2007-08-14 14:40 Vamsi
2007-08-14 16:13 ` Jim Sheldon
2007-08-15 9:53 ` Richard Purdie
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.