Ticket #823 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Paludis 0.44.x fails to compile

Reported by: njw Owned by:
Priority: Sometime Milestone:
Component: clients/paludis Version: 0.44.1
Keywords: Cc:
Blocked By: Blocking:
Distribution: Gentoo

Description

When trying to build Paludis 0.44.1 or 0.44.0 (from 0.42.3) the compile always fails, with the following message:

no_config_environment.cc:390: instantiated from here ../../../paludis/util/wrapped_forward_iterator-impl.hh:156: error: no matching function for call to 'wrapped_underlying_iterator_real_type(const paludis:: WrappedForwardIterator?<paludis::PackageDatabase::RepositoryConstIteratorTag, const std::tr1::shared_ptr<paludis::Repository> >&, paludis:: WrappedForwardIteratorUnderlyingIteratorHolder?* const&)' ../../../paludis/util/wrapped_forward_iterator-impl.hh:156: error: no matching function for call to 'wrapped_underlying_iterator_real_type(const paludis:: WrappedForwardIterator?<paludis::PackageDatabase::RepositoryConstIteratorTag, const std::tr1::shared_ptr<paludis::Repository> >&, paludis:: WrappedForwardIteratorUnderlyingIteratorHolder?* const&)' make[6]: Leaving directory `/var/tmp/paludis/sys-apps-paludis-0.44.0/work/paludis-0. 44.0/paludis/environments/no_config' make[5]: Leaving directory `/var/tmp/paludis/sys-apps-paludis-0.44.0/work/paludis-0. 44.0/paludis/environments/no_config' make[6]: * [no_config_environment.lo] Error 1 make[5]: * [all] Error 2

This happened with gcc 4.1.2 and now with 4.3.4. I attach the output of

  • paludis --info paludis
  • message log
  • error log

Let me know if I can provide anything else to help fix this.

Thanks

Attachments

paludis-info Download (14.4 KB) - added by njw 3 years ago.
Output of paludis --info paludis
messages-log Download (48 bytes) - added by njw 3 years ago.
Failed install message log

Change History

Changed 3 years ago by njw

Output of paludis --info paludis

Changed 3 years ago by njw

Failed install message log

comment:1 Changed 3 years ago by ciaranm

Try -O2 instead of -Os.

comment:2 Changed 3 years ago by njw

Aah, yes, that sounds like it'll fix things. Is there a way to set that per-package (eg only for paludis), or should I just temporarily alter the CFLAG line in /etc/paludis/bashrc?

Thanks.

comment:3 Changed 3 years ago by ciaranm

You can use the $CATEGORY and $PN variables in there to do conditionals.

comment:4 Changed 3 years ago by njw

  • Status changed from new to closed
  • Resolution set to fixed

Great, that worked a treat, it compiled and is now working fine.

Thanks again!

Note: See TracTickets for help on using tickets.