Project

General

Profile

Actions

Bug #70498

closed
PC PD

main build failing against ubuntu 22.04

Bug #70498: main build failing against ubuntu 22.04

Added by Paulo Castro over 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Immediate
Category:
Testing
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
tentacle,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-758-gaeed3999d2
Released In:
v21.2.0~2812
Upkeep Timestamp:
2026-10-24T01:57:06+00:00

Description

# git clone https://github.com/ceph/ceph.git
# cd ceph
# git rev-parse HEAD
ad8a617c8340b6fb398611c0ea97ab031fe49eaa

# ./install-deps.sh

# ./do_cmake.sh
# cd build
# time ninja -j $(nproc) bin/ceph_test_libcephfs_newops
-- Generating done
-- Build files have been written to: /ceph/build/src/opentelemetry-cpp
[295/295] Linking CXX executable bin/ceph_test_libcephfs_newops
FAILED: bin/ceph_test_libcephfs_newops 
: && /usr/bin/g++-11 -Og -g -rdynamic -pie src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_newops.dir/main.cc.o src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_newops.dir/newops.cc.o -o bin/ceph_test_libcephfs_newops  -Wl,-rpath,/ceph/build/lib::::  lib/libcephfs.so.2.0.0  lib/libgmock_maind.a  lib/libgmockd.a  lib/libgtestd.a  -ldl  -ldl  /usr/lib/x86_64-linux-gnu/librt.a  -lresolv  -ldl  lib/libceph-common.so.2  lib/libjson_spirit.a  lib/libcommon_utf8.a  lib/liberasure_code.a  lib/libextblkdev.a  -lcap  boost/lib/libboost_thread.a  boost/lib/libboost_chrono.a  boost/lib/libboost_atomic.a  boost/lib/libboost_system.a  boost/lib/libboost_random.a  boost/lib/libboost_program_options.a  boost/lib/libboost_date_time.a  boost/lib/libboost_iostreams.a  boost/lib/libboost_regex.a  lib/libfmtd.a  /usr/lib/x86_64-linux-gnu/libblkid.so  /usr/lib/x86_64-linux-gnu/libcrypto.so  /usr/lib/x86_64-linux-gnu/libudev.so  /usr/lib/x86_64-linux-gnu/libibverbs.so  /usr/lib/x86_64-linux-gnu/librdmacm.so  /usr/lib/x86_64-linux-gnu/libz.so  src/opentelemetry-cpp/sdk/src/trace/libopentelemetry_trace.a  src/opentelemetry-cpp/sdk/src/resource/libopentelemetry_resources.a  src/opentelemetry-cpp/sdk/src/common/libopentelemetry_common.a  src/opentelemetry-cpp/exporters/jaeger/libopentelemetry_exporter_jaeger_trace.a  src/opentelemetry-cpp/ext/src/http/client/curl/libopentelemetry_http_client_curl.a  /usr/lib/x86_64-linux-gnu/libcurl.so  /usr/lib/x86_64-linux-gnu/libthrift.so  -lresolv  -ldl   -Wl,--as-needed -latomic && :
/usr/bin/ld: lib/libcephfs.so.2.0.0: undefined reference to symbol '_ZN4ceph18__ceph_assert_failERKNS_11assert_dataE'
/usr/bin/ld: lib/libceph-common.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

I've bisected it to this commit:

751cf313dd5ca822c7c18ca8896ffde214605325 is the first bad commit
commit 751cf313dd5ca822c7c18ca8896ffde214605325
Author: Patrick Donnelly <[email protected]>
Date:   Wed Feb 19 11:17:00 2025 -0500

    client: add wrappings for charmap manipuluation of dentry names

    Signed-off-by: Patrick Donnelly <[email protected]>
    Fixes: https://tracker.ceph.com/issues/66373

 src/client/Client.cc | 145 +++++++++++++++++++++++++++++++++++++++++++++++++--
 src/client/Client.h  |   8 ++-
 src/client/Inode.cc  |   3 ++
 src/client/Inode.h   |  14 +++++
 4 files changed, 165 insertions(+), 5 deletions(-)
bisect found first bad commit

Related issues 2 (0 open — 2 closed)

Copied to CephFS - Backport #71553: tentacle: main build failing against ubuntu 22.04ResolvedPatrick Donnelly

Actions
Copied to CephFS - Backport #71554: squid: main build failing against ubuntu 22.04ResolvedPatrick Donnelly

Actions

PC Updated by Paulo Castro over 1 year ago Actions #1

Whilst using the Ubuntu 22:04 container.

PD Updated by Patrick Donnelly over 1 year ago Actions #2

  • Status changed from New to Triaged
  • Assignee set to Patrick Donnelly

TU Updated by Tobias Urdin over 1 year ago Actions #3

I'm having the same issue trying to build Squid on Ubuntu 22.04

PD Updated by Patrick Donnelly over 1 year ago Actions #4

  • Status changed from Triaged to In Progress
  • Priority changed from Normal to Immediate
  • Backport set to squid

PD Updated by Patrick Donnelly over 1 year ago Actions #5

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 62865

PD Updated by Patrick Donnelly over 1 year ago Actions #6

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from squid to tentacle,squid

PD Updated by Patrick Donnelly over 1 year ago Actions #7

  • Target version changed from v20.0.0 to v21.0.0

UB Updated by Upkeep Bot over 1 year ago Actions #8

  • Copied to Backport #71553: tentacle: main build failing against ubuntu 22.04 added

UB Updated by Upkeep Bot over 1 year ago Actions #9

  • Copied to Backport #71554: squid: main build failing against ubuntu 22.04 added

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Merge Commit set to aeed3999d265571906eb0ec82ed0d61ecdd0a0ac
  • Fixed In set to v20.3.0-758-gaeed3999d26
  • Upkeep Timestamp set to 2025-07-08T18:06:56+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Fixed In changed from v20.3.0-758-gaeed3999d26 to v20.3.0-758-gaeed3999d265
  • Upkeep Timestamp changed from 2025-07-08T18:06:56+00:00 to 2025-07-14T15:21:22+00:00

UB Updated by Upkeep Bot over 1 year ago Actions #13

  • Fixed In changed from v20.3.0-758-gaeed3999d265 to v20.3.0-758-gaeed3999d2
  • Upkeep Timestamp changed from 2025-07-14T15:21:22+00:00 to 2025-07-14T20:45:55+00:00

JC Updated by Jos Collin about 1 year ago Actions #14

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #15

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-07-14T20:45:55+00:00 to 2026-08-28T01:33:56+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #16

  • Released In set to v21.2.0~2812
  • Upkeep Timestamp changed from 2026-08-28T01:33:56+00:00 to 2026-10-24T01:57:06+00:00
Actions

Also available in: PDF Atom