Summary: | app-pda/barry-0.18.3 : /.../exception.h:63:57: error: ‘nullptr’ was not declared in this scope | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Ryan Hill (RETIRED) <rhill> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | pda |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 566328 | ||
Attachments: |
app-pda:barry-0.18.3:20151126-082445.log
emerge-history.txt environment hack of a patch that probably shouldn't be committed the real patch |
Description
Toralf Förster
2015-11-26 13:37:02 UTC
Created attachment 417950 [details]
app-pda:barry-0.18.3:20151126-082445.log
Created attachment 417952 [details]
emerge-history.txt
Created attachment 417954 [details]
environment
Even appending right flags it later fails with a different error: In file included from ../barry/barrysync.h:32:0, from btool.cc:40: ../barry/mimeio.h:123:31: warning: 'auto_ptr' is deprecated (declared at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/backward/auto_ptr.h:87) [-Wdeprecated-declarations] std::auto_ptr<std::ifstream> m_ifs; ^ In file included from ../barry/barrybackup.h:28:0, from btool.cc:43: ../barry/restore.h:85:32: warning: 'auto_ptr' is deprecated (declared at /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/backward/auto_ptr.h:87) [-Wdeprecated-declarations] std::auto_ptr<reuse::TarFile> m_tar; ^ btool.cc:278:1: error: reference to 'shared_ptr' is ambiguous shared_ptr<Parser> GetParser(const string &name, ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/memory:50:0, from ../barry/usbwrap.h:30, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/shared_ptr.h:503:11: note: candidates are: template<class _Tp> class std::tr1::shared_ptr class shared_ptr; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:82, from ../barry/usbwrap.h:29, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr_base.h:344:11: note: template<class _Tp> class std::shared_ptr class shared_ptr; ^ btool.cc:278:1: error: 'shared_ptr' does not name a type shared_ptr<Parser> GetParser(const string &name, ^ btool.cc:387:1: error: reference to 'shared_ptr' is ambiguous shared_ptr<Builder> GetBuilder(const string &name, const string &filename) ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/memory:50:0, from ../barry/usbwrap.h:30, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/shared_ptr.h:503:11: note: candidates are: template<class _Tp> class std::tr1::shared_ptr class shared_ptr; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:82, from ../barry/usbwrap.h:29, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr_base.h:344:11: note: template<class _Tp> class std::shared_ptr class shared_ptr; ^ btool.cc:387:1: error: 'shared_ptr' does not name a type shared_ptr<Builder> GetBuilder(const string &name, const string &filename) ^ btool.cc: In function 'int main(int, char**)': btool.cc:939:4: error: reference to 'shared_ptr' is ambiguous shared_ptr<Parser> parse = GetParser(dbNames[0],filename, ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/memory:50:0, from ../barry/usbwrap.h:30, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/shared_ptr.h:503:11: note: candidates are: template<class _Tp> class std::tr1::shared_ptr class shared_ptr; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:82, from ../barry/usbwrap.h:29, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr_base.h:344:11: note: template<class _Tp> class std::shared_ptr class shared_ptr; ^ btool.cc:939:21: error: expected primary-expression before '>' token shared_ptr<Parser> parse = GetParser(dbNames[0],filename, ^ btool.cc:939:23: error: 'parse' was not declared in this scope shared_ptr<Parser> parse = GetParser(dbNames[0],filename, ^ btool.cc:940:50: error: 'GetParser' was not declared in this scope null_parser, true, vformat_mode, bbackup_mode); ^ btool.cc:965:5: error: reference to 'shared_ptr' is ambiguous shared_ptr<Parser> parse = GetParser(*b, ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/memory:50:0, from ../barry/usbwrap.h:30, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/shared_ptr.h:503:11: note: candidates are: template<class _Tp> class std::tr1::shared_ptr class shared_ptr; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:82, from ../barry/usbwrap.h:29, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr_base.h:344:11: note: template<class _Tp> class std::shared_ptr class shared_ptr; ^ btool.cc:965:22: error: expected primary-expression before '>' token shared_ptr<Parser> parse = GetParser(*b, ^ btool.cc:965:24: error: 'parse' was not declared in this scope shared_ptr<Parser> parse = GetParser(*b, ^ btool.cc:967:32: error: 'GetParser' was not declared in this scope vformat_mode, bbackup_mode); ^ btool.cc:997:5: error: reference to 'shared_ptr' is ambiguous shared_ptr<Builder> build = GetBuilder(*b, ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/memory:50:0, from ../barry/usbwrap.h:30, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/tr1/shared_ptr.h:503:11: note: candidates are: template<class _Tp> class std::tr1::shared_ptr class shared_ptr; ^ In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr.h:52:0, from /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/memory:82, from ../barry/usbwrap.h:29, from ../barry/barry.h:51, from btool.cc:38: /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/include/g++-v4/bits/shared_ptr_base.h:344:11: note: template<class _Tp> class std::shared_ptr class shared_ptr; ^ btool.cc:997:23: error: expected primary-expression before '>' token shared_ptr<Builder> build = GetBuilder(*b, ^ btool.cc:997:25: error: 'build' was not declared in this scope shared_ptr<Builder> build = GetBuilder(*b, ^ btool.cc:998:14: error: 'GetBuilder' was not declared in this scope filename); ^ Makefile:935: recipe for target 'btool-btool.o' failed make[2]: *** [btool-btool.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/app-pda/barry-0.18.3/work/barry-0.18.3/tools' Makefile:449: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-pda/barry-0.18.3/work/barry-0.18.3' Makefile:346: recipe for target 'all' failed make: *** [all] Error 2 Created attachment 419304 [details, diff]
hack of a patch that probably shouldn't be committed
More a proof of concept, there has to be a better way of doing this.
Created attachment 419660 [details, diff]
the real patch
I figured I missed something obvious. I'll add this with a version bump after some testing.
Thanks Ryan @Ryan, would you mind on committing this finally? This is one of the few packages still failing because of this issue :) Thanks Sorry, broke my laptop broke over the holidays. Can you commit this for me? Fixed, sorry about the wait. |