@dbt
habe auch mal eine frage, bekomme zum Schluss auch einen Fehler beim bauen. kannst du dir mal bitte den log ansehen
und etwas dazu sagen.
Dann Hatte ich an anderer stelle, schon mal erwähnt das die kernel module in extra fehlen,
bis zu dem Zeitpunkt soweit es schon gebaut hat, wurde hd51-drivers-4.10.12-20191120.zip
noch nicht runter geladen.
Wenn man selber bitbake gfutures-dvb-modules-hd51 ausführt, kommt es auch zum download und anwenden.
kann aber leider durch oben genannten Fehler kein Image fertig stellen.
PS: Anhang hier im Forum gin nicht kommt folgende Meldung
"Das Kontingent für Dateianhänge ist bereits vollständig ausgenutzt."
daher jetzt so;
Code: Alles auswählen
max@max:~/build/poky-3.2/hd51$ bitbake neutrino-image
NOTE: Started PRServer with DBfile: /home/max/build/poky-3.2/hd51/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 43685, PID: 7389
WARNING: Host distribution "linuxmint-20.3" 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:00
Loaded 3034 entries from dependency cache.
Parsing recipes: 100% |########################################################################################################################################################################################################| Time: 0:00:06
Parsing of 2089 .bb files complete (1803 cached, 286 parsed). 3328 targets, 201 skipped, 0 masked, 0 errors.
Removing 1 recipes from the cortexa15hf-neon-vfpv4 sysroot: 100% |#############################################################################################################################################################| Time: 0:00:00
Removing 1 recipes from the hd51 sysroot: 100% |###############################################################################################################################################################################| Time: 0:00:00
NOTE: Resolving any missing task queue dependencies
Build Configuration:
BB_VERSION = "1.48.0"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING = "universal"
TARGET_SYS = "arm-oe-linux-gnueabi"
MACHINE = "hd51"
DISTRO = "tuxbox"
DISTRO_VERSION = "gatesgarth"
TUNE_FEATURES = "arm vfp cortexa15 neon vfpv4 callconvention-hard"
TARGET_FPU = "hard"
meta
meta-poky
meta-yocto-bsp = "heads/3.2:bc71ec0f1d97c983cb0a089b15e283c56de30844"
meta-neutrino = "gatesgarth:94a5829456539487240f579083d82c85f94d9b11"
meta-hd51 = "gatesgarth:260fa831d8a4d523710839f66a2eaa9fa2df24bb"
meta-python2 = "3.2:62d1c8a2585d397ac9917a7c4782d5d4bcedb74c"
meta-qt5 = "3.2:5d70466cc7d74369956dceacdfd89f41516860d0"
Initialising tasks: 100% |#####################################################################################################################################################################################################| Time: 0:00:02
Sstate summary: Wanted 8 Found 0 Missed 8 Current 1882 (0% match, 99% complete)
NOTE: Executing Tasks
ERROR: neutrino-image-3.2.4-r0 do_rootfs: 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_rootfs(d)
0003:
File: '/home/max/build/poky-3.2/meta/classes/image.bbclass', lineno: 247, function: do_rootfs
0243: progress_reporter.next_stage()
0244:
0245: # generate rootfs
0246: d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1')
*** 0247: create_rootfs(d, progress_reporter=progress_reporter, logcatcher=logcatcher)
0248:
0249: progress_reporter.finish()
0250:}
0251:do_rootfs[dirs] = "${TOPDIR}"
File: '/home/max/build/poky-3.2/meta/lib/oe/rootfs.py', lineno: 385, function: create_rootfs
0381: img_type = d.getVar('IMAGE_PKGTYPE')
0382: if img_type == "rpm":
0383: RpmRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0384: elif img_type == "ipk":
*** 0385: OpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0386: elif img_type == "deb":
0387: DpkgRootfs(d, manifest_dir, progress_reporter, logcatcher).create()
0388:
0389: os.environ.clear()
File: '/home/max/build/poky-3.2/meta/lib/oe/rootfs.py', lineno: 220, function: create
0216: execute_pre_post_process(self.d, rootfs_post_install_cmds)
0217:
0218: self.pm.run_intercepts()
0219:
*** 0220: execute_pre_post_process(self.d, post_process_cmds)
0221:
0222: if self.progress_reporter:
0223: self.progress_reporter.next_stage()
0224:
File: '/home/max/build/poky-3.2/meta/lib/oe/utils.py', lineno: 263, function: execute_pre_post_process
0259: for cmd in cmds.strip().split(';'):
0260: cmd = cmd.strip()
0261: if cmd != '':
0262: bb.note("Executing %s ..." % cmd)
*** 0263: bb.build.exec_func(cmd, d)
0264:
0265:# For each item in items, call the function 'target' with item as the first
0266:# argument, extraargs as the other arguments and handle any exceptions in the
0267:# parent thread
File: '/home/max/build/poky-3.2/bitbake/lib/bb/build.py', lineno: 256, function: exec_func
0252: with bb.utils.fileslocked(lockfiles):
0253: if ispython:
0254: exec_func_python(func, d, runfile, cwd=adir)
0255: else:
*** 0256: exec_func_shell(func, d, runfile, cwd=adir)
0257:
0258: try:
0259: curcwd = os.getcwd()
0260: except:
File: '/home/max/build/poky-3.2/bitbake/lib/bb/build.py', lineno: 503, function: exec_func_shell
0499: with open(fifopath, 'r+b', buffering=0) as fifo:
0500: try:
0501: bb.debug(2, "Executing shell function %s" % func)
0502: with open(os.devnull, 'r+') as stdin, logfile:
*** 0503: bb.process.run(cmd, shell=False, stdin=stdin, log=logfile, extrafiles=[(fifo,readfifo)])
0504: except bb.process.ExecutionError as exe:
0505: # Find the backtrace that the shell trap generated
0506: backtrace_marker_regex = re.compile(r"WARNING: Backtrace \(BB generated script\)")
0507: stdout_lines = (exe.stdout or "").split("\n")
File: '/home/max/build/poky-3.2/bitbake/lib/bb/process.py', lineno: 184, function: run
0180: if not stderr is None:
0181: stderr = stderr.decode("utf-8")
0182:
0183: if pipe.returncode != 0:
*** 0184: raise ExecutionError(cmd, pipe.returncode, stdout, stderr)
0185: return stdout, stderr
Exception: bb.process.ExecutionError: Execution of '/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920' failed with exit code 128:
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 86: get_build_increment: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 87: get_filename_latest_prefix: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 88: get_filename_prefix: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 89: get_flavour_suffix: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 90: get_flavour_tag: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 91: get_meta_tuxbox: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 92: get_meta_version: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 93: get_poky_version: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 94: get_release_type: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 95: get_tuxbox_tag: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 96: get_tuxbox_version: command not found
/home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920: line 97: get_yearly_tag: command not found
fatal: unsafe repository ('/home/max/build/poky-3.2/meta-neutrino' is owned by someone else)
To add an exception for this directory, call:
git config --global --add safe.directory /home/max/build/poky-3.2/meta-neutrino
WARNING: /home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920:160 exit 128 from 'META_VERSION=`get_meta_version`'
WARNING: Backtrace (BB generated script):
#1: set_image_version, /home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920, line 160
#2: main, /home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/run.set_image_version.17920, line 315
Backtrace (metadata-relative locations):
#1: set_image_version, /home/max/build/poky-3.2/meta-neutrino/recipes-images/images/neutrino-image-base.inc, line 29
ERROR: Logfile of failure stored in: /home/max/build/poky-3.2/hd51/tmp/work/hd51-oe-linux-gnueabi/neutrino-image/3.2.4-r0/temp/log.do_rootfs.17920
ERROR: Task (/home/max/build/poky-3.2/meta-neutrino/recipes-images/images/neutrino-image.bb:do_rootfs) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5049 tasks of which 5034 didn't need to be rerun and 1 failed.
Summary: 1 task failed:
/home/max/build/poky-3.2/meta-neutrino/recipes-images/images/neutrino-image.bb:do_rootfs
Summary: There was 1 WARNING message shown.
Summary: There was 1 ERROR message shown, returning a non-zero exit code.
max@max:~/build/poky-3.2/hd51$