Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1131050 > unrolled thread
| Started by | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| First post | 2023-01-01 15:50 +0100 |
| Last post | 2023-01-01 22:10 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1027628: snapper: FTBFS: regex_compiler.tcc:179:19: error: expected unqualified-id before ‘=’ token Lucas Nussbaum <lucas@debian.org> - 2023-01-01 15:50 +0100
Bug#1027628: snapper: FTBFS: regex_compiler.tcc:179:19: error: expected unqualified-id before ‘=’ token Hideki Yamane <henrich@iijmio-mail.jp> - 2023-01-01 22:10 +0100
| From | Lucas Nussbaum <lucas@debian.org> |
|---|---|
| Date | 2023-01-01 15:50 +0100 |
| Subject | Bug#1027628: snapper: FTBFS: regex_compiler.tcc:179:19: error: expected unqualified-id before ‘=’ token |
| Message-ID | <FJ7OV-eQdW-1@gated-at.bofh.it> |
Source: snapper Version: 0.10.4-1 Severity: serious Justification: FTBFS Tags: bookworm sid ftbfs User: lucas@debian.org Usertags: ftbfs-20230101 ftbfs-bookworm Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_DIR='"/etc/default"' -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c -o libsnapper_la-MntTable.lo `test -f 'MntTable.cc' || echo './'`MntTable.cc > libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -Wdate-time -D_FORTIFY_SOURCE=2 -DCONF_DIR=\"/etc/default\" -D_FILE_OFFSET_BITS=64 -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c MntTable.cc -fPIC -DPIC -o .libs/libsnapper_la-MntTable.o > In file included from /usr/include/c++/12/bits/regex_compiler.h:571, > from /usr/include/c++/12/regex:65, > from Btrfs.cc:47: > /usr/include/c++/12/bits/regex_compiler.tcc: In member function ‘bool std::__detail::_Compiler<_TraitsT>::_M_quantifier()’: > /usr/include/c++/12/bits/regex_compiler.tcc:179:19: error: expected unqualified-id before ‘=’ token > 179 | auto __init = [this, &__neg]() > | ^ > /usr/include/c++/12/bits/regex_compiler.tcc:187:18: error: expected primary-expression before ‘)’ token > 187 | __init(); > | ^ > /usr/include/c++/12/bits/regex_compiler.tcc:197:18: error: expected primary-expression before ‘)’ token > 197 | __init(); > | ^ > /usr/include/c++/12/bits/regex_compiler.tcc:205:18: error: expected primary-expression before ‘)’ token > 205 | __init(); > | ^ > make[3]: *** [Makefile:768: libsnapper_la-Btrfs.lo] Error 1 The full build log is available from: http://qa-logs.debian.net/2023/01/01/snapper_0.10.4-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230101;users=lucas@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230101&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.
[toc] | [next] | [standalone]
| From | Hideki Yamane <henrich@iijmio-mail.jp> |
|---|---|
| Date | 2023-01-01 22:10 +0100 |
| Message-ID | <FJdKF-eUke-9@gated-at.bofh.it> |
| In reply to | #1131050 |
control: tags -1 +confirmed
control: tags -1 +forwarded https://github.com/openSUSE/snapper/issues/762
control: tags -1 +upstream
It was introduced with a change in libbtrfs-dev_6.1-1,
/usr/include/btrfs/kerncompat.h.
https://github.com/kdave/btrfs-progs/commit/788a71c16a917f8357784571106537a1d42012e8
> typedef struct wait_queue_head_s {
> } wait_queue_head_t;
>
> #define __init
> #define __cold
>
> #endif
Just commented out "#define __init", it can be compiled.
--
Regards,
Hideki Yamane henrich @ debian.org/iijmio-mail.jp
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web