ceph-mirror/debian
Kefu Chai 0b50da6588 debian/rules: exclude ceph-osd-crimson from dwz compression
When building with DWZ enabled, the debian packaging fails with:
```
  dh_dwz: error: Aborting due to earlier error
```
Running the dwz command manually reveals the root cause:
```
  $ dwz -mdebian/ceph-osd-crimson/usr/lib/debug/.dwz/x86_64-linux-gnu/ceph-osd-crimson.debug \
    -M/usr/lib/debug/.dwz/x86_64-linux-gnu/ceph-osd-crimson.debug -- \
    debian/ceph-osd-crimson/usr/bin/ceph-osd-crimson \
    debian/ceph-osd-crimson/usr/bin/crimson-store-nbd
  dwz: debian/ceph-osd-crimson/usr/bin/ceph-osd-crimson: Too many DIEs, not optimizing
  dwz: Too few files for multifile optimization
```
The dwz tool has a limit on the number of DWARF DIEs (Debug Information
Entries) it can process. The ceph-osd-crimson binary, being a large C++
executable with extensive template usage, exceeds this limit, causing
dwz to exit with status 1 and fail the build.

This change excludes only ceph-osd-crimson from dwz processing using
the -X flag, allowing other binaries in the package to still benefit
from DWARF compression while avoiding the build failure.

Please note, we always disable DWZ in ceph-build's ceph-dev-pipeline.

Fixes: https://tracker.ceph.com/issues/78303
Signed-off-by: Kefu Chai <k.chai@proxmox.com>
2026-07-16 22:13:55 +08:00
..
source
.gitignore proxy: Add the proxy to the deb builds 2024-09-26 12:22:47 +02:00
ceph-base.dirs
ceph-base.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
ceph-base.lintian-overrides
ceph-base.maintscript
ceph-base.postinst Merge pull request #55917 from Aequitosh/fix-ceph-crash-permissions 2024-07-08 19:57:38 +08:00
ceph-common.dirs
ceph-common.install tools/cephfs: add new cephfs-tool 2026-04-14 08:48:54 -04:00
ceph-common.postinst debian/ceph-common.postinst: set user directory using adduser 2024-02-03 22:36:50 +08:00
ceph-common.postrm
ceph-exporter.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
ceph-fuse.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
ceph-grafana-dashboards.install
ceph-immutable-object-cache.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
ceph-mds.dirs
ceph-mds.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
ceph-mds.postinst debian: do not use upstart to start/stop services 2024-02-04 00:19:38 +08:00
ceph-mgr-alerts.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-alerts.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-cephadm.install
ceph-mgr-cephadm.postinst
ceph-mgr-cephadm.prerm
ceph-mgr-cephadm.requires debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-cli-api.install debian, rpm: add ceph-mgr-cli-api package 2026-06-01 16:00:26 +08:00
ceph-mgr-cli-api.postinst debian, rpm: add ceph-mgr-cli-api package 2026-06-01 16:00:26 +08:00
ceph-mgr-dashboard.install
ceph-mgr-dashboard.postinst
ceph-mgr-dashboard.prerm
ceph-mgr-dashboard.requires debian/mgr: remove pytest from debian/ceph-mgr-dashboard.requires 2023-02-16 18:38:21 -05:00
ceph-mgr-diskprediction-cloud.prerm
ceph-mgr-diskprediction-local.install
ceph-mgr-diskprediction-local.postinst
ceph-mgr-diskprediction-local.prerm
ceph-mgr-diskprediction-local.requires debian: add .requires for specifying python3 deps 2022-05-31 19:42:32 +08:00
ceph-mgr-influx.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-influx.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-insights.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-insights.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-iostat.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-iostat.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-k8sevents.requires debian: add .requires for specifying python3 deps 2022-05-31 19:42:32 +08:00
ceph-mgr-localpool.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-localpool.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-mds-autoscaler.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-mds-autoscaler.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-mirroring.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-mirroring.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-modules-core.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-modules-core.requires debian: drop unused deps from ceph-mgr-modules-core.requires 2026-07-09 10:40:25 +08:00
ceph-mgr-nfs.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-nfs.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-nvmeof.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-nvmeof.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-osd-perf-query.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-osd-perf-query.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-osd-support.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-osd-support.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-prometheus.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-prometheus.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-rgw.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-rgw.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-rook.install
ceph-mgr-rook.postinst
ceph-mgr-rook.prerm
ceph-mgr-rook.requires debian: add .requires for specifying python3 deps 2022-05-31 19:42:32 +08:00
ceph-mgr-selftest.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-selftest.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-smb.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-smb.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-snap-schedule.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-snap-schedule.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-stats.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-stats.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-telegraf.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-telegraf.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-test-orchestrator.install debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr-test-orchestrator.postinst debian: split ceph-mgr-modules-core into per-module packages 2026-06-01 16:00:26 +08:00
ceph-mgr.dirs
ceph-mgr.install mgr: isolated CherryPy to prevent global state sharing 2026-02-26 08:40:39 +05:30
ceph-mgr.postinst debian: do not use upstart to start/stop services 2024-02-04 00:19:38 +08:00
ceph-mgr.requires deb/mgr: remove deprecated distutils from ceph-mgr.requires 2025-07-08 10:32:05 -04:00
ceph-mon-client-nvmeof.install cmake,debian: enable ceph-mon-client-nvmeof on Debian derivatives 2026-05-08 21:28:41 +08:00
ceph-mon.dirs
ceph-mon.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
ceph-mon.postinst debian: do not use upstart to start/stop services 2024-02-04 00:19:38 +08:00
ceph-osd-classic.install debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd-classic.postinst debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd-classic.prerm debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd-crimson.install debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd-crimson.postinst debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd-crimson.prerm debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd.dirs
ceph-osd.install debian,ceph.spec: split ceph-osd into shared base and implementation packages 2025-11-12 18:07:29 +00:00
ceph-osd.postinst debian: do not use upstart to start/stop services 2024-02-04 00:19:38 +08:00
ceph-prometheus-alerts.install
ceph-resource-agents.install
ceph-test.install cls: Remove legacy ACL/Crypto and key_value_store class methods. 2026-04-13 10:38:25 +01:00
ceph-volume.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
cephadm.install rpm,deb: drop /etc/sudoers.d/cephadm 2020-09-03 16:31:30 +02:00
cephadm.postinst deb/cephadm: Don't assume a home directory is configured 2025-12-10 14:35:29 -06:00
cephadm.postrm
cephfs-mirror.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
cephfs-shell.install doc/man: build and install cephfs-shell manpage 2021-05-05 14:41:50 +08:00
cephfs-top.install debian: package manpage for cephfs-top 2026-05-07 20:49:06 +08:00
changelog
compat debian: dh compat to 12, necessary init/systemd adjustments 2023-09-22 17:32:04 +01:00
control Merge pull request #68989 from tchaikov/wip-slim-mgr-module 2026-06-05 12:53:45 +08:00
copyright debian/copyright: silence old-fsf-address-in-copyright-file 2026-06-18 20:34:28 +08:00
libcephfs2.install
libcephfs-daemon.install proxy: Add the proxy to the deb builds 2024-09-26 12:22:47 +02:00
libcephfs-dev.install cephfs: add untracked files to ceph.spec.in and debian installs 2025-07-22 10:41:00 +05:30
libcephfs-java.jlibs
libcephfs-jni.install
libcephfs-proxy2.install proxy: Add the proxy to the deb builds 2024-09-26 12:22:47 +02:00
librados2.install
librados-dev.install
libradospp-dev.install librados: enforce compile-time read/write semantics for class methods 2026-04-13 10:38:24 +01:00
libradosstriper1.install
libradosstriper-dev.install
librbd1.install rpm,deb: package librbd parent cache plugin with librbd 2020-05-21 14:50:33 -04:00
librbd-dev.install
librgw2.install
librgw-dev.install
libsqlite3-mod-ceph-dev.install ceph.spec,debian: package libcephsqlite 2021-03-19 08:52:55 -07:00
libsqlite3-mod-ceph.install ceph.spec,debian: package libcephsqlite 2021-03-19 08:52:55 -07:00
libsqlite3-mod-ceph.symbols debian/libsqlite3-mod-ceph: add .symbols file 2021-03-23 11:36:41 +08:00
py3dist-overrides debian: remove stale distutils override from py3dist-overrides 2026-04-08 15:35:38 +08:00
python3-ceph-argparse.install cmake,debian: install pure python module to deb_system path 2022-08-05 09:10:04 +08:00
python3-ceph-common.install
python3-cephfs.install cmake: migrate Python module installation from setup.py to pip 2026-01-29 08:45:50 +08:00
python3-rados.install cmake: migrate Python module installation from setup.py to pip 2026-01-29 08:45:50 +08:00
python3-rbd.install cmake: migrate Python module installation from setup.py to pip 2026-01-29 08:45:50 +08:00
python3-rgw.install cmake: migrate Python module installation from setup.py to pip 2026-01-29 08:45:50 +08:00
rados-objclass-dev.install
radosgw.dirs
radosgw.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
radosgw.postinst debian: do not use upstart to start/stop services 2024-02-04 00:19:38 +08:00
radosgw.prerm debian: do not use upstart to start/stop services 2024-02-04 00:19:38 +08:00
rbd-fuse.install
rbd-mirror.install deb: use variable expansion to support systemd unit dir changes 2025-06-18 17:23:28 +08:00
rbd-nbd.install rbd-nbd: quisce hook should be installed to /usr/libexec/... 2020-07-14 12:09:39 -04:00
rules debian/rules: exclude ceph-osd-crimson from dwz compression 2026-07-16 22:13:55 +08:00
watch