All of lore.kernel.org
 help / color / mirror / Atom feed
* package_qa fails on copy openssl
@ 2019-09-10 12:49 William Durocher
  2019-09-10 12:56 ` Martin Jansa
  0 siblings, 1 reply; 2+ messages in thread
From: William Durocher @ 2019-09-10 12:49 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1928 bytes --]

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.

How do I either

- Fix the error mentionned above
- Make yocto be aware that there are 2 versions of openssl !

Any help would be appreciated.

-- 

<https://www.itlink.fr/>

William Durocher

Linker / Developpeur

1800-500 Place d’Armes, Montréal, QC, H2Y 2W2

+1 (438) 259-3227 / +1 (514) 613-6887

www.it-link.ca

Suivez-nous sur <https://www.linkedin.com/company/groupe-it-link/>

[-- Attachment #2: Type: text/html, Size: 5862 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-09-10 12:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-10 12:49 package_qa fails on copy openssl William Durocher
2019-09-10 12:56 ` Martin Jansa

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.