poky Digest, Vol 90, Issue 5
A message that is not in the archive (sent off-list or not yet received): [email protected]
Thank you for your reply Ross. I ran memtest with the default test parameters and it seems to be fine. I have 8GB of ram and have an i7 processor on this computer, is that enough to complete the poky build ? As for heating issues, the laptop has always just been slightly warm. Once the restart problem happens, the laptop restarts even when it's cool and has just been running for a minute. I have noticed this error several times through the syslog always, "nouveau 0000:03:00.0: fifo: SCHED_ERROR 20 []". Would something from the graphics card affect the build ? I will try and replace this with the nvidia drivers and give it a go. This is the log when the build reaches around 85%,
ERROR: core-image-sato-1.0-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/manu/poky/meta/classes/image.bbclass', lineno: 258, function:
do_rootfs
0254: progress_reporter.next_stage()
0255:
0256: # generate rootfs
0257: d.setVarFlag('REPRODUCIBLE_TIMESTAMP_ROOTFS', 'export', '1')
*** 0258: create_rootfs(d, progress_reporter=progress_reporter,
logcatcher=logcatcher)
0259:
0260: progress_reporter.finish()
0261:}
0262:do_rootfs[dirs] = "${TOPDIR}"
File: '/home/manu/poky/meta/lib/oe/rootfs.py', lineno: 1010, function:
create_rootfs
1006: env_bkp = os.environ.copy()
1007:
1008: img_type = d.getVar('IMAGE_PKGTYPE')
1009: if img_type == "rpm": *** 1010: RpmRootfs(d, manifest_dir, progress_reporter,
logcatcher).create()
1011: elif img_type == "ipk":
1012: OpkgRootfs(d, manifest_dir, progress_reporter,
logcatcher).create()
1013: elif img_type == "deb":
1014: DpkgRootfs(d, manifest_dir, progress_reporter,
logcatcher).create()
File: '/home/manu/poky/meta/lib/oe/rootfs.py', lineno: 201, function: create
0197: if self.progress_reporter:
0198: self.progress_reporter.next_stage()
0199:
0200: # call the package manager dependent create method
*** 0201: self._create()
0202:
0203: sysconfdir = self.image_rootfs +self.d.getVar('sysconfdir')
0204: bb.utils.mkdirhier(sysconfdir)
0205: with open(sysconfdir + "/version", "w+") as ver:
File: '/home/manu/poky/meta/lib/oe/rootfs.py', lineno: 450, function:
_create
0446: rpm_pre_process_cmds =self.d.getVar('RPM_PREPROCESS_COMMANDS')
0447: rpm_post_process_cmds =self.d.getVar('RPM_POSTPROCESS_COMMANDS')
0448:
0449: # update PM index files
*** 0450: self.pm.write_index()
0451:
0452: execute_pre_post_process(self.d, rpm_pre_process_cmds)
0453:
0454: if self.progress_reporter:
File: '/home/manu/poky/meta/lib/oe/package_manager.py', lineno: 543,
function: write_index
0539:
0540: def write_index(self):
0541: lockfilename = self.d.getVar('DEPLOY_DIR_RPM') +
"/rpm.lock"
0542: lf = bb.utils.lockfile(lockfilename, False)
*** 0543: RpmIndexer(self.d, self.rpm_repo_dir).write_index()
0544: bb.utils.unlockfile(lf) 0545:
0546: def insert_feeds_uris(self, feed_uris, feed_base_paths,feed_archs):
0547: from urllib.parse import urlparse
File: '/home/manu/poky/meta/lib/oe/package_manager.py', lineno: 105,
function: write_index
0101: else:
0102: signer = None
0103:
0104: createrepo_c = bb.utils.which(os.environ['PATH'],
"createrepo_c")
*** 0105: result = create_index("%s --update -q %s" %
(createrepo_c, self.deploy_dir))
0106: if result:
0107: bb.fatal(result)
0108:
0109: # Sign repomd
File: '/home/manu/poky/meta/lib/oe/package_manager.py', lineno: 21,
function: create_index
0017:def create_index(arg):
0018: index_cmd = arg
0019:
0020: bb.note("Executing '%s' ..." % index_cmd)
*** 0021: result = subprocess.check_output(index_cmd,
stderr=subprocess.STDOUT, shell=True).decode("utf-8")
0022: if result:
0023: bb.note(result)
0024:
0025:"""File: '/usr/lib/python3.5/subprocess.py', lineno: 626, function:check_output
0622: # empty string. That is maintained here for backwards
compatibility.
0623: kwargs['input'] = '' if kwargs.get('universal_newlines',False) else b''
0624:
0625: return run(*popenargs, stdout=PIPE, timeout=timeout,
check=True,
*** 0626: **kwargs).stdout
0627:
0628:
0629:class CompletedProcess(object):
0630: """A process that has finished running.File: '/usr/lib/python3.5/subprocess.py', lineno: 708, function: run
0704: raise
0705: retcode = process.poll()
0706: if check and retcode:
0707: raise CalledProcessError(retcode, process.args,
*** 0708: output=stdout, stderr=stderr)
0709: return CompletedProcess(process.args, retcode, stdout, stderr)
0710:
0711:
0712:def list2cmdline(seq):Exception: subprocess.CalledProcessError: Command '/home/manu/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/recipe-sysroot-native/usr/bin/createrepo_c --update -q /home/manu/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo'
returned non-zero exit status 1
Subprocess output:
Temporary repodata directory /home/manu/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/oe-rootfs-repo/.repodata/ already exists! (Another createrepo process is running?)
ERROR: core-image-sato-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in:/home/manu/poky/build/tmp/work/qemux86_64-poky-linux/core-image-sato/1.0-r0/temp/log.do_rootfs.3494
ERROR: Task (/home/manu/poky/meta/recipes-sato/images/core-image-sato.bb:do_rootfs) failed with exit code '1'
Quoted 95 lines · On Fri, Mar 16, 2018 at 10:00 PM, <[email protected]> wrote:
Send poky mailing list submissions to
[email protected]To subscribe or unsubscribe via the World Wide Web, visit
https://lists.yoctoproject.org/listinfo/poky
or, via email, send a message with subject or body 'help' to
[email protected]You can reach the person managing the list at
[email protected]When replying, please edit your Subject line so it is more specific than "Re: Contents of poky digest..."
Today's Topics:
1. Re: Poky Build Error (Burton, Ross)
----------------------------------------------------------------------
Message: 1
Date: Fri, 16 Mar 2018 15:35:41 +0000
From: "Burton, Ross" <[email protected]>
To: Manu Mathen <[email protected]>
Cc: Poky Project <[email protected]>
Subject: Re: [poky] Poky Build Error Message-ID:
<CAJTo0LZDXi+-XM2SGpB2k0ezgPpMNkbxe7HRm6Rd17
[email protected]>
Content-Type: text/plain; charset="utf-8"If the computer is restarting then that's obviously nothing to do with bitbake/yocto itself, but your computer can't handle the stress that a full build is causing.
Usual culprits are badly installed or failing RAM (run memtest), or insufficient ventilation causing a thermal shutdown.
Ross
Quoted 2 lines · Manu Mathen
Hi. Hope your doing well. I've been trying to build poky on Ubuntu 16.04. I've set up the required files from the quick start guide 2.4.2. The
build
Quoted 7 lines
has reached about 70%, but ever since it got to about 50%, the computer keeps restarting during the build. Since this happened, I tried do do a clean install of Ubuntu and start over, but it's been the same. The build progresses with the restarts from where it stopped, but I get an error later in the build and can't proceed. This is what I noticed from the cookerdaemon.log file, these lines keep repeating before the restart happens, or these are the last lines logged before I start the build
again
Quoted 11 lines
.
Running command ['getVariable', '
BB_DEFAULT_TASK'] Running command ['setConfig', 'cmd', 'build'] Running command ['buildTargets', ['core-image-sato'], 'build'] Connecting Client
Disconnecting Client
No timeout, exiting.I have attached the log file below too, has anyone experienced this
before
Quoted 11 lines
or know what's wrong. Thank you in advance.
Manu Mathen
--
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/poky-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/
attachments/20180316/def526d6/attachment-0001.html>------------------------------
--
_______________________________________________
poky mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/pokyEnd of poky Digest, Vol 90, Issue 5
***********************************
Quoted 11 lines · Manu Mathen
Thank you for your reply Ross. I ran memtest with the default test parameters and it seems to be fine. I have 8GB of ram and have an i7 processor on this computer, is that enough to complete the poky build ? As for heating issues, the laptop has always just been slightly warm. Once the restart problem happens, the laptop restarts even when it's cool and has just been running for a minute. I have noticed this error several times through the syslog always, "nouveau 0000:03:00.0:
fifo:SCHED_ERROR20 []". Would something from the graphics card affect the build ? I will try and replace this with the nvidia drivers and give it a go. This is the log when the build reaches around 85%,
One of your previous crashes has corrupted the build directory. At a guess, "bitbake core-image-sato -c clean" should clean it up and let you move forward.
Cheers,
Richard