Skip to contentSkip to conversation

ceph upgrade

meta-virtualization Bruce Ashfield 4 participants 9 messages Mar 11, 2024 – Mar 14, 2024 2 messages not in the archive

lore
Share & tools
lore

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

#1 lore raw

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Bruce

--
- 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 (#8604): https://lists.yoctoproject.org/g/meta-virtualization/message/8604
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/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
#2 lore raw
Quoted 8 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

Quoted 6 lines

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

We can only take so much abuse from upstream ;)

Quoted 50 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Quoted 9 lines

Bruce

--
- 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 (#8624):
https://lists.yoctoproject.org/g/meta-virtualization/message/8624
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/924729
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#3 lore raw
Quoted 13 lines · Tim Orling
Quoted 9 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

Quoted 9 lines
Quoted 5 lines

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken
recipe.

I'll have one more try with it tomorrow before giving up.

Bruce

Quoted 51 lines

We can only take so much abuse from upstream ;)

Quoted 48 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Quoted 9 lines

Bruce

--
- 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 (#8624): https://lists.yoctoproject.org/g/meta-virtualization/message/8624
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/924729
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
#4 lore raw
Quoted 22 lines · Bruce Ashfield
Quoted 10 lines · Tim Orling
Quoted 9 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

Quoted 7 lines
Quoted 5 lines

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

Quoted 8 lines

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken
recipe.

I'll have one more try with it tomorrow before giving up.

Hi Bruce, Tim,

I had a look at this yesterday, and I (possibly?) made some progress with it but wanted to ask before getting too far with an approach:
would it be OK to pull out at least some of those vendored components into some new separate recipes, so that rebuilding that compile stage when it needs it is faster?

Christopher

Quoted 63 lines

Bruce

Quoted 45 lines

We can only take so much abuse from upstream ;)

Quoted 42 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Quoted 9 lines

Bruce

--
- 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 (#8626): https://lists.yoctoproject.org/g/meta-virtualization/message/8626
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/3619036
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

#5 lore raw
Quoted 33 lines · Christopher Clark
Quoted 22 lines · Bruce Ashfield
Quoted 10 lines · Tim Orling
Quoted 9 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

Quoted 7 lines
Quoted 5 lines

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

Quoted 8 lines

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken
recipe.

I'll have one more try with it tomorrow before giving up.

Quoted 8 lines

Hi Bruce, Tim,

I had a look at this yesterday, and I (possibly?) made some progress with it but wanted to ask before getting too far with an approach:
would it be OK to pull out at least some of those vendored components into some new separate recipes, so that rebuilding that compile stage when it needs it is faster?

I'm fine with stripping it down to the bare minimum to be buildable.

I'd rather have a building (but small) recipe, and then we can see if there's demand for more components.

I was also poking at this today, and I'm still seeing dramatically different results when I call compile multiple times .. all the way back to cmake complaining it can't find the python3 interpreter, which was a problem I thought I had solved!

Feel free to grab me on the #meta-virt channel if you have any interactive questions.

Bruce

Quoted 66 lines

Christopher

Quoted 63 lines

Bruce

Quoted 45 lines

We can only take so much abuse from upstream ;)

Quoted 42 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Quoted 9 lines

Bruce

--
- 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 (#8626): https://lists.yoctoproject.org/g/meta-virtualization/message/8626
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/3619036
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
#6 lore raw

Hi Bruce,

I looked into this ceph issue this afternoon. Now I can make do_compile pass. There's still some do_install issue, but I really need to head home now. I'll send out my patch soon.

Regards,
Qi

Quoted 119 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 27 lines · Christopher Clark
Quoted 26 lines · Bruce Ashfield
Quoted 9 lines · Tim Orling
Quoted 8 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

Quoted 6 lines
Quoted 5 lines

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken
recipe.

Quoted 9 lines
Quoted 1 line

I'll have one more try with it tomorrow before giving up.

Hi Bruce, Tim,

I had a look at this yesterday, and I (possibly?) made some progress with it but wanted to ask before getting too far with an approach:
would it be OK to pull out at least some of those vendored components into some new separate recipes, so that rebuilding that compile stage when it needs it is faster?

I'm fine with stripping it down to the bare minimum to be buildable.

I'd rather have a building (but small) recipe, and then we can see if there's demand for more components.

I was also poking at this today, and I'm still seeing dramatically different results when I call compile multiple times .. all the way back to cmake complaining it can't find the python3 interpreter, which was a problem I thought I had solved!

Feel free to grab me on the #meta-virt channel if you have any interactive questions.

Bruce

Quoted 55 lines

Christopher

Quoted 52 lines

Bruce

Quoted 42 lines

We can only take so much abuse from upstream ;)

Quoted 39 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Quoted 9 lines

Bruce

--
- 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 (#8629): https://lists.yoctoproject.org/g/meta-virtualization/message/8629
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/3618072
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

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

#8 lore raw

I found the install and packaging issues easy to fix. So I spend a little more time. The patch has been sent out.

There are still some package_qa issues as shown below:

WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/bin/cephfs-top in package ceph contains reference to TMPDIR
File /usr/sbin/cephadm in package ceph contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: ceph: /usr/bin/cephfs-top maximum shebang size exceeded, the maximum size is 128.
ceph: /usr/sbin/cephadm maximum shebang size exceeded, the maximum size is 128. [shebang-size]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: /usr/bin/cephfs-top contained in package ceph requires /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/core2-64-poky-linux/ceph/18.2.0/recipe-sysroot-native/usr/bin/python3-native/python3, but no providers found in RDEPENDS:ceph? [file-rdeps]
WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/cephfs.cpython-312-x86_64-linux-gnu.so in package ceph-python contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/rbd.cpython-312-x86_64-linux-gnu.so in package ceph-python contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/rados.cpython-312-x86_64-linux-gnu.so in package ceph-python contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/rgw.cpython-312-x86_64-linux-gnu.so in package ceph-python contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/ceph_volume-1.0.0-py3.12.egg-info/dependency_links.txt in package ceph-python contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: -dev package ceph-dev contains non-symlink .so '/usr/lib/libcephsqlite.so' [dev-elf]
WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/.debug/cephfs.cpython-312-x86_64-linux-gnu.so in package ceph-dbg contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/.debug/rbd.cpython-312-x86_64-linux-gnu.so in package ceph-dbg contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/.debug/rados.cpython-312-x86_64-linux-gnu.so in package ceph-dbg contains reference to TMPDIR
File /usr/lib/python3.12/site-packages/.debug/rgw.cpython-312-x86_64-linux-gnu.so in package ceph-dbg contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/core2-64-poky-linux/ceph/18.2.0/temp/log.do_package_qa.3746018
ERROR: Task (/ala-lpggp72/qichen/Yocto/poky/meta-virtualization/recipes-extended/ceph/ceph_18.2.0.bb:do_package_qa) failed with exit code '1'

Regards,
Qi

Quoted 136 lines · Chen Qi via lists.yoctoproject.org

Hi Bruce,

I looked into this ceph issue this afternoon. Now I can make do_compile pass. There's still some do_install issue, but I really need to head home now. I'll send out my patch soon.

Regards,
Qi

Quoted 48 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 27 lines · Christopher Clark
Quoted 26 lines · Bruce Ashfield
Quoted 9 lines · Tim Orling
Quoted 8 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

Quoted 6 lines
Quoted 5 lines

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken
recipe.

Quoted 9 lines
Quoted 1 line

I'll have one more try with it tomorrow before giving up.

Hi Bruce, Tim,

I had a look at this yesterday, and I (possibly?) made some progress with it but wanted to ask before getting too far with an approach:
would it be OK to pull out at least some of those vendored components into some new separate recipes, so that rebuilding that compile stage when it needs it is faster?

I'm fine with stripping it down to the bare minimum to be buildable.

I'd rather have a building (but small) recipe, and then we can see if there's demand for more components.

I was also poking at this today, and I'm still seeing dramatically different results when I call compile multiple times .. all the way back to cmake complaining it can't find the python3 interpreter, which was a problem I thought I had solved!

Quoted 67 lines

Feel free to grab me on the #meta-virt channel if you have any interactive questions.

Bruce

Quoted 57 lines

Christopher

Quoted 54 lines

Bruce

Quoted 44 lines

We can only take so much abuse from upstream ;)

Quoted 41 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Bruce

Signature · 4 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
Signature · 4 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
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

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

#9 lore raw

I'll have a closer look at the patch this morning. Cmake is still not obvious to me, so I'm going to try and reverse engineer how you came up with the patches!

Christopher: I'm still interested if there's anything that can be removed from the vendored dependencies that you were looking into.

Bruce

Quoted 211 lines · ChenQi

I found the install and packaging issues easy to fix. So I spend a little more time.
The patch has been sent out.

There are still some package_qa issues as shown below:

WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File
/usr/bin/cephfs-top in package ceph contains reference to TMPDIR
File /usr/sbin/cephadm in package ceph contains reference to TMPDIR
[buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: ceph: /usr/bin/cephfs-top
maximum shebang size exceeded, the maximum size is 128.
ceph: /usr/sbin/cephadm maximum shebang size exceeded, the maximum size
is 128. [shebang-size]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: /usr/bin/cephfs-top
contained in package ceph requires /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/core2-64-poky-linux/ceph/18.2.0/recipe-sysroot-native/usr/bin/python3-native/python3, but no providers found in RDEPENDS:ceph? [file-rdeps]
WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/cephfs.cpython-312-x86_64-linux-gnu.so
in package ceph-python contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/rbd.cpython-312-x86_64-linux-gnu.so in
package ceph-python contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/rados.cpython-312-x86_64-linux-gnu.so
in package ceph-python contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/rgw.cpython-312-x86_64-linux-gnu.so in
package ceph-python contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/ceph_volume-1.0.0-py3.12.egg-info/dependency_links.txt
in package ceph-python contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: -dev package ceph-dev
contains non-symlink .so '/usr/lib/libcephsqlite.so' [dev-elf]
WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/.debug/cephfs.cpython-312-x86_64-linux-gnu.so
in package ceph-dbg contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/.debug/rbd.cpython-312-x86_64-linux-gnu.so
in package ceph-dbg contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/.debug/rados.cpython-312-x86_64-linux-gnu.so
in package ceph-dbg contains reference to TMPDIR
File
/usr/lib/python3.12/site-packages/.debug/rgw.cpython-312-x86_64-linux-gnu.so
in package ceph-dbg contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: Fatal QA errors were found, failing
task.
ERROR: Logfile of failure stored in:
/ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/core2-64-poky-linux/ceph/18.2.0/temp/log.do_package_qa.3746018
ERROR: Task
(/ala-lpggp72/qichen/Yocto/poky/meta-virtualization/recipes-extended/ceph/ceph_18.2.0.bb:do_package_qa)
failed with exit code '1'

Regards,
Qi

Quoted 149 lines · Chen Qi via lists.yoctoproject.org

Hi Bruce,

I looked into this ceph issue this afternoon. Now I can make do_compile pass.
There's still some do_install issue, but I really need to head home now. I'll send out my patch soon.

Regards,
Qi

Quoted 56 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 33 lines · Christopher Clark
Quoted 31 lines · Bruce Ashfield
Quoted 14 lines · Tim Orling
Quoted 12 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

I'm still holding the meta-virt master-next -> master push until Ceph
is upgraded and working.

Quoted 6 lines
Quoted 3 lines

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken
recipe.

Quoted 9 lines
Quoted 1 line

I'll have one more try with it tomorrow before giving up.

Hi Bruce, Tim,

I had a look at this yesterday, and I (possibly?) made some progress with it but wanted to ask before getting too far with an approach:
would it be OK to pull out at least some of those vendored components into some new separate recipes, so that rebuilding that compile stage when it needs it is faster?

I'm fine with stripping it down to the bare minimum to be buildable.

I'd rather have a building (but small) recipe, and then we can see if there's
demand for more components.

I was also poking at this today, and I'm still seeing dramatically different
results when I call compile multiple times .. all the way back to cmake complaining it can't find the python3 interpreter, which was a problem I thought I had solved!

Quoted 71 lines

Feel free to grab me on the #meta-virt channel if you have any interactive
questions.

Bruce

Quoted 60 lines

Christopher

Quoted 57 lines

Bruce

Quoted 47 lines

We can only take so much abuse from upstream ;)

Quoted 44 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the
ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test
is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of
some love.

Quoted 10 lines

Bruce

--
- 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 (#8632): https://lists.yoctoproject.org/g/meta-virtualization/message/8632
Mute This Topic: https://lists.yoctoproject.org/mt/104759213/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
#10 lore raw

Hi Bruce,

I've sent out V2, which handles these QA issues, as well as some simple runtime issues.

Regards,
Qi

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Bruce Ashfield via lists.yoctoproject.org
Sent: Wednesday, March 13, 2024 8:58 PM
To: Chen, Qi <[email protected]>
Cc: Christopher Clark <[email protected]>; Tim Orling <[email protected]>; meta-virtualization <[email protected]>
Subject: Re: [meta-virtualization] ceph upgrade

I'll have a closer look at the patch this morning. Cmake is still not obvious to me, so I'm going to try and reverse engineer how you came up with the patches!

Christopher: I'm still interested if there's anything that can be removed from the vendored dependencies that you were looking into.

Bruce

Quoted 53 lines · ChenQi

I found the install and packaging issues easy to fix. So I spend a little more time.
The patch has been sent out.

There are still some package_qa issues as shown below:

WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/bin/cephfs-top in package ceph contains reference to TMPDIR File /usr/sbin/cephadm in package ceph contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: ceph:
/usr/bin/cephfs-top maximum shebang size exceeded, the maximum size is 128.
ceph: /usr/sbin/cephadm maximum shebang size exceeded, the maximum size is 128. [shebang-size]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: /usr/bin/cephfs-top contained in package ceph requires /ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/core2-64-poky-lin ux/ceph/18.2.0/recipe-sysroot-native/usr/bin/python3-native/python3, but no providers found in RDEPENDS:ceph? [file-rdeps]
WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/cephfs.cpython-312-x86_64-linux-gnu. so in package ceph-python contains reference to TMPDIR File /usr/lib/python3.12/site-packages/rbd.cpython-312-x86_64-linux-gnu.so in package ceph-python contains reference to TMPDIR File /usr/lib/python3.12/site-packages/rados.cpython-312-x86_64-linux-gnu.s
o in package ceph-python contains reference to TMPDIR File /usr/lib/python3.12/site-packages/rgw.cpython-312-x86_64-linux-gnu.so in package ceph-python contains reference to TMPDIR File /usr/lib/python3.12/site-packages/ceph_volume-1.0.0-py3.12.egg-info/de pendency_links.txt in package ceph-python contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: QA Issue: -dev package ceph-dev contains non-symlink .so '/usr/lib/libcephsqlite.so' [dev-elf]
WARNING: ceph-18.2.0-r0 do_package_qa: QA Issue: File /usr/lib/python3.12/site-packages/.debug/cephfs.cpython-312-x86_64-lin ux-gnu.so in package ceph-dbg contains reference to TMPDIR File /usr/lib/python3.12/site-packages/.debug/rbd.cpython-312-x86_64-linux- gnu.so in package ceph-dbg contains reference to TMPDIR File /usr/lib/python3.12/site-packages/.debug/rados.cpython-312-x86_64-linu x-gnu.so in package ceph-dbg contains reference to TMPDIR File /usr/lib/python3.12/site-packages/.debug/rgw.cpython-312-x86_64-linux- gnu.so in package ceph-dbg contains reference to TMPDIR [buildpaths]
ERROR: ceph-18.2.0-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in:
/ala-lpggp72/qichen/Yocto/builds/build-poky/tmp/work/core2-64-poky-lin ux/ceph/18.2.0/temp/log.do_package_qa.3746018
ERROR: Task (/ala-lpggp72/qichen/Yocto/poky/meta-virtualization/recipes-extended/c eph/ceph_18.2.0.bb:do_package_qa)
failed with exit code '1'

Quoted 140 lines

Regards,
Qi

Quoted 134 lines · Chen Qi via lists.yoctoproject.org

Hi Bruce,

I looked into this ceph issue this afternoon. Now I can make do_compile pass.
There's still some do_install issue, but I really need to head home now. I'll send out my patch soon.

Regards,
Qi

Quoted 118 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 31 lines · Christopher Clark
Quoted 29 lines · Bruce Ashfield
Quoted 13 lines · Tim Orling
Quoted 11 lines · Bruce Ashfield

Hi all,

I'm still looking for help with this.

It's all fine and well that folks have packages that they are interested in more than others, but it needs to be more than maintainers that step up and fix the niche packages.

I'm still holding the meta-virt master-next -> master push until Ceph is upgraded and working.

Quoted 6 lines
Quoted 3 lines

I know absolutely nothing about CMake, so I'm flailing around in the build of Ceph and have gotten no further since I last asked for help.

Well I did try, but I am no CMake expert nor ceph expert either. I got stalled on it detecting “thrift” in one of the vendored libraries.

I ended up with that as well (just a few minutes ago), I tried setting some Thrift variables, but it refuses to detect those as well.

The errors seem to rotate .. and it isn't even obvious if some are really fatal, or not.

Perhaps it just isn't something that cross builds anymore, and I'll just blacklist it with the broken recipe.

Quoted 9 lines
Quoted 1 line

I'll have one more try with it tomorrow before giving up.

Hi Bruce, Tim,

I had a look at this yesterday, and I (possibly?) made some progress with it but wanted to ask before getting too far with an approach:
would it be OK to pull out at least some of those vendored components into some new separate recipes, so that rebuilding that compile stage when it needs it is faster?

I'm fine with stripping it down to the bare minimum to be buildable.

I'd rather have a building (but small) recipe, and then we can see if there's demand for more components.

I was also poking at this today, and I'm still seeing dramatically different results when I call compile multiple times .. all the way back to cmake complaining it can't find the python3 interpreter, which was a problem I thought I had solved!

Feel free to grab me on the #meta-virt channel if you have any interactive questions.

Bruce

Quoted 56 lines

Christopher

Quoted 53 lines

Bruce

Quoted 43 lines

We can only take so much abuse from upstream ;)

Quoted 40 lines

Bruce

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

Hi all,

If anyone has experience with Cmake, I could use a hand completing the ceph upgrade that is marked as WIP in master-next.

It took me a few hours today, but I managed to get past python3 detection issues, but now I'm running into a compiler test failure during the build.

To me, it looks like our sysroot isn't being passed, which could be related to the toolchain.cmake not being used (since the compiler test is being launched by a sub component).

I'm inclined to be stubborn about this, and keep working on getting the package bumped, as it has missed a few upgrades and is in need of some love.

Quoted 9 lines

Bruce

--
- 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

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