Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517620 - sys-apps/paludis-2.0.0 fails to build with clang-3.4.2-r100
Summary: sys-apps/paludis-2.0.0 fails to build with clang-3.4.2-r100
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2014-07-20 20:45 UTC by Julian Ospald
Modified: 2018-09-19 11:43 UTC (History)
3 users (show)

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


Attachments
1405888549-install-sys-apps_paludis-2.0.0:0::gentoo.out (1405888549-install-sys-apps_paludis-2.0.0:0::gentoo.out,71.92 KB, text/plain)
2014-07-20 20:45 UTC, Julian Ospald
Details
cave.info (cave.info,22.97 KB, text/plain)
2014-07-20 20:45 UTC, Julian Ospald
Details
1419001020-install-sys-apps_paludis-2.2.0:0::gentoo.out.xz (1419001020-install-sys-apps_paludis-2.2.0:0::gentoo.out.xz,74.59 KB, application/x-xz)
2014-12-19 15:07 UTC, Julian Ospald
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2014-07-20 20:45:21 UTC
Created attachment 381170 [details]
1405888549-install-sys-apps_paludis-2.0.0:0::gentoo.out

In file included from fs_path.cc:29:
../../paludis/util/sequence-impl.hh:162:21: error: expected expression
    _imp->list.sort<const C_ &>(c);
                    ^
../../paludis/util/sequence-impl.hh:160:40: warning: unused parameter 'c'
      [-Wunused-parameter]
paludis::Sequence<T_>::sort(const C_ & c)
Comment 1 Julian Ospald 2014-07-20 20:45:39 UTC
Created attachment 381172 [details]
cave.info
Comment 2 Ciaran McCreesh 2014-07-20 20:49:51 UTC
That should say '.template sort', but we'll need to check that doing so doesn't break any GCC from 4.7 onwards.

I suspect there will be a lot more of this kind of thing...
Comment 3 Jeff (JD) Horelick (RETIRED) gentoo-dev 2014-08-29 16:14:30 UTC
Please test on paludis-scm from the paludis overlay. This issue should be fixed in paludis git.
Comment 4 Julian Ospald 2014-08-29 16:46:05 UTC
(In reply to Jeff (JD) Horelick from comment #3)
> paludis overlay

doesn't seem to be in layman? (yes, I still use layman)
Comment 5 Ciaran McCreesh 2014-08-29 16:59:48 UTC
It's not in layman because Portage doesn't support the EAPI we use... The scm ebuild in the overlay is the "good" ebuild that isn't restricted by Portage's lack of scm support.
Comment 6 Julian Ospald 2014-12-19 15:07:46 UTC
Created attachment 392028 [details]
1419001020-install-sys-apps_paludis-2.2.0:0::gentoo.out.xz

I now get compilation failure with paludis-2.2.0 and clang-3.5.0.

Log is too big for attaching in plaintext.
Comment 7 Julian Ospald 2015-05-10 01:50:58 UTC
scm version still fails with clang
Comment 8 Austin English (RETIRED) gentoo-dev 2016-06-05 09:17:16 UTC
(In reply to Julian Ospald (hasufell) (RETIRED) from comment #7)
> scm version still fails with clang

Same today with clang 3.5.0:
/usr/include/boost/python/object/pointer_holder.hpp:138:11: error: no matching function for call to 'get_pointer'
        = get_pointer(this->m_p)
          ^~~~~~~~~~~
/usr/include/boost/core/ref.hpp:291:40: note: candidate template ignored: could not match 'reference_wrapper' against 'shared_ptr'
template<class T> BOOST_FORCEINLINE T* get_pointer( reference_wrapper<T> const & r )
                                       ^
/usr/include/boost/get_pointer.hpp:20:23: note: candidate template ignored: could not match 'T *' against 'std::shared_ptr<const paludis::python::PythonPackageDepSpec>'
template<class T> T * get_pointer(T * p)
                      ^
/usr/include/boost/get_pointer.hpp:27:23: note: candidate template ignored: could not match 'auto_ptr' against 'shared_ptr'
template<class T> T * get_pointer(std::auto_ptr<T> const& p)
                      ^
/usr/include/boost/python/handle.hpp:143:30: note: candidate template ignored: could not match 'handle' against 'shared_ptr'
template<class T> inline T * get_pointer(python::handle<T> const & p)
Comment 9 Bjorn Pagen 2018-01-15 17:12:20 UTC
Paludis builds now with the -fms-extensions flag. It builds completely fine with clang now if that flag is turned on. I also sent a few patches for missing includes upstream, and am waiting for them to be accepted.
Comment 10 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2018-09-19 11:43:53 UTC
Paludis has been removed from the tee.