Skip to contentSkip to conversation

mctp: Fix CI build error with musl+clang

PATCH In review Chanh Nguyen 4 participants 12 messages Oct 24, 2024 – Oct 25, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mctp: Fix CI build error with musl+clang

---
 meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/mctp/mctp_2.0.bb +2 -2
index c6aa7c104..793afe755 100644
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
 LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
 
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"
 
 S = "${WORKDIR}/git"
 
Signature · 1 line
2.43.0
#1 lore raw

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 21 lines · Chanh Nguyen
---
  meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/mctp/mctp_2.0.bb +2 -2
index c6aa7c104..793afe755 100644
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
  LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
 
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"
 
  S = "${WORKDIR}/git"
 
#2 lore raw

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Quoted 37 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 21 lines · Chanh Nguyen
---
  meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/mctp/mctp_2.0.bb +2 -2
index c6aa7c104..793afe755 100644
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
  LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
 
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"
 
  S = "${WORKDIR}/git"
 
#3 lore raw
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Yes Khem, it is only temporary for CI build checking.

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

Quoted 39 lines
Quoted 37 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 21 lines · Chanh Nguyen
---
   meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/mctp/mctp_2.0.bb +2 -2
index c6aa7c104..793afe755 100644
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
   LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"
 
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"
 
   S = "${WORKDIR}/git"
 
#4 lore raw
Quoted 8 lines · Chanh Nguyen
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Yes Khem, it is only temporary for CI build checking.

In this case please mark them so in subject line
So we know what they are intended for

Quoted 52 lines

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

Quoted 11 lines
Quoted 9 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP

repo.

Quoted 5 lines
Quoted 5 lines

Thanks,

Chanh

Quoted 7 lines
Quoted 7 lines · Chanh Nguyen

Review

Quoted 6 lines
---
   meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) +0 -0

b/meta-networking/recipes-support/mctp/mctp_2.0.bb

Quoted 6 lines
Quoted 6 lines

meta-networking/recipes-support/mctp/mctp_2.0.bb LICENSE = "GPL-2.0-only" · line 6

Quoted 6 lines

index c6aa7c104..793afe755 100644

meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
   LIC_FILES_CHKSUM =

"file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"

Quoted 5 lines
Quoted 5 lines

meta-networking/recipes-support/mctp/mctp_2.0.bb LICENSE = "GPL-2.0-only"

Quoted 5 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -2
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://

github.com/CodeConstruct/mctp;branch=main;protocol=https"

Quoted 1 line
Quoted 1 line

meta-networking/recipes-support/mctp/mctp_2.0.bb LICENSE = "GPL-2.0-only" · line 9

Quoted 1 line
meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -0
+SRC_URI = "git://

github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
   S = "${WORKDIR}/git"
 
#5 lore raw
In reply to Chanh Nguyen
Quoted 7 lines · Chanh Nguyen
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Quoted 7 lines

Yes Khem, it is only temporary for CI build checking.

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

I and Jeremy used the musl compiler (https://musl.cc/), and it compiled the MCTP successfully. It seems the error just happens with your CI run, and we haven't known to run the CI to check.

Quoted 42 lines
Quoted 41 lines
Quoted 39 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 23 lines · Chanh Nguyen

---
   meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--

   1 file changed, 2 insertions(+), 2 deletions(-)
meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
index c6aa7c104..793afe755 100644
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 

   LIC_FILES_CHKSUM = "file:// LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"

meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -2
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/ 

mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross- fixes;protocol=https"

   S = "${WORKDIR}/git"

#6 lore raw
Quoted 13 lines · Chanh Nguyen
Quoted 9 lines · Chanh Nguyen
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Yes Khem, it is only temporary for CI build checking.

Quoted 9 lines
Quoted 5 lines

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

I and Jeremy used the musl compiler (https://musl.cc/), and it compiled the MCTP successfully. It seems the error just happens with your CI run, and we haven't known to run the CI to check.

As I mentioned before, the combination is clang19 + musl, musl.cc is gcc+musl only so
you won't see clang specific issues with it.
That's fine if you can say [RFT] in the subject line to convey the intention.

Quoted 46 lines
Quoted 45 lines
Quoted 44 lines
Quoted 42 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 25 lines · Chanh Nguyen
---
   meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
   1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) renamed from meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0

meta-networking/recipes-support/mctp/mctp_2.0.bb
index c6aa7c104..793afe755 100644

meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
   LIC_FILES_CHKSUM = "file://

LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"

meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -2
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/

mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross- fixes;protocol=https"

   S = "${WORKDIR}/git"
#7 lore raw
Quoted 25 lines · Khem Raj
Quoted 13 lines · Chanh Nguyen
Quoted 9 lines · Chanh Nguyen
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Yes Khem, it is only temporary for CI build checking.

Quoted 9 lines
Quoted 5 lines

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

I and Jeremy used the musl compiler (https://musl.cc/), and it compiled the MCTP successfully. It seems the error just happens with your CI run, and we haven't known to run the CI to check.

Quoted 5 lines

As I mentioned before, the combination is clang19 + musl, musl.cc is gcc+musl only so
you won't see clang specific issues with it.
That's fine if you can say [RFT] in the subject line to convey the intention.

Thank Khem for your instruction about subject patch!

Should I resend this patch with new subject ? It will be [RFT][meta-networking][PATCH] mctp: Fix CI build error with musl+clang

Quoted 46 lines
Quoted 46 lines
Quoted 45 lines
Quoted 44 lines
Quoted 42 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 25 lines · Chanh Nguyen
---
    meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) renamed from meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0

meta-networking/recipes-support/mctp/mctp_2.0.bb
index c6aa7c104..793afe755 100644

meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
    LIC_FILES_CHKSUM = "file://

LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"

meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -2
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/

mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross- fixes;protocol=https"

    S = "${WORKDIR}/git"
#8 lore raw
Quoted 35 lines · Chanh Nguyen
Quoted 25 lines · Khem Raj
Quoted 13 lines · Chanh Nguyen
Quoted 9 lines · Chanh Nguyen
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Yes Khem, it is only temporary for CI build checking.

Quoted 9 lines
Quoted 5 lines

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

I and Jeremy used the musl compiler (https://musl.cc/), and it compiled the MCTP successfully. It seems the error just happens with your CI run, and we haven't known to run the CI to check.

Quoted 5 lines

As I mentioned before, the combination is clang19 + musl, musl.cc is gcc+musl only so
you won't see clang specific issues with it.
That's fine if you can say [RFT] in the subject line to convey the intention.

Quoted 4 lines

Thank Khem for your instruction about subject patch!

Should I resend this patch with new subject ? It will be [RFT][meta-networking][PATCH] mctp: Fix CI build error with musl+clang

Not this time, since I have staged it for testing and it seems to work for musl+clang case
AFAICT so please send the final patch with version bump to include the fixes that
Jeremy is pushing into component repo

Quoted 48 lines
Quoted 47 lines
Quoted 47 lines
Quoted 46 lines
Quoted 45 lines
Quoted 42 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 25 lines · Chanh Nguyen
---
    meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) renamed from meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0

meta-networking/recipes-support/mctp/mctp_2.0.bb
index c6aa7c104..793afe755 100644

meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
    LIC_FILES_CHKSUM = "file://

LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"

meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -2
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/

mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross- fixes;protocol=https"

    S = "${WORKDIR}/git"
#9 lore raw
Quoted 39 lines · Khem Raj
Quoted 37 lines · Chanh Nguyen
Quoted 25 lines · Khem Raj
Quoted 13 lines · Chanh Nguyen
Quoted 9 lines · Chanh Nguyen
Quoted 3 lines · Khem Raj

Please test it and wait it to merge before sending pull request here, feature branches are temporary and usually not something we use in OE

Yes Khem, it is only temporary for CI build checking.

Quoted 9 lines
Quoted 5 lines

Can you please help run CI build? If any other errors, we'll fix.

Thanks,
Chanh

I and Jeremy used the musl compiler (https://musl.cc/), and it compiled the MCTP successfully. It seems the error just happens with your CI run, and we haven't known to run the CI to check.

Quoted 5 lines

As I mentioned before, the combination is clang19 + musl, musl.cc is gcc+musl only so
you won't see clang specific issues with it.
That's fine if you can say [RFT] in the subject line to convey the intention.

Thank Khem for your instruction about subject patch!

Quoted 9 lines
Quoted 2 lines

Should I resend this patch with new subject ? It will be [RFT][meta-networking][PATCH] mctp: Fix CI build error with musl+clang

Not this time, since I have staged it for testing and it seems to work for musl+clang case
AFAICT so please send the final patch with version bump to include the fixes that
Jeremy is pushing into component repo

Thank Khem, If there is any other error CI build, please notice in there. I'll report to Jeremy.

If all looks good, I'll send the final patch in next Monday.

Quoted 48 lines
Quoted 48 lines
Quoted 47 lines
Quoted 47 lines
Quoted 46 lines
Quoted 45 lines
Quoted 42 lines · Chanh Nguyen

Hi Khem,

This is only a temporary patch. It helps check CI build errors on the MCTP repo. Please help run the CI build; if any error you can show here, then Jeremy will update the mctp repo to fix errors.

Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP repo.

Thanks,

Chanh

Quoted 25 lines · Chanh Nguyen
---
     meta-networking/recipes-support/mctp/mctp_2.0.bb | 4 ++--
     1 file changed, 2 insertions(+), 2 deletions(-)
(quoted diff) renamed from meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0

meta-networking/recipes-support/mctp/mctp_2.0.bb
index c6aa7c104..793afe755 100644

meta-networking/recipes-support/mctp/mctp_2.0.bb +0 -0
@@ -5,9 +5,9 @@ LICENSE = "GPL-2.0-only"
 
     LIC_FILES_CHKSUM = "file://

LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"

meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -2
-SRCREV = "f110926b082731b25720b444378ad55d7a9d451d"
+SRCREV = "089dc53fa7387cca517cd713061c323ca06fb6dd"
 
-SRC_URI = "git://github.com/CodeConstruct/

mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross- fixes;protocol=https"

     S = "${WORKDIR}/git"
#10 lore raw
In reply to Chanh Nguyen

Hi Chanh,

meta-networking/recipes-support/mctp/mctp_2.0.bb LICENSE = "GPL-2.0-only" · line 10

Quoted 2 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -1
-SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"

Note that that this (dev/cross-fixes) branch will not live for long; it's just for getting you a set of fixes to test.

I assume you are sending this change just for a CI run, so this won't matter. But just to be clear, this isn't suitable for an upstream merge.

Cheers,

Jeremy

#11 lore raw
Quoted 8 lines · Jeremy Kerr

Hi Chanh,

meta-networking/recipes-support/mctp/mctp_2.0.bb LICENSE = "GPL-2.0-only" · line 10

Quoted 2 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb +1 -1
-SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
+SRC_URI = "git://github.com/CodeConstruct/mctp;branch=dev/cross-fixes;protocol=https"

Note that that this (dev/cross-fixes) branch will not live for long; it's just for getting you a set of fixes to test.

Quoted 4 lines

I assume you are sending this change just for a CI run, so this won't matter. But just to be clear, this isn't suitable for an upstream merge.

Yes Jeremy,

This is only a temporary patch. It helps check CI build errors on the MCTP repo.

Hi Khem, Please don't merge this patch. When the CI builds completely without any errors, I will push a new patch with the latest version on the MCTP master branch.

Quoted 4 lines

Cheers,

Jeremy