Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 568312

Summary: sys-apps/paludis-2.4.0 with gcc-5.3: collect_depped_upon.cc: In function ‘const std::shared_ptr<const paludis::Sequence<paludis::resolver::DependentPackageID> > paludis::resolver::dependent_upon(const paludis::Environment*, const std::shared_ptr<const pal
Product: Gentoo Linux Reporter: Kobboi <gentoo>
Component: [OLD] UnspecifiedAssignee: Jeff (JD) Horelick (RETIRED) <jdhore>
Status: RESOLVED FIXED    
Severity: normal CC: alunduil, jstein, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 536984    
Attachments: build.log

Description Kobboi 2015-12-15 07:13:21 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..    -I../..  -pthread -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunreachable-code -Wunused -Wunused-function -Wshadow -Wwrite-strings -Wfloat-equal -Wno-ignored-qualifiers -Wno-non-virtual-dtor -std=c++11   -fvisibility-inlines-hidden -fvisibility=hidden -DPALUDIS_ENABLE_VISIBILITY=1 -O2 -march=native -pipe -fomit-frame-pointer -c -o collect_world.o collect_world.cc
collect_depped_upon.cc: In function ‘const std::shared_ptr<const paludis::Sequence<paludis::resolver::DependentPackageID> > paludis::resolver::dependent_upon(const paludis::Environment*, const std::shared_ptr<const paludis::PackageID>&, const std::shared_ptr<const paludis::Sequence<paludis::resolver::ChangeByResolvent> >&, const std::shared_ptr<const paludis::Sequence<paludis::resolver::ChangeByResolvent> >&, const std::shared_ptr<const paludis::Sequence<std::shared_ptr<const paludis::PackageID> > >&)’:
collect_depped_upon.cc:242:122: error: direct-list-initialization of ‘auto’ requires exactly one element [-fpermissive]
 ies_key, &PackageID::run_dependencies_key, &PackageID::post_dependencies_key };
                                                                              ^
collect_depped_upon.cc:242:122: note: for deduction to ‘std::initializer_list’, use copy-list-initialization (i.e. add ‘=’ before the ‘{’)
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..    -I../..  -pthread -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunreachable-code -Wunused -Wunused-function -Wshadow -Wwrite-strings -Wfloat-equal -Wno-ignored-qualifiers -Wno-non-virtual-dtor -std=c++11   -fvisibility-inlines-hidden -fvisibility=hidden -DPALUDIS_ENABLE_VISIBILITY=1 -O2 -march=native -pipe -fomit-frame-pointer -c -o confirm_helper.o confirm_helper.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..    -I../..  -pthread -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunreachable-code -Wunused -Wunused-function -Wshadow -Wwrite-strings -Wfloat-equal -Wno-ignored-qualifiers -Wno-non-virtual-dtor -std=c++11   -fvisibility-inlines-hidden -fvisibility=hidden -DPALUDIS_ENABLE_VISIBILITY=1 -O2 -march=native -pipe -fomit-frame-pointer -c -o constraint.o constraint.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..    -I../..  -pthread -Wall -Wextra -Wold-style-cast -Wredundant-decls -Wstrict-null-sentinel -Wmissing-noreturn -Woverloaded-virtual -Winit-self -Wunreachable-code -Wunused -Wunused-function -Wshadow -Wwrite-strings -Wfloat-equal -Wno-ignored-qualifiers -Wno-non-virtual-dtor -std=c++11   -fvisibility-inlines-hidden -fvisibility=hidden -DPALUDIS_ENABLE_VISIBILITY=1 -O2 -march=native -pipe -fomit-frame-pointer -c -o decider.o decider.cc
make[5]: *** [collect_depped_upon.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/var/tmp/portage/sys-apps/paludis-2.4.0/work/paludis-2.4.0/paludis/resolver'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/sys-apps/paludis-2.4.0/work/paludis-2.4.0/paludis/resolver'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-apps/paludis-2.4.0/work/paludis-2.4.0/paludis'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/sys-apps/paludis-2.4.0/work/paludis-2.4.0/paludis'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-apps/paludis-2.4.0/work/paludis-2.4.0'
make: *** [all] Error 2


Reproducible: Always
Comment 1 Kobboi 2015-12-15 07:13:51 UTC
Created attachment 419260 [details]
build.log
Comment 3 Toralf Förster gentoo-dev 2015-12-16 09:42:30 UTC
failed here at a tinderbox chroot image amd64-13.0-unstable_20151211-113822 too when I tried to upgrade from gcc-4.9.3 to 5.3.0
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-16 14:11:46 UTC
Yeah, we know, it's fixed in git and long story short, Ciaran is using Ubuntu instead of making a release.
Comment 5 Toralf Förster gentoo-dev 2015-12-16 19:27:50 UTC
(In reply to Marcin Kowalski from comment #2)
> this might help 
> 
> http://git.exherbo.org/paludis/paludis.git/commit/
> ?id=16acb5e446ea244c88cae8c25b4a6bd9cc8bae7d

yep - that works fine here at amd64-desktop-unstable_20151214-173958
Comment 6 Harris Landgarten 2015-12-19 18:27:07 UTC
I rebuilt paludis with the patch. It mostly works but cave fix-linkage is now broken:

sudo cave fix-linkage
Searching: 11 directories, 218828 filesterminate called after throwing an instance of 'std::ios_base::failure'
  what():  basic_ios::clear
Aborted
Comment 7 Kobboi 2016-01-17 22:12:28 UTC
sys-apps/paludis-2.4.0_p20160112 currently in tree, compiles fine
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2016-01-17 22:16:01 UTC
Oh yes, thanks for reminding me to close this bug.