Skip to contentSkip to conversation

Licence error in openssh

DISCUSSION [email protected] 3 participants 5 messages Jul 8, 2024

lore
Share & tools
lore
#0 lore raw

I'm not sure if this is the correct place to report this. I got an error message building openssh-9.8P1-r0, regarding the license file. It seems like the MD5SUM in the recipe file is wrong.

I got the following error during build.

ERROR: openssh-9.8p1-r0 do_populate_lic: QA Issue: openssh: The LIC_FILES_CHKSUM does not match for file://LICENCE;md5=8baf365614c9bdd63705f298c9afbfb9

openssh: The new md5 checksum is 072979064e691d342002f43cd89c0394

openssh: Here is the selected license text:

vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv

This file is part of the OpenSSH software.

The licences which components of this software fall under are as

follows. First, we will summarize and say that all components

are under a BSD licence, or a licence more free than that.

I generated the MD5SUM of the LICENCE file and it is the number reported in text above, so i just changed the recipe and then it worked. Maybe the source needs to be changed, but i don't know how to do this.

#1 lore raw
Quoted 14 lines · chris.vd.kruit via lists.yoctoproject.org

I'm not sure if this is the correct place to report this. I got an error message building openssh-9.8P1-r0, regarding the license file. It seems like the MD5SUM in the recipe file is wrong.

I got the following error during build.

ERROR: openssh-9.8p1-r0 do_populate_lic: QA Issue: openssh: The LIC_FILES_CHKSUM does not match for file://LICENCE;md5=8baf365614c9bdd63705f298c9afbfb9
openssh: The new md5 checksum is 072979064e691d342002f43cd89c0394
openssh: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
This file is part of the OpenSSH software.

The licences which components of this software fall under are as
follows.  First, we will summarize and say that all components
are under a BSD licence, or a licence more free than that.

Quoted 2 lines

I generated the MD5SUM of the LICENCE file and it is the number reported in text above, so i just changed the recipe and then it worked. Maybe the source needs to be changed, but i don't know how to do this.

We still have 9.7p1 in master with a backport for the recent CVE. Where did you get 9.8p1 from? At the same time it was upgraded, it would likely need the license checksum fix.

Cheers,

Richard

#2 lore raw

Hi,

I just typed in devtool upgrade open-ssh and then build the image, I'm on the Kirkstone branch.
But I was a bit early with my email because it doesn't work, I got the following error: /usr/libexec/sshd-session does not exist or is not executable. Can you tell me what I should have done instead, I'm new to yocto.

Kind Regards,

Chris

-----Oorspronkelijk bericht-----
Van: Richard Purdie <[email protected]>
Verzonden: maandag 8 juli 2024 12:57
Aan: Chris van der Kruit <[email protected]>; [email protected]
Onderwerp: Re: [poky] Licence error in openssh

Quoted 12 lines · chris.vd.kruit via lists.yoctoproject.org

I'm not sure if this is the correct place to report this. I got an error message building openssh-9.8P1-r0, regarding the license file. It seems like the MD5SUM in the recipe file is wrong.

I got the following error during build.

ERROR: openssh-9.8p1-r0 do_populate_lic: QA Issue: openssh: The LIC_FILES_CHKSUM does not match for file://LICENCE;md5=8baf365614c9bdd63705f298c9afbfb9
openssh: The new md5 checksum is 072979064e691d342002f43cd89c0394
openssh: Here is the selected license text:
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv This file is part of the OpenSSH software.

Quoted 6 lines

The licences which components of this software fall under are as follows. First, we will summarize and say that all components are under a BSD licence, or a licence more free than that.

I generated the MD5SUM of the LICENCE file and it is the number
reported in text above, so i just changed the recipe and then it worked. Maybe the source needs to be changed, but i don't know how to do this.

We still have 9.7p1 in master with a backport for the recent CVE. Where did you get 9.8p1 from? At the same time it was upgraded, it would likely need the license checksum fix.

Cheers,

Richard

Certhon

T: +31 174 22 50 80
ABC Westland 555
2685 DG Poeldijk
www.certhon.com

DISCLAIMER
All our quotations, orders and agreements shall be governed by the AVAG terms and conditions of sale. Op alle offertes, opdrachten en overeenkomsten zijn de AVAG-verkoopvoorwaarden van toepassing.

#3 lore raw
Quoted 3 lines · Chris van der Kruit via lists.yoctoproject.org

I just typed in devtool upgrade open-ssh and then build the image, I'm on the Kirkstone branch.
But I was a bit early with my email because it doesn't work, I got the following error: /usr/libexec/sshd-session does not exist or is not executable. Can you tell me what I should have done instead, I'm new to yocto.

Using 'devtool upgrade' is correct. It doesn't always work perfectly, so if the license checksum isn't correctly updated (it should be though), or if you get other errors, resolving them should be done manually by editing the updated recipe.

Alex

#4 lore raw
Quoted 10 lines · Alexander Kanavin
Quoted 6 lines · Chris van der Kruit via lists.yoctoproject.org

I just typed in devtool upgrade open-ssh and then build the image, I'm on the Kirkstone branch.
But I was a bit early with my email because it doesn't work, I got the following error: /usr/libexec/sshd-session does not exist or is not executable.
Can you tell me what I should have done instead, I'm new to yocto.

Quoted 4 lines

Using 'devtool upgrade' is correct. It doesn't always work perfectly, so if the license checksum isn't correctly updated (it should be though), or if you get other errors, resolving them should be done manually by editing the updated recipe.

Alex is correct. I'd also just mention there is an openssh upgrade patch on the openembedded-core mailing list. It causes a ptest regression (a hang) which we need to track down before we can merge it though.

We merged the CVE fix in the meantime.

Cheers,

Richard