← Back to team overview

bazel-team team mailing list archive

Bug#1027112: bazel-bootstrap: /usr/include/absl/synchronization/mutex.h:550: error: undefined reference to 'absl::debian3::Mutex::Unlock()'

 

Control: tag -1 moreinfo

Hi Sebastian and thanks for the bug report.


On 12/27/22 18:15, Sebastian Ramacher wrote:
Source: bazel-bootstrap
Version: 4.2.3+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: sramacher@xxxxxxxxxx

https://buildd.debian.org/status/fetch.php?pkg=bazel-bootstrap&arch=amd64&ver=4.2.3%2Bds-1%2Bb1&stamp=1671977092&raw=0

␛[1A␛[K␛[31m␛[1mERROR: ␛[0m/<<PKGBUILDDIR>>/src/main/cpp/BUILD:91:10: Linking src/main/cpp/client failed: (Exit 1): gcc failed: error executing command
   (cd /tmp/bazel_hloBSNSM/out/execroot/io_bazel && \
   exec env - \
     CCACHE_DISABLE=1 \
     CCACHE_TEMPDIR=/<<PKGBUILDDIR>>/debian/ccachetmp \
     LC_ALL=C \
     PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games \
     PWD=/proc/self/cwd \
   /usr/bin/gcc @bazel-out/k8-dbg/bin/src/main/cpp/client-2.params)
Execution platform: //:default_host_platform
␛[32m[111 / 127]␛[0m 3 actions running
     //src/main/java/com/google/devtools/build/lib/bazel:BazelServer; 5s local
     JavacBootstrap .../devtools/build/singlejar/libbootstrap.jar; 2s local
     JavacBootstrap .../devtools/build/buildjar/libstarlark-deps.jar; 2s local

␛[1A␛[K
␛[1A␛[K
␛[1A␛[K
␛[1A␛[K/usr/include/grpcpp/completion_queue.h:119: error: undefined reference to 'absl::debian3::Mutex::~Mutex()'
/usr/include/grpcpp/completion_queue.h:119: error: undefined reference to 'absl::debian3::Mutex::~Mutex()'
/usr/include/grpcpp/completion_queue.h:119: error: undefined reference to 'absl::debian3::Mutex::~Mutex()'
/usr/include/grpcpp/completion_queue.h:119: error: undefined reference to 'absl::debian3::Mutex::~Mutex()'
/usr/include/absl/synchronization/mutex.h:533: error: undefined reference to 'absl::debian3::Mutex::Lock()'
/usr/include/absl/synchronization/mutex.h:550: error: undefined reference to 'absl::debian3::Mutex::Unlock()'
/usr/include/absl/synchronization/mutex.h:550: error: undefined reference to 'absl::debian3::Mutex::Unlock()'
/usr/include/absl/synchronization/mutex.h:533: error: undefined reference to 'absl::debian3::Mutex::Lock()'
/usr/include/absl/synchronization/mutex.h:550: error: undefined reference to 'absl::debian3::Mutex::Unlock()'
/usr/include/absl/synchronization/mutex.h:550: error: undefined reference to 'absl::debian3::Mutex::Unlock()'
collect2: error: ld returned 1 exit status
␛[32m[111 / 127]␛[0m 3 actions running


I'm talking to László about this because it seems to be connected to the ongoing grpc transition. Hopefully we can figure something out soon!


-Olek


References