Skip to contentSkip to conversation

netns: use GO_SRCURI_DESTSUFFIX

RFC PATCH In review Martin Jansa 3 participants 14 messages May 24, 2024 – May 29, 2024 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/3 netns: use GO_SRCURI_DESTSUFFIX

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772686/

---
 recipes-networking/netns/netns_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/netns/netns_git.bb +1 -1
index 357275c1..be41d2b8 100644
@@ -3,7 +3,7 @@ SUMMARY = "Runc hook for setting up default bridge networking."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=7bac31faf84a2d7e88972f562a3ebbe5"
 
-SRC_URI = "git://github.com/genuinetools/netns;branch=master;protocol=https \
+SRC_URI = "git://github.com/genuinetools/netns;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
            file://Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch \
           "
 SRCREV = "00d5d07ab1c8afcf481ffa5958719943b6ecfde4"
Signature · 1 line
2.45.1
#1 lore raw

RFC PATCH 2/3 cni: use GO_SRCURI_DESTSUFFIX

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -1
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-	git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+	git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
Signature · 1 line
2.45.1
#2 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 39 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
--

2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8756): https://lists.yoctoproject.org/g/meta-virtualization/message/8756
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#3 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 56 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 31 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
--

2.45.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8756): https://lists.yoctoproject.org/g/meta-virtualization/message/8756
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#4 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

Interesting.

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

Bruce

Quoted 64 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 56 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 31 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
--

2.45.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8756): https://lists.yoctoproject.org/g/meta-virtualization/message/8756
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#5 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

Quoted 8 lines · Bruce Ashfield

Interesting.

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

OK, looking forward to the master-next update (and kirkstone update) to have a bit greener world builds again :).

Quoted 75 lines

Bruce

Quoted 64 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 56 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 31 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
--

2.45.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8756): https://lists.yoctoproject.org/g/meta-virtualization/message/8756
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

#6 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

As an update. My patience is wearing thin.

The posted patches don't build for me, my changes don't build for me, if I hack things, the runtime is broken.

I'm seeing different fetching and source management based on the number of git repositories in the SCR_URI, which means I'm running into everything from missing source to license checksum failures when I reorganize the code.

I'm stubborn about this sort of thing, there's no sense in me just merging patches that don't build on my machines, and/or patches that I don't understand how they fix issues, since I'll never be able to maintain things afterwards.

I am still working on this, but I'm no debugging oe-core code to try and understand what is happening and why the behaviour is changing, so everything is extremely hacked up and I'm not even near a RFT branch yet.

Summary: it will be quite some time before I have meta-virt working again, since I feel like I've had a bag of rocks dumped right on top of me and changes to core that I don't have straight in my head yet.

Bruce

Quoted 89 lines · Martin Jansa
Quoted 8 lines · Bruce Ashfield

Interesting.

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

OK, looking forward to the master-next update (and kirkstone update) to have a bit greener world builds again :).

Quoted 75 lines

Bruce

Quoted 64 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 56 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 31 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
--

2.45.1

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8756): https://lists.yoctoproject.org/g/meta-virtualization/message/8756
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#7 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

Hi Bruce,

I did some investigation this afternoon. A patch series has been sent, which mostly comes from 'grep + sed', and also includes a patch from Martin.
I did build tests, the result looks good to me. I think the only remaining recipes that need to be dealt with are: yq and possibly runv. I'll need to do something else tomorrow. Hope you or someone else could check more. Hope this would help a little bit.

Regards,
Qi

Quoted 112 lines · Bruce Ashfield via lists.yoctoproject.org

As an update. My patience is wearing thin.

The posted patches don't build for me, my changes don't build for me, if I hack things, the runtime is broken.

I'm seeing different fetching and source management based on the number of git repositories in the SCR_URI, which means I'm running into everything from missing source to license checksum failures when I reorganize the code.

I'm stubborn about this sort of thing, there's no sense in me just merging patches that don't build on my machines, and/or patches that I don't understand how they fix issues, since I'll never be able to maintain things afterwards.

I am still working on this, but I'm no debugging oe-core code to try and understand what is happening and why the behaviour is changing, so everything is extremely hacked up and I'm not even near a RFT branch yet.

Summary: it will be quite some time before I have meta-virt working again, since I feel like I've had a bag of rocks dumped right on top of me and changes to core that I don't have straight in my head yet.

Bruce

Quoted 74 lines · Martin Jansa
Quoted 7 lines · Bruce Ashfield

Interesting.

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

OK, looking forward to the master-next update (and kirkstone update) to have a bit greener world builds again :).

Quoted 63 lines

Bruce

Quoted 54 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 47 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 27 lines · Martin Jansa via lists.yoctoproject.org

* see:

   https://lists.openembedded.org/g/openembedded-architecture/message/2007
   https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
  recipes-networking/cni/cni_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
  SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
  SRCREV_FORMAT = "cni_plugins"
  SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
          git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
          git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
          file://modules.txt \
--
Quoted 5 lines

2.45.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8769): https://lists.yoctoproject.org/g/meta-virtualization/message/8769
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/3618072
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#8 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

FWIW: my colleague sent me some fixes for my WIP jansa/master branch in:
https://github.com/shr-project/meta-virtualization/pull/1
https://github.com/shr-project/meta-virtualization/pull/2
I haven't shared them as I'm waiting for master-next branch to be updated to see what's left to fix (and hard to guess what Bruce is cooking)

Quoted 128 lines · ChenQi

Hi Bruce,

I did some investigation this afternoon. A patch series has been sent, which mostly comes from 'grep + sed', and also includes a patch from Martin. I did build tests, the result looks good to me. I think the only remaining recipes that need to be dealt with are: yq and possibly runv. I'll need to do something else tomorrow. Hope you or someone else could check more.
Hope this would help a little bit.

Regards,
Qi

Quoted 112 lines · Bruce Ashfield via lists.yoctoproject.org

As an update. My patience is wearing thin.

The posted patches don't build for me, my changes don't build for me, if I hack things, the runtime is broken.

I'm seeing different fetching and source management based on the number of git repositories in the SCR_URI, which means I'm running into everything from missing source to license checksum failures when I reorganize the code.

I'm stubborn about this sort of thing, there's no sense in me just merging patches that don't build on my machines, and/or patches that I don't understand how they fix issues, since I'll never be able to maintain things afterwards.

I am still working on this, but I'm no debugging oe-core code to try and understand what is happening and why the behaviour is changing, so everything is extremely hacked up and I'm not even near a RFT branch yet.

Summary: it will be quite some time before I have meta-virt working again, since I feel like I've had a bag of rocks dumped right on top of me and changes to core that I don't have straight in my head yet.

Bruce

Quoted 74 lines · Martin Jansa
Quoted 7 lines · Bruce Ashfield

Interesting.

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

OK, looking forward to the master-next update (and kirkstone update) to have a bit greener world builds again :).

Quoted 63 lines

Bruce

Quoted 54 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 47 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 27 lines · Martin Jansa via lists.yoctoproject.org

* see:

   https://lists.openembedded.org/g/openembedded-architecture/message/2007
   https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
  recipes-networking/cni/cni_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
  SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
  SRCREV_FORMAT = "cni_plugins"
  SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
          git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
          git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
          file://modules.txt \
--
Quoted 5 lines

2.45.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8769): https://lists.yoctoproject.org/g/meta-virtualization/message/8769
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/3618072
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#9 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

In reply to ChenQi
Quoted 7 lines · ChenQi

Hi Bruce,

I did some investigation this afternoon. A patch series has been sent, which mostly comes from 'grep + sed', and also includes a patch from Martin. I did build tests, the result looks good to me. I think the only remaining recipes that need to be dealt with are: yq and possibly runv.

runv has been put into read-only mode, so I'm going to remove it from the layer and pull in a replacement. So nothing really to do on their front.

Bruce

Quoted 121 lines

I'll need to do something else tomorrow. Hope you or someone else could check more.
Hope this would help a little bit.

Regards,
Qi

Quoted 112 lines · Bruce Ashfield via lists.yoctoproject.org

As an update. My patience is wearing thin.

The posted patches don't build for me, my changes don't build for me, if I hack things, the runtime is broken.

I'm seeing different fetching and source management based on the number of git repositories in the SCR_URI, which means I'm running into everything from missing source to license checksum failures when I reorganize the code.

I'm stubborn about this sort of thing, there's no sense in me just merging patches that don't build on my machines, and/or patches that I don't understand how they fix issues, since I'll never be able to maintain things afterwards.

I am still working on this, but I'm no debugging oe-core code to try and understand what is happening and why the behaviour is changing, so everything is extremely hacked up and I'm not even near a RFT branch yet.

Summary: it will be quite some time before I have meta-virt working again, since I feel like I've had a bag of rocks dumped right on top of me and changes to core that I don't have straight in my head yet.

Bruce

Quoted 74 lines · Martin Jansa
Quoted 7 lines · Bruce Ashfield

Interesting.

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

OK, looking forward to the master-next update (and kirkstone update) to have a bit greener world builds again :).

Quoted 63 lines

Bruce

Quoted 54 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 47 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 27 lines · Martin Jansa via lists.yoctoproject.org

* see:

   https://lists.openembedded.org/g/openembedded-architecture/message/2007
   https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
  recipes-networking/cni/cni_git.bb | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
  SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
  SRCREV_FORMAT = "cni_plugins"
  SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
          git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
          git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
          file://modules.txt \
--
Quoted 5 lines

2.45.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8769): https://lists.yoctoproject.org/g/meta-virtualization/message/8769
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/3618072
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

A message that is not in the archive (sent off-list or not yet received): [email protected]

#11 lore raw

Re: [meta-virtualization] [RFC][PATCH 2/3] cni: use GO_SRCURI_DESTSUFFIX

Quoted 16 lines · Bruce Ashfield via lists.yoctoproject.org

As an update. My patience is wearing thin.

The posted patches don't build for me, my changes don't build for me, if I hack things, the runtime is broken.

I'm seeing different fetching and source management based on the number of git repositories in the SCR_URI, which means I'm running into everything from missing source to license checksum failures when I reorganize the code.

I'm stubborn about this sort of thing, there's no sense in me just merging patches that don't build on my machines, and/or patches that I don't understand how they fix issues, since I'll never be able to maintain things afterwards.

Quoted 8 lines

I am still working on this, but I'm no debugging oe-core code to try and understand what is happening and why the behaviour is changing, so everything is extremely hacked up and I'm not even near a RFT branch yet.

Summary: it will be quite some time before I have meta-virt working again, since I feel like I've had a bag of rocks dumped right on top of me and changes to core that I don't have straight in my head yet.

I did finally come to a better understanding of what is breaking some of the packages and I've now fixed them.

I'm working on some of the more complex container ones tomorrow, but I expect to have the branch ready for more testing on Tuesday.

Bruce

Quoted 103 lines

Bruce

Quoted 5 lines · Martin Jansa
Quoted 3 lines · Bruce Ashfield

Interesting.

Quoted 78 lines
Quoted 5 lines

I've been through the layer now and have done all the simple semantic changes to adjust things.

I'm almost to runtime testing, but expect that by Monday I'll have everything sorted.

OK, looking forward to the master-next update (and kirkstone update) to have a bit greener world builds again :).

Quoted 69 lines

Bruce

Quoted 58 lines · Martin Jansa

It was failing yesterday, but today it built OK, I didn't do any runtime testing (only checked buildhistory-diff).

Have similar change for nerdctl cri-tools, only yq and docker-moby are still failing for me.

Quoted 50 lines · Bruce Ashfield

Did you get this to build with just that change ?

My patches to cni are significantly larger to get it to build and create binaries.

Bruce

Quoted 28 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772691/
ERROR: QA Issue: cni: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/cni/v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/cni-v1.2.0-rc0+gitb62753aa2bfa365c1ceaff6f25774a8047c896b5/src/import/LICENSE [license-checksum]

---
 recipes-networking/cni/cni_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/cni/cni_git.bb +1 -2
index b41b47cf..c0f316ec 100644
@@ -14,7 +14,7 @@ SRCREV_plugins = "b6a0e0bc96906f0d3bd6bfcaab0b5ae72292f46c"
 SRCREV_flannel_plugin = "6464faacf5c00e25321573225d74638455ef03a0"
 SRCREV_FORMAT = "cni_plugins"
 SRC_URI = "\
-       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https \
+       git://github.com/containernetworking/cni.git;branch=main;name=cni;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
         git://github.com/containernetworking/plugins.git;branch=main;destsuffix=${S}/src/github.com/containernetworking/plugins;name=plugins;protocol=https \
         git://github.com/flannel-io/cni-plugin;branch=main;name=flannel_plugin;protocol=https;destsuffix=${S}/src/github.com/containernetworking/plugins/plugins/meta/flannel \
         file://modules.txt \
--
Quoted 5 lines

2.45.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8769): https://lists.yoctoproject.org/g/meta-virtualization/message/8769
Mute This Topic: https://lists.yoctoproject.org/mt/106287452/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#12 lore raw

RFC PATCH 3/3 go-md2man: use GO_SRCURI_DESTSUFFIX

In reply to Martin Jansa

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772683/
no Go files in TOPDIR/tmp-glibc/work/core2-64-oe-linux/go-md2man/1.0.10+git/build

http://errors.yoctoproject.org/Errors/Details/772689/
ERROR: QA Issue: go-md2man: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/go-md2man/1.0.10+git/git/src/github.com/cpuguy83/go-md2man/LICENSE.md [license-checksum]

---
 recipes-devtools/go/go-md2man_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/go/go-md2man_git.bb +1 -1
index 1d96bb1b..73d8d167 100644
@@ -9,7 +9,7 @@ BBCLASSEXTEND = "native"
 GO_IMPORT = "github.com/cpuguy83/go-md2man"
 #GO_INSTALL = "${GO_IMPORT}/bin/go-md2man"
 
-SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https"
+SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
 
 SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a"
 PV = "1.0.10+git"
Signature · 1 line
2.45.1
#13 lore raw

Re: [meta-virtualization] [RFC][PATCH 3/3] go-md2man: use GO_SRCURI_DESTSUFFIX

I've already got this one fixed locally, similar to the other ones, I'll push to master-next once I test the image.

Bruce

Quoted 42 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772683/
no Go files in TOPDIR/tmp-glibc/work/core2-64-oe-linux/go-md2man/1.0.10+git/build

http://errors.yoctoproject.org/Errors/Details/772689/
ERROR: QA Issue: go-md2man: LIC_FILES_CHKSUM points to an invalid file: TOPDIR/tmp-glibc/work/core2-64-oe-linux/go-md2man/1.0.10+git/git/src/github.com/cpuguy83/go-md2man/LICENSE.md [license-checksum]

---
 recipes-devtools/go/go-md2man_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-devtools/go/go-md2man_git.bb +1 -2
index 1d96bb1b..73d8d167 100644
@@ -9,7 +9,7 @@ BBCLASSEXTEND = "native"
 GO_IMPORT = "github.com/cpuguy83/go-md2man"
 #GO_INSTALL = "${GO_IMPORT}/bin/go-md2man"
 
-SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https"
+SRC_URI = "git://${GO_IMPORT}.git;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX}"
 
 SRCREV = "f79a8a8ca69da163eee19ab442bedad7a35bba5a"
 PV = "1.0.10+git"
--

2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8757): https://lists.yoctoproject.org/g/meta-virtualization/message/8757
Mute This Topic: https://lists.yoctoproject.org/mt/106287453/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
#14 lore raw
In reply to Martin Jansa

Thanks!

I've already fixed this one locally, will push everything once my image testing is done

Bruce

Quoted 38 lines · Martin Jansa via lists.yoctoproject.org

* see:
https://lists.openembedded.org/g/openembedded-architecture/message/2007
https://git.openembedded.org/openembedded-core/commit/?id=cc4ec43a2b657fb4c58429ab14f1edc2473c1327

* fixes:
http://errors.yoctoproject.org/Errors/Details/772686/

---
 recipes-networking/netns/netns_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-networking/netns/netns_git.bb +1 -2
index 357275c1..be41d2b8 100644
@@ -3,7 +3,7 @@ SUMMARY = "Runc hook for setting up default bridge networking."
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=7bac31faf84a2d7e88972f562a3ebbe5"
 
-SRC_URI = "git://github.com/genuinetools/netns;branch=master;protocol=https \
+SRC_URI = "git://github.com/genuinetools/netns;branch=master;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
            file://Makefile-force-rebuilding-all-packages-to-avoid-cgo.patch \
           "
 SRCREV = "00d5d07ab1c8afcf481ffa5958719943b6ecfde4"
--

2.45.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8755): https://lists.yoctoproject.org/g/meta-virtualization/message/8755
Mute This Topic: https://lists.yoctoproject.org/mt/106287450/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II