Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936889 - sys-cluster/ceph-18* fails to build with gcc 14
Summary: sys-cluster/ceph-18* fails to build with gcc 14
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Patrick McLean
URL:
Whiteboard: fixed in 18.2.4-r2
Keywords:
Depends on:
Blocks: gcc-14
  Show dependency tree
 
Reported: 2024-07-29 14:03 UTC by Jannik Glückert
Modified: 2024-11-01 19:13 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,45.82 KB, application/x-xz)
2024-10-01 10:54 UTC, Leonid Kopylov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jannik Glückert 2024-07-29 14:03:14 UTC
see upstream PRs
https://github.com/ceph/ceph/pull/55306
https://github.com/ceph/ceph/pull/54974


upstream bug https://tracker.ceph.com/issues/64050

I bet ceph-17 and earlier are also affected, but I didn't check.

These apply fine to 18.2.1 and build successfully.
Comment 1 Larry the Git Cow gentoo-dev 2024-07-30 09:05:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8481002b920e87cfbffc3ca7908921134d70087

commit c8481002b920e87cfbffc3ca7908921134d70087
Author:     Patrick Lauer <patrick@gentoo.org>
AuthorDate: 2024-07-30 07:49:34 +0000
Commit:     Patrick Lauer <patrick@gentoo.org>
CommitDate: 2024-07-30 09:05:03 +0000

    sys-cluster/ceph: Fix build with gcc-14
    
    Bug: https://bugs.gentoo.org/936889
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

 sys-cluster/ceph/ceph-18.2.1-r3.ebuild           | 493 +++++++++++++++++++++++
 sys-cluster/ceph/files/ceph-18.2.1-gcc14-2.patch | 253 ++++++++++++
 sys-cluster/ceph/files/ceph-18.2.1-gcc14.patch   | 141 +++++++
 3 files changed, 887 insertions(+)
Comment 2 Leonid Kopylov 2024-08-01 10:04:40 UTC
i still unable to build it with gcc 14 (https://bugs.gentoo.org/932722)
Comment 3 Leonid Kopylov 2024-10-01 10:51:26 UTC
sys-cluster/ceph-18.2.4-r2 still unable to build with gcc 14
Comment 4 Leonid Kopylov 2024-10-01 10:54:43 UTC
Created attachment 904547 [details]
build.log.xz
Comment 5 Patrick Lauer gentoo-dev 2024-10-04 07:02:02 UTC
That's a new/different failure - 

/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: memory_ut.o: in function `vtophys_notify':
/var/tmp/notmpfs/portage/sys-cluster/ceph-18.2.4-r2/work/ceph-18.2.4/src/spdk/lib/env_dpdk/memory.c:1135:(.text.vtophys_notify+0x14b): undefined reference to `rte_eal_iova_mode'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld.bfd: /var/tmp/notmpfs/portage/sys-cluster/ceph-18.2.4-r2/work/ceph-18.2.4/src/spdk/lib/env_dpdk/memory.c:1023:(.text.vtophys_notify+0x1e9): undefined reference to `rte_eal_iova_mode'
collect2: error: ld returned 1 exit status
gmake[3]: *** [/var/tmp/notmpfs/portage/sys-cluster/ceph-18.2.4-r2/work/ceph-18.2.4/src/spdk/mk/spdk.unittest.mk:74: memory_ut] Error 1
Comment 6 Larry the Git Cow gentoo-dev 2024-10-04 11:53:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0728e24f29a6de82909cda5d81017e7900ea8c4

commit e0728e24f29a6de82909cda5d81017e7900ea8c4
Author:     Patrick Lauer <patrick@gentoo.org>
AuthorDate: 2024-10-04 11:52:30 +0000
Commit:     Patrick Lauer <patrick@gentoo.org>
CommitDate: 2024-10-04 11:52:30 +0000

    sys-cluster/ceph: Fix build with use=spdk
    
    Tests don't build, but we don't even run the tests.
    Exclude tests from build.
    
    Closes: https://bugs.gentoo.org/936889
    Signed-off-by: Patrick Lauer <patrick@gentoo.org>

 sys-cluster/ceph/ceph-18.2.4-r2.ebuild        |  1 +
 sys-cluster/ceph/ceph-19.2.0.ebuild           |  3 +++
 sys-cluster/ceph/files/ceph-18.2.4-spdk.patch | 13 +++++++++++++
 3 files changed, 17 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2024-11-01 19:13:29 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7898802b4b5626f9082e9befa793d3a0c5f28fa

commit c7898802b4b5626f9082e9befa793d3a0c5f28fa
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-11-01 19:12:25 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-11-01 19:13:16 +0000

    sys-cluster/ceph: drop 17.2.7
    
    Bug: https://bugs.gentoo.org/932722
    Bug: https://bugs.gentoo.org/936889
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 sys-cluster/ceph/Manifest           |   2 -
 sys-cluster/ceph/ceph-17.2.7.ebuild | 495 ------------------------------------
 sys-cluster/ceph/metadata.xml       |   1 -
 3 files changed, 498 deletions(-)