Skip to content

crush: fix compilation guard around specialization for libfmt => 9 - #49768

Merged
yuriw merged 1 commit into
ceph:mainfrom
rzarzynski:wip-crimson-fmt9-compile-guard
Mar 10, 2023
Merged

yuriw merged 1 commit into
ceph:mainfrom
rzarzynski:wip-crimson-fmt9-compile-guard

Conversation

@rzarzynski

Copy link
Copy Markdown
Contributor
[ 77%] Building CXX object src/crimson/CMakeFiles/crimson-common.dir/__/crush/CrushLocation.cc.o
In file included from /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.0.0-1862-g7689999c/rpm/el8/BUILD/ceph-18.0.0-1862-g7689999c/src/common/ceph_context.h:47,
                 from /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.0.0-1862-g7689999c/rpm/el8/BUILD/ceph-18.0.0-1862-g7689999c/src/crush/CrushLocation.cc:11:
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.0.0-1862-g7689999c/rpm/el8/BUILD/ceph-18.0.0-1862-g7689999c/src/crush/CrushLocation.h:43:25: error: redefinition of ‘struct fmt::v9::formatter<crimson::crush::CrushLocation>’
   43 | template <> struct fmt::formatter<TOPNSPC::crush::CrushLocation> : fmt::ostream_formatter {};

Signed-off-by: Radoslaw Zarzynski [email protected]


This caused the failure in https://jenkins.ceph.com/job/ceph-dev-new-build/ARCH=x86_64,AVAILABLE_ARCH=x86_64,AVAILABLE_DIST=centos8,DIST=centos8,MACHINE_SIZE=gigantic/67410//consoleFull.

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@rzarzynski
rzarzynski requested a review from a team as a code owner January 17, 2023 19:18
@github-actions github-actions Bot added the core label Jan 17, 2023

@athanatos athanatos left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment should be changed, it's a change to crush/, not to crimson/osd/. Needs a qa run as well since it touches code outside of crimson/

```
[ 77%] Building CXX object src/crimson/CMakeFiles/crimson-common.dir/__/crush/CrushLocation.cc.o
In file included from /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.0.0-1862-g7689999c/rpm/el8/BUILD/ceph-18.0.0-1862-g7689999c/src/common/ceph_context.h:47,
                 from /home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.0.0-1862-g7689999c/rpm/el8/BUILD/ceph-18.0.0-1862-g7689999c/src/crush/CrushLocation.cc:11:
/home/jenkins-build/build/workspace/ceph-dev-new-build/ARCH/x86_64/AVAILABLE_ARCH/x86_64/AVAILABLE_DIST/centos8/DIST/centos8/MACHINE_SIZE/gigantic/release/18.0.0-1862-g7689999c/rpm/el8/BUILD/ceph-18.0.0-1862-g7689999c/src/crush/CrushLocation.h:43:25: error: redefinition of ‘struct fmt::v9::formatter<crimson::crush::CrushLocation>’
   43 | template <> struct fmt::formatter<TOPNSPC::crush::CrushLocation> : fmt::ostream_formatter {};
```

Signed-off-by: Radoslaw Zarzynski <[email protected]>
@rzarzynski
rzarzynski force-pushed the wip-crimson-fmt9-compile-guard branch from 5eeb7a0 to 4cb969b Compare January 19, 2023 13:36
@rzarzynski rzarzynski changed the title crimson/osd: fix compilation guard around specialization for libfmt => 9 crush: fix compilation guard around specialization for libfmt => 9 Jan 19, 2023
@rzarzynski

Copy link
Copy Markdown
Contributor Author

Fixed the commit and PR titles; no changes to code. Assigning needs-qa.

@ljflores

Copy link
Copy Markdown
Member

Rados suite review: http://pulpito.front.sepia.ceph.com/?branch=wip-yuri11-testing-2023-03-08-1220

Failures, unrelated:
1. https://tracker.ceph.com/issues/58585
2. https://tracker.ceph.com/issues/58560
3. https://tracker.ceph.com/issues/58946
4. https://tracker.ceph.com/issues/49287
5. https://tracker.ceph.com/issues/57755
6. https://tracker.ceph.com/issues/52316
7. https://tracker.ceph.com/issues/58496

Details:
1. rook: failed to pull kubelet image - Ceph - Orchestrator
2. test_envlibrados_for_rocksdb.sh failed to subscribe to repo - Infrastructure
3. cephadm: KeyError: 'osdspec_affinity' - Ceph - Orchestrator
4. SELinux Denials during cephadm/workunits/test_cephadm - Ceph - Orchestrator
5. task/test_orch_cli: test_cephfs_mirror times out - Ceph - Orchestrator
6. qa/tasks/mon_thrash.py: _do_thrash AssertionError len(s['quorum']) == len(mons) - Ceph - RADOS
7. osd/PeeringState: FAILED ceph_assert(!acting_recovery_backfill.empty()) - Ceph - RADOS

@yuriw
yuriw merged commit 98bd899 into ceph:main Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants