Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788187 - app-i18n/librime-lua-20201011103348 - /.../lua_templates.h: error: function returning a function
Summary: app-i18n/librime-lua-20201011103348 - /.../lua_templates.h: error: function r...
Status: RESOLVED DUPLICATE of bug 787593
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Arfrever Frehtes Taifersar Arahesis
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-04 18:07 UTC by Toralf Förster
Modified: 2021-05-04 18:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.72 KB, text/plain)
2021-05-04 18:07 UTC, Toralf Förster
Details
app-i18n:librime-lua-20201011103348:20210504-174534.log (app-i18n:librime-lua-20201011103348:20210504-174534.log,12.64 KB, text/plain)
2021-05-04 18:07 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,391.72 KB, text/plain)
2021-05-04 18:07 UTC, Toralf Förster
Details
environment (environment,105.52 KB, text/plain)
2021-05-04 18:07 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,21.94 KB, application/x-bzip)
2021-05-04 18:07 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.62 KB, application/x-bzip)
2021-05-04 18:07 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,127.22 KB, application/x-bzip)
2021-05-04 18:07 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-05-04 18:07:46 UTC
/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), \

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20210423-202814

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.1
 [3] x86_64-pc-linux-gnu-11.1.0 *
clang version 12.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/12/bin
/usr/lib/llvm/12
12.0.0
Python 3.8.10
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.51.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3 *
  [2]   php7.4
  [3]   php8.0

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue May  4 16:35:33 UTC 2021

emerge -qpvO app-i18n/librime-lua
[ebuild  N    ] app-i18n/librime-lua-20201011103348  LUA_SINGLE_TARGET="lua5-1 -lua5-2 -lua5-3 -lua5-4"
Comment 1 Toralf Förster gentoo-dev 2021-05-04 18:07:47 UTC
Created attachment 706017 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-05-04 18:07:48 UTC
Created attachment 706020 [details]
app-i18n:librime-lua-20201011103348:20210504-174534.log
Comment 3 Toralf Förster gentoo-dev 2021-05-04 18:07:50 UTC
Created attachment 706023 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-05-04 18:07:51 UTC
Created attachment 706026 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-05-04 18:07:53 UTC
Created attachment 706029 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-05-04 18:07:54 UTC
Created attachment 706032 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-05-04 18:07:55 UTC
Created attachment 706035 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2021-05-04 18:08:09 UTC

*** This bug has been marked as a duplicate of bug 787593 ***