Project

General

Profile

Actions

Bug #1945

closed

Не собирается app-leechcraft/lc-xproxy-9999

Added by panter_dsd over 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
GentooEbuilds
Target version:
-
Start date:
07/02/2015
Due date:
% Done:

100%

Estimated time:
2:00 h
Reported in:
master

Description

[ 90%] Building CXX object CMakeFiles/leechcraft_xproxy.dir/scriptsmanager.cpp.o
/usr/bin/x86_64-pc-linux-gnu-g++  -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -Dleechcraft_xproxy_EXPORTS  -DNDEBUG -O2 -march=native -pipe  -fvisibility=hidden -Wall -std=c++0x -fPIC -I/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999_build -I/usr/include/leechcraft -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore    -o CMakeFiles/leechcraft_xproxy.dir/scriptsmanager.cpp.o -c /var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/scriptsmanager.cpp
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In member function ‘void LeechCraft::XProxy::ProxiesStorage::AddProxy(const LeechCraft::XProxy::Proxy&)’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:108:9: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
      [] (auto) {}
         ^
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In member function ‘void LeechCraft::XProxy::ProxiesStorage::UpdateProxy(const LeechCraft::XProxy::Proxy&, const LeechCraft::XProxy::Proxy&)’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:122:39: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
      [&existingNewTargets, &newProxy] (auto it)
                                       ^
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In member function ‘QList<LeechCraft::XProxy::ReqTarget> LeechCraft::XProxy::ProxiesStorage::GetTargets(const LeechCraft::XProxy::Proxy&) const’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:144:9: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
      [] (auto it) { return it->second; }
         ^
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In member function ‘void LeechCraft::XProxy::ProxiesStorage::SetTargets(const LeechCraft::XProxy::Proxy&, const QList<LeechCraft::XProxy::ReqTarget>&)’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:153:25: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
      [&proxy, &targets] (auto it) { it->second = targets; }
                         ^
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In member function ‘void LeechCraft::XProxy::ProxiesStorage::LoadSettings()’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:187:22: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
       [this, &entry] (auto it) { it->second += entry.first; }
                      ^
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In member function ‘void LeechCraft::XProxy::ProxiesStorage::EraseFromProxiesList(const LeechCraft::XProxy::Proxy&)’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:229:13: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
      [this] (auto it) { Proxies_.erase (it); }
             ^
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp: In function ‘R LeechCraft::XProxy::{anonymous}::DoOnProxiesListImpl(ProxyType&&, const LeechCraft::XProxy::Proxy&, const LeechCraft::Util::EitherCont<R(), R(decltype (proxies.begin()))>&)’:
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:241:16: warning: use of ‘auto’ in lambda parameter declaration only available with -std=c++1y or -std=gnu++1y
      [&proxy] (const auto& pair) { return pair.first == proxy; });
                ^
In file included from /usr/include/leechcraft/util/sll/eithercont.h:32:0,
                 from /var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.h:34,
                 from /var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:30:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/functional: In substitution of ‘template<class _Functor, class> std::function<_Res(_ArgTypes ...)>::function(_Functor) [with _Functor = LeechCraft::XProxy::ProxiesStorage::AddProxy(const LeechCraft::XProxy::Proxy&)::<lambda(auto:1)>; <template-parameter-1-2> = <missing>]’:
/usr/include/leechcraft/util/sll/eithercont.h:75:16:   required from ‘LeechCraft::Util::EitherCont<LeftSig, RightSig>::EitherCont(const L&, const R&) [with L = LeechCraft::XProxy::ProxiesStorage::AddProxy(const LeechCraft::XProxy::Proxy&)::<lambda()>; R = LeechCraft::XProxy::ProxiesStorage::AddProxy(const LeechCraft::XProxy::Proxy&)::<lambda(auto:1)>; LeftSig = void(); RightSig = void(QList<QPair<LeechCraft::XProxy::Proxy, QList<LeechCraft::XProxy::ReqTarget> > >::iterator)]’
/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999/src/plugins/xproxy/proxiesstorage.cpp:109:6:   required from here
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.2/include/g++-v4/functional:2225:9: internal compiler error: in strip_typedefs, at cp/tree.c:1326
         typename = _Requires<_Callable<_Functor>, void>>
         ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
CMakeFiles/leechcraft_xproxy.dir/build.make:203: recipe for target 'CMakeFiles/leechcraft_xproxy.dir/proxiesstorage.cpp.o' failed
make[2]: *** [CMakeFiles/leechcraft_xproxy.dir/proxiesstorage.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/app-leechcraft/lc-xproxy-9999/work/lc-xproxy-9999_build'
Actions #1

Updated by 0xd34df00d over 9 years ago

Ему теперь нужен C++14-режим.

Actions #2

Updated by 0xd34df00d over 9 years ago

  • Status changed from New to Assigned
  • Assignee deleted (0xd34df00d)

А всего-то надо убрать XProxy из меты (по крайней мере, до включения C++14-режима в ебилды).

Максботана тут нет, поэтому оставляю без Assignee.

Actions #3

Updated by 0xd34df00d over 9 years ago

  • Assignee set to maksbotan

А, оказывается, есть :3

Actions #4

Updated by 0xd34df00d about 9 years ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100
  • Estimated time set to 2:00 h

Из зависимостей leechcraft-meta вроде уже убрали.

Actions

Also available in: Atom PDF