<div dir="ltr"><br clear="all"><div>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: <br></div><div><br></div><div>"File: '/home/wdurocher/work/gammaip/warrior/sources/meta/meta/classes/staging.bbclass', lineno: 151, function: staging_copyfile<br>  Â  Â 0147: Â  Â  Â  Â os.symlink(linkto, dest)<br>  Â  Â 0148: Â  Â  Â  Â #bb.warn(c)<br>  Â  Â 0149: Â  Â else:<br>  Â  Â 0150: Â  Â  Â  Â try:<br> *** 0151: Â  Â  Â  Â  Â  Â os.link(c, dest)<br>  Â Â  0152: Â  Â  Â  Â except OSError as err:<br>  Â  Â 0153: Â  Â  Â  Â  Â  Â if err.errno == errno.EXDEV:<br>  Â  Â 0154: Â  Â  Â  Â  Â  Â  Â  Â bb.utils.copyfile(c, dest)<br>  Â  Â 0155: Â  Â  Â  Â  Â  Â else:<br>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'"</div><div><br></div><div>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.</div><div><br></div><div>How do I either</div><div><br></div><div>- Fix the error mentionned above</div><div>- Make yocto be aware that there are 2 versions of openssl !</div><div><br></div><div>Any help would be appreciated.</div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><br><div dir="ltr" style="margin-left:0pt"><table style="border:medium none;border-collapse:collapse"><colgroup><col width="158"><col width="433"></colgroup><tbody><tr style="height:194pt"><td style="vertical-align:top;padding:5pt"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><a href="https://www.itlink.fr/" style="text-decoration:none" target="_blank"><span style="font-size:11pt;font-family:"Open Sans";color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh4.googleusercontent.com/P1Wyr4zPmPyEaio8s6TLxLgg-ruGl2GPc_jxIypSiU5eXsk6dFNWVrwrqvAwvxZmzBJnxL8C0fNJJ44YJ8hyw8gI_BmIyxXJB8b-z51XrB1n7Nn8bHjvzAjRo5t4qU45mrJ_epo9" style="border:medium none" width="144" height="144"></span></a></p></td><td style="vertical-align:top;padding:5pt"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:14pt;font-family:Verdana;color:rgb(0,51,126);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">William Durocher</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Verdana;color:rgb(35,149,244);background-color:transparent;font-weight:700;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Linker / Developpeur</span></p><p dir="ltr" style="line-height:1.8;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Verdana;color:rgb(106,106,119);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">1800-500 Place d’Armes, Montréal, QC, H2Y 2W2</span></p><br><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="font-size:11pt;font-family:Verdana;color:rgb(106,106,119);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">+1 (438) 259-3227 / +1 (514) 613-6887</span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Verdana;color:rgb(35,149,244);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"><a href="http://www.it-link.ca" target="_blank">www.it-link.ca</a></span></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span style="font-size:10pt;font-family:Verdana;color:rgb(106,106,119);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap">Suivez-nous sur</span><span style="font-size:11pt;font-family:Calibri;color:rgb(106,106,119);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:none;vertical-align:baseline;white-space:pre-wrap"> </span><a href="https://www.linkedin.com/company/groupe-it-link/" style="text-decoration:none" target="_blank"><span style="font-size:11pt;font-family:"Open Sans";color:rgb(17,85,204);background-color:transparent;font-weight:400;font-style:normal;font-variant:normal;text-decoration:underline;vertical-align:baseline;white-space:pre-wrap"><img src="https://lh5.googleusercontent.com/p35KOFezqdmqmcijjitW_m7nGEmR_KqUotlLSFoM2co6ALFZUK5XTX89afCNRSh0F4jLRB6IBdbmP_p0d5qOEVpjr2FXDUrRaC-ohwI203Ib1Vca95K1x-A23suQTT0ZTeYOD3As" style="border:medium none" width="14" height="14"></span></a></p></td></tr></tbody></table></div></div></div></div>