* Recipe build error
@ 2021-03-18 9:09 Rajashree Sankar
2021-03-18 14:56 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Rajashree Sankar @ 2021-03-18 9:09 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1.1: Type: text/plain, Size: 1454 bytes --]
Hello,
I tried building a recipe after cleaning it.(eg :command bitbake -c
cleanall <recipe>)
I get this error even after clean building the buildchroot and
isar-bootstrap.
Please look into the logs attached below.
Let us know what we could do.
Thanks and Regards,
Rajashree Sankar
--
CONFIDENTIALITY
This e-mail message and any attachments thereto, is
intended only for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information. If you are not the
intended recipient of this e-mail message, you are hereby notified that any
dissemination, distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited. If you have received this
e-mail message in error, please immediately notify the sender and
permanently delete the original and any copies of this email and any prints
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the
Uniform Electronic Transactions Act or the applicability of any other law
of similar substance and effect, absent an express statement to the
contrary hereinabove, this e-mail message its contents, and any attachments
hereto are not intended to represent an offer or acceptance to enter into a
contract and are not otherwise intended to bind the sender, Sanmina
Corporation (or any of its subsidiaries), or any other person or entity.
[-- Attachment #1.1.2: Type: text/html, Size: 1654 bytes --]
[-- Attachment #1.2: recipe_logs --]
[-- Type: application/octet-stream, Size: 4495 bytes --]
ERROR: ar0239-cip-1.0-r0 do_dpkg_build: Error executing a python function in exec_python_func() autogenerated:
The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_python_func() autogenerated', lineno: 2, function: <module>
0001:
*** 0002:do_dpkg_build(d)
0003:
File: '/work/isar/meta/classes/dpkg-base.bbclass', lineno: 150, function: do_dpkg_build
0146:python do_dpkg_build() {
0147: lock = bb.utils.lockfile(d.getVar("REPO_ISAR_DIR") + "/isar.lock",
0148: shared=True)
0149: bb.build.exec_func("dpkg_do_mounts", d)
*** 0150: bb.build.exec_func("dpkg_runbuild", d)
0151: bb.build.exec_func("dpkg_undo_mounts", d)
0152: bb.utils.unlockfile(lock)
0153:}
0154:
File: '/work/isar/bitbake/lib/bb/build.py', lineno: 249, function: exec_func
0245: with bb.utils.fileslocked(lockfiles):
0246: if ispython:
0247: exec_func_python(func, d, runfile, cwd=adir)
0248: else:
*** 0249: exec_func_shell(func, d, runfile, cwd=adir)
0250:
0251: try:
0252: curcwd = os.getcwd()
0253: except:
File: '/work/isar/bitbake/lib/bb/build.py', lineno: 450, function: exec_func_shell
0446: with open(fifopath, 'r+b', buffering=0) as fifo:
0447: try:
0448: bb.debug(2, "Executing shell function %s" % func)
0449: with open(os.devnull, 'r+') as stdin, logfile:
*** 0450: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0451: finally:
0452: os.unlink(fifopath)
0453:
0454: bb.debug(2, "Shell function %s finished" % func)
File: '/work/isar/bitbake/lib/bb/process.py', lineno: 182, function: run
0178: if not stderr is None:
0179: stderr = stderr.decode("utf-8")
0180:
0181: if pipe.returncode != 0:
*** 0182: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0183: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/work/build/tmp/work/cip-core-buster-armhf/ar0239-cip/1.0-r0/temp/run.dpkg_runbuild.11628' failed with exit code 2:
dpkg-buildpackage: info: source package ar0239-cip
dpkg-buildpackage: info: source version 1.0
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by ISAR project <isar-users@googlegroups.com>
dpkg-architecture: warning: specified GNU system type arm-linux-gnueabihf does not match CC system type x86_64-linux-gnu, try setting a correct CC environment variable
dpkg-source -I --before-build .
dpkg-buildpackage: info: host architecture armhf
fakeroot debian/rules clean
CFLAGS= LDFLAGS= dh clean --parallel
dh_auto_clean -O--parallel
dh_clean -O--parallel
dpkg-source -I -b .
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: warning: source directory 'src' is not <sourcepackage>-<upstreamversion> 'ar0239-cip-1.0'
dpkg-source: info: using source format '1.0'
dpkg-source: info: building ar0239-cip in ar0239-cip_1.0.tar.gz
dpkg-source: info: building ar0239-cip in ar0239-cip_1.0.dsc
debian/rules build
CFLAGS= LDFLAGS= dh build --parallel
dh_update_autotools_config -O--parallel
dh_auto_configure -O--parallel
debian/rules override_dh_auto_build
make[1]: Entering directory '/home/builder/ar0239-cip/src'
/usr/bin/make -C /lib/modules/4.19.140-cip33-1.1.0/build M=/home/builder/ar0239-cip/src modules
make[2]: Entering directory '/usr/src/linux-headers-4.19.140-cip33-1.1.0'
make[3]: *** No rule to make target '/home/builder/ar0239-cip/src/ar0239.c', needed by '/home/builder/ar0239-cip/src/ar0239.o'. Stop.
make[2]: *** [Makefile:1530: _module_/home/builder/ar0239-cip/src] Error 2
make[2]: Leaving directory '/usr/src/linux-headers-4.19.140-cip33-1.1.0'
make[1]: *** [debian/rules:28: override_dh_auto_build] Error 2
make[1]: Leaving directory '/home/builder/ar0239-cip/src'
make: *** [debian/rules:34: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
WARNING: exit code 2 from a shell command.
ERROR: Logfile of failure stored in: /work/build/tmp/work/cip-core-buster-armhf/ar0239-cip/1.0-r0/temp/log.do_dpkg_build.11628
ERROR: Task (/repo/recipes-kernel/ar0239/ar0239.bb:do_dpkg_build) failed with exit code '1'
NOTE: Tasks Summary: Attempted 38 tasks of
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Recipe build error
2021-03-18 9:09 Recipe build error Rajashree Sankar
@ 2021-03-18 14:56 ` Jan Kiszka
2021-03-18 15:36 ` Rajashree Sankar
0 siblings, 1 reply; 3+ messages in thread
From: Jan Kiszka @ 2021-03-18 14:56 UTC (permalink / raw)
To: Rajashree Sankar, isar-users
On 18.03.21 10:09, Rajashree Sankar wrote:
> Hello,
> I tried building a recipe after cleaning it.(eg :command bitbake -c
> cleanall <recipe>)
> I get this error even after clean building the buildchroot and
> isar-bootstrap.
> Please look into the logs attached below.
> Let us know what we could do.
This is a recipe-local issue:
make[1]: Entering directory '/home/builder/ar0239-cip/src'
/usr/bin/make -C /lib/modules/4.19.140-cip33-1.1.0/build
M=/home/builder/ar0239-cip/src modules
make[2]: Entering directory '/usr/src/linux-headers-4.19.140-cip33-1.1.0'
make[3]: *** No rule to make target
'/home/builder/ar0239-cip/src/ar0239.c', needed by
'/home/builder/ar0239-cip/src/ar0239.o'. Stop.
Something in your recipe prevents that the required source file
(src/ar0239.c) is unpacked and stored at the expected location.
Jan
--
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Recipe build error
2021-03-18 14:56 ` Jan Kiszka
@ 2021-03-18 15:36 ` Rajashree Sankar
0 siblings, 0 replies; 3+ messages in thread
From: Rajashree Sankar @ 2021-03-18 15:36 UTC (permalink / raw)
To: Jan Kiszka; +Cc: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 2308 bytes --]
Localizing the issue really helps.Can you tell us more specific where to
look in(in terms of file names)
On Thu, Mar 18, 2021 at 8:26 PM Jan Kiszka <jan.kiszka@siemens.com> wrote:
> On 18.03.21 10:09, Rajashree Sankar wrote:
> > Hello,
> > I tried building a recipe after cleaning it.(eg :command bitbake -c
> > cleanall <recipe>)
> > I get this error even after clean building the buildchroot and
> > isar-bootstrap.
> > Please look into the logs attached below.
> > Let us know what we could do.
>
> This is a recipe-local issue:
>
> make[1]: Entering directory '/home/builder/ar0239-cip/src'
> /usr/bin/make -C /lib/modules/4.19.140-cip33-1.1.0/build
> M=/home/builder/ar0239-cip/src modules
> make[2]: Entering directory '/usr/src/linux-headers-4.19.140-cip33-1.1.0'
> make[3]: *** No rule to make target
> '/home/builder/ar0239-cip/src/ar0239.c', needed by
> '/home/builder/ar0239-cip/src/ar0239.o'. Stop.
>
> Something in your recipe prevents that the required source file
> (src/ar0239.c) is unpacked and stored at the expected location.
>
> Jan
>
> --
> Siemens AG, T RDA IOT
> Corporate Competence Center Embedded Linux
>
--
CONFIDENTIALITY
This e-mail message and any attachments thereto, is
intended only for use by the addressee(s) named herein and may contain
legally privileged and/or confidential information. If you are not the
intended recipient of this e-mail message, you are hereby notified that any
dissemination, distribution or copying of this e-mail message, and any
attachments thereto, is strictly prohibited. If you have received this
e-mail message in error, please immediately notify the sender and
permanently delete the original and any copies of this email and any prints
thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS
E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING. Notwithstanding the
Uniform Electronic Transactions Act or the applicability of any other law
of similar substance and effect, absent an express statement to the
contrary hereinabove, this e-mail message its contents, and any attachments
hereto are not intended to represent an offer or acceptance to enter into a
contract and are not otherwise intended to bind the sender, Sanmina
Corporation (or any of its subsidiaries), or any other person or entity.
[-- Attachment #1.2: Type: text/html, Size: 2864 bytes --]
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4252 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-18 15:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18 9:09 Recipe build error Rajashree Sankar
2021-03-18 14:56 ` Jan Kiszka
2021-03-18 15:36 ` Rajashree Sankar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox