[Android-tools-devel] Bug#999334: android-platform-tools: FTBFS: error: no member named 'unique_lock' in namespace 'std'

Sebastian Ramacher sramacher at debian.org
Tue Nov 9 21:53:08 GMT 2021


Source: android-platform-tools
Version: 29.0.6-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: sramacher at debian.org

| clang++ -c -o system/core/liblog/event_tag_map.o system/core/liblog/event_tag_map.cpp -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -std=gnu++17 -Wdate-time -D_FORTIFY_SOURCE=2 -DNDEBUG -UDEBUG -Isystem/core/liblog/include -Isystem/core/include -Isystem/core/base/include -I/usr/include/android -DLIBLOG_LOG_TAG=1006 -DFAKE_LOG_DEVICE=1 -DSNET_EVENT_LOG_TAG=1397638484 
| system/core/liblog/logger_write.cpp:147:20: error: no member named 'unique_lock' in namespace 'std'
|   auto lock = std::unique_lock{default_tag_lock};
|               ~~~~~^
| system/core/liblog/logger_write.cpp:147:31: error: expected ';' at end of declaration
|   auto lock = std::unique_lock{default_tag_lock};
|                               ^
|                               ;
| system/core/liblog/logger_write.cpp:170:20: error: no member named 'unique_lock' in namespace 'std'
|   auto lock = std::unique_lock{logger_function_lock};
|               ~~~~~^
| system/core/liblog/logger_write.cpp:170:31: error: expected ';' at end of declaration
|   auto lock = std::unique_lock{logger_function_lock};
|                               ^
|                               ;
| system/core/liblog/logger_write.cpp:187:20: error: no member named 'unique_lock' in namespace 'std'
|   auto lock = std::unique_lock{aborter_function_lock};
|               ~~~~~^
| system/core/liblog/logger_write.cpp:187:31: error: expected ';' at end of declaration
|   auto lock = std::unique_lock{aborter_function_lock};
|                               ^
|                               ;
| 6 errors generated.

See
https://buildd.debian.org/status/fetch.php?pkg=android-platform-tools&arch=amd64&ver=29.0.6-1%2Bb1&stamp=1636368880&raw=0

Cheers
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/android-tools-devel/attachments/20211109/66209e46/attachment.sig>


More information about the Android-tools-devel mailing list