Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 888517 - app-backup/snapper-0.10.4: regex_compiler.tcc:179:19: error: expected unqualified-id before '=' token
Summary: app-backup/snapper-0.10.4: regex_compiler.tcc:179:19: error: expected unquali...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Dainius Masiliūnas
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-26 12:55 UTC by yongxiang
Modified: 2022-12-30 05:20 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,34.12 KB, text/x-log)
2022-12-26 12:56 UTC, yongxiang
Details
emerge info (emerge-info.txt,8.59 KB, text/plain)
2022-12-26 12:56 UTC, yongxiang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yongxiang 2022-12-26 12:55:03 UTC
libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/libxml2 -DCONF_DIR=\"/etc/conf.d\" -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=native -fdiagnostics-color=always -frecord-gcc-switches -ggdb -std=c++11 -Wall -Wextra -Wformat -Wnon-virtual-dtor -Wno-unused-parameter -Wsuggest-override -c Exception.cc  -fPIC -DPIC -o .libs/libsnapper_la-Exception.o
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/regex_compiler.h:571,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/regex:65,
                 from Btrfs.cc:47:
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/regex_compiler.tcc: In member function 'bool std::__detail::_Compiler<_TraitsT>::_M_quantifier()':
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/regex_compiler.tcc:179:19: error: expected unqualified-id before '=' token
  179 |       auto __init = [this, &__neg]()
      |                   ^
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/regex_compiler.tcc:187:18: error: expected primary-expression before ')' token
  187 |           __init();
      |                  ^
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/regex_compiler.tcc:197:18: error: expected primary-expression before ')' token
  197 |           __init();
      |                  ^
/usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/regex_compiler.tcc:205:18: error: expected primary-expression before ')' token
  205 |           __init();
      |                  ^


Reproducible: Always
Comment 1 yongxiang 2022-12-26 12:56:05 UTC
Created attachment 844929 [details]
build.log
Comment 2 yongxiang 2022-12-26 12:56:38 UTC
Created attachment 844931 [details]
emerge info
Comment 3 yongxiang 2022-12-30 05:15:45 UTC
I ran emerge -e @world because I was bored.
Or maybe because I updated other packages.
Now I can't reproduce the problem.