mctp: upgrade 1.1 -> 2.0
PATCH v2 1/1 mctp: upgrade 1.1 -> 2.0
---
Change in v2:
- Fix CI failed [Chanh]
---
.../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +5 -1
@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"
@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemd +EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ "
Signature · 1 line
2.43.0
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include linux/socket.h to get AF_MCTP address family definition
Quoted 40 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +5
-2@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemd +EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --2.43.0
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler (https://musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3b
Now I'll push the patch v3 with latest commit from mctp repo.
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
Thanks,
Chanh
Quoted 59 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 50 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +5
-2@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemd +EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112970): https://lists.openembedded.org/g/openembedded-devel/message/112970
Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 5 lines · Chanh Nguyen
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler (https:// musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit https:// github.com/CodeConstruct/mctp/ commit/0629ec8976b1d56c17db51805f647bf35f4bfd3b
Now I'll push the patch v3 with latest commit from mctp repo.
Thanks for following up.
Quoted 3 lines
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
We do not have CI infrastructure that is available for developers via
github pull requests or some such, process is for maintainers to cherry-pick patches and prepare a staging branch ( master-next ) which is then used for CI, I use yoe distro https://github.com/YoeDistro/yoe-distro
for CI'ing meta-openembedded ( using yoe/mut branch) by doing
bunch of different build combinations, along with github actions
https://github.com/YoeDistro/yoe-distro/blob/master/.github/workflows/ci.yaml
bitbake -k world for qemuarm/qemuarm64/qemux86-64/qemuriscv32/qemuriscv64 machines with TCLIBC = musl and TCLIBC = glibc
These combinations can explode, and I do not have enough build capacity to do more.
There is also one build (qemux86-64) in yocto autobuilder which is run on subset of meta-openembedded layers.
https://valkyrie.yoctoproject.org/#/builders/81
I think if you build for musl/glibc/qemux86-64 that would be a good start
Quoted 65 lines
Thanks,
ChanhQuoted 59 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 50 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]
---
.../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++-1 file changed, 5 insertions(+), 1 deletion(-)rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +0
-0@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM= "file:// LICENSE;md5=4cc91856b08b094b4f406a29dc61db21"meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +1
-1-SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600"
SRC_URI= "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +0
-0@@ -13,6 +13,10 @@ S = "${WORKDIR}/git"inherit meson pkgconfig systemd
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +4
-0+EXTRA_OEMESON = " \ + -Dtests=false \ +" +PACKAGECONFIG ??= " \
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
"Signature · 11 lines
2.43.0 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#112970): https://lists.openembedded.org/g/ openembedded-devel/message/112970 Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/ unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Chanh
Can you send a patch on top of the latest master, I have applied the v2, so please send delta which fixed the musl build as a new patch.
Quoted 80 lines · Chanh Nguyen
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler
(https://musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit
https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3bNow I'll push the patch v3 with latest commit from mctp repo.
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
Thanks,
ChanhQuoted 59 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 50 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +5
-2@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemd +EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#112970): https://lists.openembedded.org/g/openembedded-devel/message/112970
Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 5 lines · Khem Raj via lists.openembedded.org
Chanh
Can you send a patch on top of the latest master, I have applied the v2, so please send delta which fixed the musl build as a new patch.
Hi Khem Raj,
I saw my patch was merged to the master branch of meta-openembedded https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3
I haven't understood your comment. What should I do now?
Thanks,
Chanh
Quoted 86 lines
Quoted 84 lines · Chanh Nguyen
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler
(https://musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit
https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3bNow I'll push the patch v3 with latest commit from mctp repo.
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
Thanks,
ChanhQuoted 39 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 30 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +1
-1@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemdQuoted 14 lines
Quoted 8 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +4
-1+EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --Quoted 6 lines
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113070): https://lists.openembedded.org/g/openembedded-devel/message/113070
Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 10 lines · Chanh Nguyen
Quoted 5 lines · Khem Raj via lists.openembedded.org
Chanh
Can you send a patch on top of the latest master, I have applied the v2, so please send delta which fixed the musl build as a new patch.
Quoted 8 lines
Hi Khem Raj,
I saw my patch was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3I haven't understood your comment. What should I do now?
We still need to get the fix for musl build. So instead of doing the musl fix included in original patch
do it as a new patch on top of what got merged.
Quoted 90 lines
Thanks,
ChanhQuoted 86 lines
Quoted 84 lines · Chanh Nguyen
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler
(https://musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit
https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3bNow I'll push the patch v3 with latest commit from mctp repo.
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
Thanks,
ChanhQuoted 39 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 30 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +1
-1@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemdQuoted 14 lines
Quoted 8 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +4
-1+EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --Quoted 6 lines
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113070): https://lists.openembedded.org/g/openembedded-devel/message/113070
Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 18 lines · Khem Raj
Quoted 16 lines · Chanh Nguyen
Quoted 5 lines · Khem Raj via lists.openembedded.org
Chanh
Can you send a patch on top of the latest master, I have applied the v2, so please send delta which fixed the musl build as a new patch.
Hi Khem Raj,
I saw my patch was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3
Quoted 6 lines
Quoted 2 lines
I haven't understood your comment. What should I do now?
We still need to get the fix for musl build. So instead of doing the musl fix included in original patch
do it as a new patch on top of what got merged.
You mean we need a patch for the musl compiler?
I tried to build mctp repo by musl compiler and got error as https://errors.yoctoproject.org/Errors/Details/809802/ log mentioned.
It showed the mctp-ops.c code missed linux/socket.h. So, Jeremy added this header to the mctp-ops.c. You can see more at https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3b
I don't know how to fix the musl compiler to pass this error without fixing in mctp repo.
Thanks,
Chanh
Quoted 91 lines
Quoted 91 lines
Thanks,
ChanhQuoted 86 lines
Quoted 84 lines · Chanh Nguyen
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler
(https://musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit
https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3bNow I'll push the patch v3 with latest commit from mctp repo.
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
Thanks,
ChanhQuoted 39 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 30 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +1
-1@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemdQuoted 14 lines
Quoted 8 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +4
-1+EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --Quoted 6 lines
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113070): https://lists.openembedded.org/g/openembedded-devel/message/113070
Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Chanh,
Quoted 2 lines
I don't know how to fix the musl compiler to pass this error without fixing in mctp repo.
Just rebase your change on top of the current oe tree. Khem has integrated v2 of yours, so you will need to send a delta from v2, which updates to the new mctp upstream,for the musl fix.
Cheers,
Jeremy
Quoted 5 lines · Khem Raj via lists.openembedded.org
Chanh
Can you send a patch on top of the latest master, I have applied the v2, so please send delta which fixed the musl build as a new patch.
I saw my patch v3 was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3 . This is correct revision, no any wrong here.
Quoted 86 lines
Quoted 84 lines · Chanh Nguyen
Hi Khem Raj,
Follow the error log, I tried to use the musl cross compiler
(https://musl.cc/) to compiler https://github.com/CodeConstruct/mctp and report error to mctp maintainer. Jeremy fixed this error by commit
https://github.com/CodeConstruct/mctp/commit/0629ec8976b1d56c17db51805f647bf35f4bfd3bNow I'll push the patch v3 with latest commit from mctp repo.
Khem Raj, How can I run CI on meta-openembedded manually? I would like to verify errors from CI failed before push patch. That will help us work on the patch quickly.
Thanks,
ChanhQuoted 39 lines · Khem Raj via lists.openembedded.org
ok, now it fails for musl target see
https://errors.yoctoproject.org/Errors/Details/809802/
maybe you need to include
linux/socket.hto getAF_MCTPaddress family definitionQuoted 30 lines · Chanh Nguyen
Signed-off-by Chanh Nguyen <[email protected]>---
Change in v2:
- Fix CI failed [Chanh]--- .../recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)rename meta-networking/recipes-support/mctp/{mctp_1.1.bb => mctp_2.0.bb} (93%)
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +1
-1@@ -5,7 +5,7 @@ LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=4cc91856b08b094b4f406a29dc61db21" -SRCREV = "a591ad885aa28f113cb45870b2fd5bce48378d6f" +SRCREV = "9986862f88fd6e6ca75e2a29236cf332d640e600" SRC_URI = "git://github.com/CodeConstruct/mctp;branch=main;protocol=https"@@ -13,6 +13,10 @@ S = "${WORKDIR}/git" inherit meson pkgconfig systemdQuoted 14 lines
Quoted 8 lines
meta-networking/recipes-support/mctp/mctp_2.0.bb renamed from meta-networking/recipes-support/mctp/mctp_1.1.bb +4
-1+EXTRA_OEMESON = " \ + -Dtests=false \ +" + PACKAGECONFIG ??= " \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ " --Quoted 6 lines
2.43.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113070): https://lists.openembedded.org/g/openembedded-devel/message/113070
Mute This Topic: https://lists.openembedded.org/mt/109059332/9027231
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Hi Chanh,
Quoted 2 lines
I saw my patch v3 was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3
Ah, neat. Khem had just mentioned that he had merged v2, not v3.
So, all looks good here? unless there are other build failures?
Cheers,
Jeremy
Quoted 7 lines · Jeremy Kerr
Hi Chanh,
Quoted 2 lines
I saw my patch v3 was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3Ah, neat. Khem had just mentioned that he had merged v2, not v3.
So, all looks good here? unless there are other build failures?
Yes, Khem had merged v3 (https://patchwork.yoctoproject.org/project/oe/patch/[email protected]/). This patch is good for me.
So, I think we don't need to do anything more.
Quoted 5 lines
Cheers,
Jeremy
Quoted 10 lines · Chanh Nguyen
Quoted 6 lines · Jeremy Kerr
Hi Chanh,
Quoted 2 lines
I saw my patch v3 was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3Ah, neat. Khem had just mentioned that he had merged v2, not v3.
Quoted 7 lines
Quoted 1 line
So, all looks good here? unless there are other build failures?
Yes, Khem had merged v3
(https://patchwork.yoctoproject.org/project/oe/patch/[email protected]/).
This patch is good for me.So, I think we don't need to do anything more.
yes, I realized that the build was using an older version of patch since some of my CI builds run over 18 hrs,
I lost track of patch versions. seems good for now.
Quoted 7 lines
Quoted 6 lines
Cheers,
Jeremy
Hi Jeremy,
There is a new build failure seen with musl+clang
https://gist.github.com/kraj/cf85e1d301b557c791ecb410f58298ec
Quoted 32 lines · Khem Raj
Quoted 10 lines · Chanh Nguyen
Quoted 6 lines · Jeremy Kerr
Hi Chanh,
Quoted 2 lines
I saw my patch v3 was merged to the master branch of meta-openembedded
https://github.com/openembedded/meta-openembedded/commit/b51e4288b93a97467b1d7dd77b4fab537bc311e3Ah, neat. Khem had just mentioned that he had merged v2, not v3.
Quoted 7 lines
Quoted 1 line
So, all looks good here? unless there are other build failures?
Yes, Khem had merged v3
(https://patchwork.yoctoproject.org/project/oe/patch/[email protected]/).
This patch is good for me.So, I think we don't need to do anything more.
yes, I realized that the build was using an older version of patch since some of my CI builds run over 18 hrs,
I lost track of patch versions. seems good for now.Quoted 7 lines
Quoted 6 lines
Cheers,
Jeremy
Hi Khem,
Quoted 3 lines
There is a new build failure seen with musl+clang
https://gist.github.com/kraj/cf85e1d301b557c791ecb410f58298ec
Ah neat, thanks. I've added a couple of fixes, but currently untested for the musl build:
https://github.com/CodeConstruct/mctp/compare/main...dev/cross-fixes
Chanh / Khem: if these look okay, I can merge to main.
Cheers,
Jeremy
Quoted 12 lines · Jeremy Kerr
Hi Khem,
Quoted 3 lines
There is a new build failure seen with musl+clang
https://gist.github.com/kraj/cf85e1d301b557c791ecb410f58298ec
Ah neat, thanks. I've added a couple of fixes, but currently untested for the musl build:
https://github.com/CodeConstruct/mctp/compare/main...dev/cross-fixes
Chanh / Khem: if these look okay, I can merge to main.
Thank Jeremy,
I think I'll create a patch that includes your fixing from https://github.com/CodeConstruct/mctp/compare/main...dev/cross-fixes . I'm going to push this patch to meta-openembedded and Khem will help run the CI build to check error.
Cheers,
Chanh
Quoted 5 lines
Cheers,
Jeremy
Quoted 4 lines · Jeremy Kerr
Hi Khem,
Quoted 2 lines
There is a new build failure seen with musl+clang
Quoted 9 lines
Ah neat, thanks. I've added a couple of fixes, but currently untested for the musl build:
https://github.com/CodeConstruct/mctp/compare/main...dev/cross-fixes
Chanh / Khem: if these look okay, I can merge to main.
these changes look good to me
Quoted 5 lines
Cheers,
Jeremy