Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 706020 Details for
Bug 788187
app-i18n/librime-lua-20201011103348 - /.../lua_templates.h: error: function returning a function
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-i18n:librime-lua-20201011103348:20210504-174534.log
app-i18n:librime-lua-20201011103348:20210504-174534.log (text/plain), 12.64 KB, created by
Toralf Förster
on 2021-05-04 18:07:48 UTC
(
hide
)
Description:
app-i18n:librime-lua-20201011103348:20210504-174534.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2021-05-04 18:07:48 UTC
Size:
12.64 KB
patch
obsolete
> * Package: app-i18n/librime-lua-20201011103348 > * Repository: gentoo > * Maintainer: arfrever.fta@gmail.com cjk@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux lua_single_target_lua5-1 userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox > * Using lua5.1 to build >>>> Unpacking source... >>>> Unpacking librime-lua-20201011103348.tar.gz to /var/tmp/portage/app-i18n/librime-lua-20201011103348/work >>>> Source unpacked in /var/tmp/portage/app-i18n/librime-lua-20201011103348/work >>>> Preparing source in /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377 ... > * Working in BUILD_DIR: "/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build" >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377 ... > * Working in BUILD_DIR: "/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build" >cmake -C /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build/gentoo_common_config.cmake -G Ninja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_TOOLCHAIN_FILE=/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build/gentoo_toolchain.cmake /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377 >loading initial cache file /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build/gentoo_common_config.cmake >-- The C compiler identification is GNU 11.1.0 >-- The CXX compiler identification is GNU 11.1.0 >-- Detecting C compiler ABI info >-- Detecting C compiler ABI info - done >-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc - skipped >-- Detecting C compile features >-- Detecting C compile features - done >-- Detecting CXX compiler ABI info >-- Detecting CXX compiler ABI info - done >-- Check for working CXX compiler: /usr/bin/x86_64-pc-linux-gnu-g++ - skipped >-- Detecting CXX compile features >-- Detecting CXX compile features - done >-- Found PkgConfig: x86_64-pc-linux-gnu-pkg-config (found version "1.7.4") >-- Checking for module 'lua' >-- Found lua, version 5.1.5 >-- <<< Gentoo configuration >>> >Build type Gentoo >Install path /usr >Compiler flags: >C -pipe -march=native -fno-diagnostics-color -Og -g >C++ -pipe -march=native -fno-diagnostics-color -Og -g >Linker flags: >Executable -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 >Module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 >Shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 > >-- Configuring done >-- Generating done >-- Build files have been written to: /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377 ... > * Working in BUILD_DIR: "/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build" >ninja -v -j1 -l0 >[1/7] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.1 -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/lua_gears.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/lua_gears.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/lua_gears.cc.o -c /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lua_gears.cc >[2/7] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.1 -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/modules.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/modules.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/modules.cc.o -c /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/modules.cc >[3/7] /usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.1 -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/types.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/types.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/types.cc.o -c /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc >FAILED: CMakeFiles/rime-lua-objs.dir/src/types.cc.o >/usr/bin/x86_64-pc-linux-gnu-g++ -I/usr/include/lua5.1 -pipe -march=native -fno-diagnostics-color -Og -g -fPIC -MD -MT CMakeFiles/rime-lua-objs.dir/src/types.cc.o -MF CMakeFiles/rime-lua-objs.dir/src/types.cc.o.d -o CMakeFiles/rime-lua-objs.dir/src/types.cc.o -c /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc >In file included from /var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc:13: >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h: In instantiation of âstruct MemberWrapper<bool (std::vector<rime::Segment>::*)() const noexcept, &std::vector<rime::Segment>::empty>â: >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc:291:16: required from here >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:501:12: error: function returning a function > 501 | static R wrap_get(const C &c) { > | ^~~~~~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:511:77: error: âwrapâ is not a member of âMemberWrapper<bool (std::vector<rime::Segment>::*)() const noexcept, &std::vector<rime::Segment>::empty>â > 511 | #define WRAPMEM(f) (&(LuaWrapper<decltype(&MemberWrapper<decltype(&f), &f>::wrap), \ > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:511:77: note: in definition of macro âWRAPMEMâ > 511 | #define WRAPMEM(f) (&(LuaWrapper<decltype(&MemberWrapper<decltype(&f), &f>::wrap), \ > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:77: error: âwrapâ is not a member of âMemberWrapper<bool (std::vector<rime::Segment>::*)() const noexcept, &std::vector<rime::Segment>::empty>â > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:77: note: in definition of macro âWRAPMEMâ > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:81: error: template argument 1 is invalid > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc:291:16: note: in expansion of macro âWRAPMEMâ > 291 | { "empty", WRAPMEM(T::empty) }, > | ^~~~~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:81: error: template argument 2 is invalid > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc:291:16: note: in expansion of macro âWRAPMEMâ > 291 | { "empty", WRAPMEM(T::empty) }, > | ^~~~~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:511:77: error: âwrapâ is not a member of âMemberWrapper<bool (std::vector<rime::Segment>::*)() const noexcept, &std::vector<rime::Segment>::empty>â > 511 | #define WRAPMEM(f) (&(LuaWrapper<decltype(&MemberWrapper<decltype(&f), &f>::wrap), \ > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:511:77: note: in definition of macro âWRAPMEMâ > 511 | #define WRAPMEM(f) (&(LuaWrapper<decltype(&MemberWrapper<decltype(&f), &f>::wrap), \ > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:77: error: âwrapâ is not a member of âMemberWrapper<bool (std::vector<rime::Segment>::*)() const noexcept, &std::vector<rime::Segment>::empty>â > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:77: note: in definition of macro âWRAPMEMâ > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:81: error: template argument 1 is invalid > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc:533:16: note: in expansion of macro âWRAPMEMâ > 533 | { "empty", WRAPMEM(T::empty) }, > | ^~~~~~~ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/lib/lua_templates.h:512:81: error: template argument 2 is invalid > 512 | &MemberWrapper<decltype(&f), &f>::wrap>::wrap)) > | ^ >/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377/src/types.cc:533:16: note: in expansion of macro âWRAPMEMâ > 533 | { "empty", WRAPMEM(T::empty) }, > | ^~~~~~~ >ninja: build stopped: subcommand failed. > * ERROR: app-i18n/librime-lua-20201011103348::gentoo failed (compile phase): > * ninja -v -j1 -l0 failed > * > * Call stack: > * ebuild.sh, line 125: Called src_compile > * environment, line 2523: Called cmake_src_compile > * environment, line 1038: Called cmake_build > * environment, line 1007: Called eninja > * environment, line 1459: Called die > * The specific snippet of code: > * "$@" || die "${nonfatal_args[@]}" "${*} failed" > * > * If you need support, post the output of `emerge --info '=app-i18n/librime-lua-20201011103348::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-i18n/librime-lua-20201011103348::gentoo'`. > * The complete build log is located at '/var/log/portage/app-i18n:librime-lua-20201011103348:20210504-174534.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-i18n/librime-lua-20201011103348/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-i18n/librime-lua-20201011103348/temp/environment'. > * Working directory: '/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-20201011103348_build' > * S: '/var/tmp/portage/app-i18n/librime-lua-20201011103348/work/librime-lua-d45a41af2f9d731e3c1516a191cc3160e3cb8377' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 788187
:
706017
| 706020 |
706023
|
706026
|
706029
|
706032
|
706035