From: Martin Jansa <martin.jansa@gmail.com>
To: William Durocher <wdurocher@it-link.ca>
Cc: yocto@yoctoproject.org
Subject: Re: package_qa fails on copy openssl
Date: Tue, 10 Sep 2019 14:56:31 +0200 [thread overview]
Message-ID: <20190910125631.GA1532@jama> (raw)
In-Reply-To: <CAJdDtjGzQrCyHAMe7jptVcXZGAmD9QsKR1yrJLG0F_DYe7YjNQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1800 bytes --]
On Tue, Sep 10, 2019 at 08:49:35AM -0400, William Durocher wrote:
> Currently updating a sumo build to warrior. One of our recipe called config
> server uses nodejs which was updated from 8.9 in sumo to 10.5 in warrior.
> As an interim solution we decided to keep the version of nodejs to 8.90.
> However I am getting the following exception in the package_qa step:
>
> "File:
> '/home/wdurocher/work/gammaip/warrior/sources/meta/meta/classes/staging.bbclass',
> lineno: 151, function: staging_copyfile
> 0147: os.symlink(linkto, dest)
> 0148: #bb.warn(c)
> 0149: else:
> 0150: try:
> *** 0151: os.link(c, dest)
> 0152: except OSError as err:
> 0153: if err.errno == errno.EXDEV:
> 0154: bb.utils.copyfile(c, dest)
> 0155: else:
> Exception: FileExistsError: [Errno 17] File exists:
> '/home/wdurocher/work/gammaip/warrior/build/tmp/sysroots-components/x86_64/openssl-native/usr/bin/openssl.real'
> ->
> '/home/wdurocher/work/gammaip/warrior/build/tmp/work/cortexa8hf-neon-schneider-linux-gnueabi/config-server/0.0.2-r0/recipe-sysroot-native/usr/bin/openssl.real'"
>
> Which apparently is related to nodejs(sumo) using openssl 1.0.2p while a
> few packages use openssl 1.1.0. Hacking staging.bbclass to remove the file
> did allow package_qa to complete but that is not really a satisfactory
> solution as 1) I would rather not hack the meta repo directly and
> 2) there
> has to be a better way to have both openssl 1.0 and openssl 1.1 coexist
> with the recipes using the correct version.
Unfortunately there isn't, pick one version (preferably 1.1) and use it
for everything.
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 201 bytes --]
prev parent reply other threads:[~2019-09-10 12:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-10 12:49 package_qa fails on copy openssl William Durocher
2019-09-10 12:56 ` Martin Jansa [this message]
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=20190910125631.GA1532@jama \
--to=martin.jansa@gmail.com \
--cc=wdurocher@it-link.ca \
--cc=yocto@yoctoproject.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.