openwrt / packages

Community maintained packages for OpenWrt. Documentation for submitting pull requests is in CONTRIBUTING.md
GNU General Public License v2.0
3.88k stars 3.39k forks source link

lvm2/btrfs-progs: GCC 14 Compatibility #24363

Closed Ra2-IFV closed 2 weeks ago

Ra2-IFV commented 2 weeks ago

btrfs-progs

Maintainer: @neheb
Compile tested: aarch64 generic 5be9a8790c62a6dca7a4547cd306f54d9bb812d9
Run tested: aarch64 generic 5be9a8790c62a6dca7a4547cd306f54d9bb812d9

lvm2

Maintainer: @dangowrt
Compile tested: aarch64 generic 5be9a8790c62a6dca7a4547cd306f54d9bb812d9
Run tested: aarch64 generic 5be9a8790c62a6dca7a4547cd306f54d9bb812d9

I am new to openwrt, please point out my mistakes if I did anything wrong, I'll appreciate it
Just followed someone in a previous commit. if I'm doing wrong, simply close this pr, thanks for reviewing.

neheb commented 2 weeks ago

Don't bother with btrfs-progs. Just update the version: https://github.com/kdave/btrfs-progs/commit/884a609a77a6ddb7f0e0ba8789e0f0fc0e899dab

neheb commented 2 weeks ago

Same with LVM2.

Ra2-IFV commented 2 weeks ago

https://github.com/openwrt/packages/pull/24371

Ra2-IFV commented 2 weeks ago

opened issue about gcc14 support at upsteam

neheb commented 2 weeks ago

Sounds like it's a missing call to dm_basename. Easy to patch.

Ra2-IFV commented 1 day ago

https://gitlab.com/lvmteam/lvm2/-/issues/14 closed as completed