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

2022-01-22 Thread Roger Shimizu
control: tags -1 +help

I pushed a few patches to salsa that can resolve previously reported
ftbfs issues, however there're still other ftbfs issues.
For amd64, pbuilder reports:

:12:24: error: expected newline
.cfi_restore_state .cfi_def_cfa rsp,(144 + 16*8)
   ^
:1:1: note: while in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL art_quick_initialize_static_storage,
artInitializeStaticStorageFromCode, 0x20
^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1154:1: note: while
in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL_FOR_CLINIT
art_quick_initialize_static_storage,
artInitializeStaticStorageFromCode
^
:12:24: error: expected newline
.cfi_restore_state .cfi_def_cfa rsp,(144 + 16*8)
   ^
:1:1: note: while in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL art_quick_resolve_type,
artResolveTypeFromCode, 0x20
^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1155:1: note: while
in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL_FOR_CLINIT art_quick_resolve_type,
artResolveTypeFromCode
^
:12:24: error: expected newline
.cfi_restore_state .cfi_def_cfa rsp,(144 + 16*8)
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1156:1: note: while
in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL
art_quick_resolve_type_and_verify_access,
artResolveTypeAndVerifyAccessFromCode
^
:12:24: error: expected newline
.cfi_restore_state .cfi_def_cfa rsp,(144 + 16*8)
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1157:1: note: while
in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL art_quick_resolve_method_handle,
artResolveMethodHandleFromCode
^
:12:24: error: expected newline
.cfi_restore_state .cfi_def_cfa rsp,(144 + 16*8)
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1158:1: note: while
in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL art_quick_resolve_method_type,
artResolveMethodTypeFromCode
^
:12:24: error: expected newline
.cfi_restore_state .cfi_def_cfa rsp,(144 + 16*8)
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1159:1: note: while
in macro instantiation
ONE_ARG_SAVE_EVERYTHING_DOWNCALL art_quick_resolve_string,
artResolveStringFromCode
^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1282:24: error:
expected newline
.cfi_restore_state .cfi_def_cfa rsp,64
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1544:24: error:
expected newline
.cfi_restore_state .cfi_def_cfa rsp,16
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:1559:24: error:
expected newline
.cfi_restore_state .cfi_def_cfa rsp,16
   ^
art/runtime/arch/x86_64/quick_entrypoints_x86_64.S:2263:24: error:
expected newline
.cfi_restore_state .cfi_def_cfa rsp,80
   ^


for other ARCH, there might be other errors as well.

Cheers,
-- 
Roger Shimizu, GMT +9 Tokyo
PGP/GPG: 4096R/6C6ACD6417B3ACB1



Processed: Re: Bug#999334: android-platform-tools: FTBFS: error: no member named 'unique_lock' in namespace 'std'

2022-01-22 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 +help
Bug #999334 [src:android-platform-tools] android-platform-tools: FTBFS: error: 
no member named 'unique_lock' in namespace 'std'
Added tag(s) help.

-- 
999334: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999334
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



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

2021-11-09 Thread Sebastian Ramacher
Source: android-platform-tools
Version: 29.0.6-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source
X-Debbugs-Cc: sramac...@debian.org

| clang++ -c -o system/core/liblog/event_tag_map.o 
system/core/liblog/event_tag_map.cpp -g -O2 
-ffile-prefix-map=/<>=. -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=amd64=29.0.6-1%2Bb1=1636368880=0

Cheers
-- 
Sebastian Ramacher


signature.asc
Description: PGP signature