Git Product home page Git Product logo

Comments (6)

delhiryder avatar delhiryder commented on August 16, 2024

Quick update: I was able to get past this error by making the directory in question:

mkdir -p /work/build/tmp/deploy/images/raspberrypi4-64/

and restarting the build. Obviously not a permanent fix, but maybe something to help diagnose the issue ?

from balena-raspberrypi.

alexgg avatar alexgg commented on August 16, 2024

hi @delhiryder I am using Ubuntu 22.04.2 LTS (Jammy Jellyfish) natively and the current master branch of the balena-raspberrypi repository builds without issues.
Could you please try to bitbake -c cleanall virtual/kernel and try again?

from balena-raspberrypi.

alexgg avatar alexgg commented on August 16, 2024

Can't reproduce.

from balena-raspberrypi.

delhiryder avatar delhiryder commented on August 16, 2024

Just saw this @alexgg . Thanks for checking on your end. Let me (re)try on my end after doing a cleanall... This was not the focus of my efforts, tbh. I am working on the belana-beaglebone repository (and not had any problems there)

from balena-raspberrypi.

majorz avatar majorz commented on August 16, 2024

I've run into this on a clean build as well:

ERROR: linux-raspberrypi-1_5.15.92+gitAUTOINC+e1b976ee4f_14b35093ca-r0 do_compile: Error executing a python function in exec_func_python() autogenerated:

The stack trace of python calls that resulted in this exception/failure was:
File: 'exec_func_python() autogenerated', lineno: 2, function: <module>
     0001:
 *** 0002:do_overlays(d)
     0003:
File: '/home/build/balena-raspberrypi/build/../layers/meta-balena-raspberrypi/recipes-kernel/linux/linux-raspberrypi_%.bbappend', lineno: 24, function: do_overlays
     0020:        overlays.append(re.sub(r'-overlay.dts','.dtbo',overlay).split('dts/')[-1])
     0021:    for dtbo in overlays:
     0022:        d.setVar('KERNEL_DEVICETREE', d.getVar('KERNEL_DEVICETREE', True) + ' ' + dtbo)
     0023:
 *** 0024:    f = open(d.getVar('DEPLOY_DIR_IMAGE') + '/overlays.txt', "w")
     0025:    f.write(d.getVar('KERNEL_DEVICETREE', True))
     0026:    f.close
     0027:}
     0028:
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/home/build/balena-raspberrypi/build/tmp/deploy/images/raspberrypicm4-ioboard/overlays.txt'

ERROR: Logfile of failure stored in: /home/build/balena-raspberrypi/build/tmp/work/raspberrypicm4_ioboard-poky-linux/linux-raspberrypi/1_5.15.92+gitAUTOINC+e1b976ee4f_14b35093ca-r0/temp/log.do_compile.907269
ERROR: Task (/home/build/balena-raspberrypi/build/../layers/meta-raspberrypi/recipes-kernel/linux/linux-raspberrypi_5.15.bb:do_compile) failed with exit code '1'

from balena-raspberrypi.

floion avatar floion commented on August 16, 2024

Should be fixed by #1105

from balena-raspberrypi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.