From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Ola x Nilsson <ola.x.nilsson@axis.com>,
Ola x Nilsson <olani@axis.com>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] package.bbclass: Include dbgsrc for static libs
Date: Wed, 04 Apr 2018 14:43:50 +0100 [thread overview]
Message-ID: <1522849430.11431.367.camel@linuxfoundation.org> (raw)
In-Reply-To: <1522153694838.99691@axis.com>
On Tue, 2018-03-27 at 12:28 +0000, Ola x Nilsson wrote:
> ping?
Fails if you enable ptest in openssl. Suspect you need to check if its
a real file rather than a symlink and only check real files.
Cheers,
Richard
ERROR: openssl-1.0.2o-r0 do_package: 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:split_and_strip_files(d)
0003:
File: '/media/build1/poky/meta/classes/package.bbclass', lineno: 969, function: split_and_strip_files
0965: file = os.path.join(root, f)
0966: if file.endswith(".ko") and file.find("/lib/modules/") != -1:
0967: kernmods.append(file)
0968: continue
*** 0969: if isStaticLib(file):
0970: staticlibs.append(file)
0971: continue
0972:
0973: # Skip debug files
File: '/media/build1/poky/meta/classes/package.bbclass', lineno: 944, function: isStaticLib
0940: return type
0941:
0942: def isStaticLib(path):
0943: if file.endswith('.a'):
*** 0944: with open(path, 'rb') as fh:
0945: magic = b'!<arch>\n'
0946: start = fh.read(len(magic))
0947: return start == magic
0948: return False
Exception: FileNotFoundError: [Errno 2] No such file or directory: '/media/build1/poky/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/package/usr/lib/openssl/ptest/libssl.a'
ERROR: openssl-1.0.2o-r0 do_package: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /media/build1/poky/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/temp/log.do_package.20107
ERROR: Task (/media/build1/poky/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb:do_package) failed with exit code '1'
NOTE: Tasks Summary: Attempted 1308 tasks of which 1303 didn't need to be rerun and 1 failed.
next prev parent reply other threads:[~2018-04-04 13:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 7:46 [PATCH] package.bbclass: Include dbgsrc for static libs Ola x Nilsson
2018-03-27 12:28 ` Ola x Nilsson
2018-04-04 13:43 ` Richard Purdie [this message]
2018-04-19 11:17 ` Ola x Nilsson
2018-04-19 11:17 ` [PATCH v2] " Ola x Nilsson
2018-04-20 7:13 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1522849430.11431.367.camel@linuxfoundation.org \
--to=richard.purdie@linuxfoundation.org \
--cc=ola.x.nilsson@axis.com \
--cc=olani@axis.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.