Skip to content

ceph: fix build - #325059

Merged
vcunat merged 1 commit into
NixOS:masterfrom
superherointj:ceph-fix-uring
Jul 9, 2024
Merged

vcunat merged 1 commit into
NixOS:masterfrom
superherointj:ceph-fix-uring

Conversation

@superherointj

@superherointj superherointj commented Jul 6, 2024 •

Copy link
Copy Markdown
Contributor

Fix for regression: #314945 (comment)

Could NOT find uring (missing: URING_LIBRARIES)

CC @PedroHLC @vcunat

@superherointj
superherointj requested review from PedroHLC and vcunat July 6, 2024 14:48
@superherointj superherointj added the 0.kind: build failure A package fails to build label Jul 6, 2024
@ofborg
ofborg Bot requested review from adevress, johanot and krav July 6, 2024 15:33
@ofborg ofborg Bot added 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 6, 2024
@superherointj

superherointj commented Jul 6, 2024 •

Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 325059 run on x86_64-linux 1

5 packages failed to build:
  • qemu_full
  • qemu_full.debug
  • qemu_full.ga
  • quickemu
  • quickgui
10 packages built:
  • ceph (ceph-dev)
  • ceph-client
  • ceph-csi
  • ceph.dev (ceph-dev.dev)
  • ceph.doc (ceph-dev.doc)
  • libceph (ceph.lib ,libceph.dev ,libceph.doc ,libceph.lib ,libceph.man)
  • ceph.man (ceph-dev.man)
  • sambaFull (samba4Full)
  • sambaFull.dev (samba4Full.dev)
  • sambaFull.man (samba4Full.man)

Failure details:
image

glusterfs fails to build in master.

This breakage is unrelated to this PR.

glusterfs was fixed in #325229

@superherointj superherointj mentioned this pull request Jul 6, 2024
1 task
@vcunat

vcunat commented Jul 6, 2024

Copy link
Copy Markdown
Member

I browsed around introduction of this and haven't found any mention why static linkage. So perhaps there's no real reason for that and this PR will be just fine.

@vcunat
vcunat changed the base branch from staging-next to master July 6, 2024 19:43
@superherointj

superherointj commented Jul 7, 2024 •

Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 325059 run on x86_64-linux 1

2 packages failed to build:
  • quickemu
  • quickgui
13 packages built:
  • ceph
  • ceph-client
  • ceph-csi
  • ceph.dev
  • ceph.doc
  • libceph (ceph.lib ,libceph.dev ,libceph.doc ,libceph.lib ,libceph.man)
  • ceph.man
  • qemu_full
  • qemu_full.debug
  • qemu_full.ga
  • samba4Full
  • samba4Full.dev
  • samba4Full.man

image

edk2 hash mismatch exist in master:

image

Possible source of problem: #321143 (comment)

@superherointj superherointj mentioned this pull request Jul 7, 2024
@superherointj

superherointj commented Jul 7, 2024 •

Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 325059 run on x86_64-linux 1

25 packages built:
  • OVMF
  • OVMF-cloud-hypervisor
  • OVMF-cloud-hypervisor.fd
  • OVMF.fd
  • OVMFFull
  • OVMFFull.fd
  • ceph
  • ceph-client
  • ceph-csi
  • ceph.dev
  • ceph.doc
  • libceph (ceph.lib ,libceph.dev ,libceph.doc ,libceph.lib ,libceph.man)
  • ceph.man
  • edk2
  • edk2-uefi-shell
  • lxd-lts
  • multipass
  • qemu_full
  • qemu_full.debug
  • qemu_full.ga
  • quickemu
  • quickgui
  • samba4Full
  • samba4Full.dev
  • samba4Full.man

Note: Build is only good because of edk2 cherry-pick!
#325267 should be merged first (after review). And this should be re-based then.

@ofborg ofborg Bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. and removed 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Jul 7, 2024
superherointj added a commit to superherointj/nixpkgs that referenced this pull request Jul 7, 2024
@superherointj
superherointj marked this pull request as draft July 7, 2024 15:48
@Frontear Frontear added the 2.status: blocked by pr/issue Another PR or issue is preventing this from being completed label Jul 7, 2024
@vcunat vcunat removed the 2.status: blocked by pr/issue Another PR or issue is preventing this from being completed label Jul 8, 2024
@vcunat
vcunat marked this pull request as ready for review July 8, 2024 06:11
@ofborg ofborg Bot added 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. and removed 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. labels Jul 8, 2024
@superherointj

superherointj commented Jul 8, 2024 •

Copy link
Copy Markdown
Contributor Author

Result of nixpkgs-review pr 325059 run on x86_64-linux 1

15 packages built:
  • ceph (ceph-dev)
  • ceph-client
  • ceph-csi
  • ceph.dev (ceph-dev.dev)
  • ceph.doc (ceph-dev.doc)
  • libceph (ceph.lib ,libceph.dev ,libceph.doc ,libceph.lib ,libceph.man)
  • ceph.man (ceph-dev.man)
  • qemu_full
  • qemu_full.debug
  • qemu_full.ga
  • quickemu
  • quickgui
  • sambaFull (samba4Full)
  • sambaFull.dev (samba4Full.dev)
  • sambaFull.man (samba4Full.man)

To account for last nixpkgs-review differences I have manually built:

  • OVMF
  • OVMF-cloud-hypervisor
  • OVMF-cloud-hypervisor.fd
  • OVMF.fd
  • OVMFFull
  • OVMFFull.fd
  • edk2
  • edk2-uefi-shell
  • lxd-lts
  • multipass

LGTM. IMO this PR should be merged.

@LunNova

LunNova commented Jul 8, 2024

Copy link
Copy Markdown
Member

Result of nixpkgs-review pr 325059 run on x86_64-linux 1

5 packages built:
  • quickemu
  • quickgui
  • sambaFull (samba4Full)
  • sambaFull.dev (samba4Full.dev)
  • sambaFull.man (samba4Full.man)

@wegank wegank added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jul 8, 2024
@vcunat
vcunat merged commit 7e94ac4 into NixOS:master Jul 9, 2024
@superherointj
superherointj deleted the ceph-fix-uring branch July 9, 2024 13:08
V3ntus added a commit to V3ntus/nixos that referenced this pull request Jul 11, 2024

postPatch = ''
substituteInPlace cmake/modules/Finduring.cmake \
--replace-fail "liburing.a liburing" "uring"

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.

Fix is in upstream Ceph for Ceph 19 (unreleased): ceph/ceph@670118a

@nh2 nh2 mentioned this pull request Aug 31, 2024
3 of 13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: build failure A package fails to build 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants