Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1309089

Summary: polymake-2.14r1-6.fc24 FTBFS in rawhide: Plucker.h:143:72: error: invalid initialization of non-const reference of type 'pm::Vector<int>&' from an rvalue of type 'pm::Vector<int>'
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: polymakeAssignee: Jerry James <loganjerry>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: loganjerry, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-05 19:53:09 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1305208    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2016-02-16 20:01:26 UTC
Your package polymake failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=12969245

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

Comment 1 Fedora Release Engineering 2016-02-16 20:01:29 UTC
Created attachment 1127706 [details]
build.log

Comment 2 Fedora Release Engineering 2016-02-16 20:01:30 UTC
Created attachment 1127707 [details]
root.log

Comment 3 Fedora Release Engineering 2016-02-16 20:01:32 UTC
Created attachment 1127708 [details]
state.log

Comment 4 Jan Kurik 2016-02-24 15:22:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle.
Changing version to '24'.

More information and reason for this action is here:
https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase

Comment 5 Petr Pisar 2016-03-30 11:59:26 UTC
The failure is:

/usr/bin/perl /builddir/build/BUILD/polymake-2.14r1/support/guarded_compiler.pl g++ -c -o perl/Plucker.o -fPIC -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -I/usr/include/eigen3 -Wno-unused-local-typedefs -std=gnu++98 -I/builddir/build/BUILD/polymake-2.14r1/include/core-wrappers -I/builddir/build/BUILD/polymake-2.14r1/include/core -I/builddir/build/BUILD/polymake-2.14r1/include/app-wrappers -I/builddir/build/BUILD/polymake-2.14r1/include/apps -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches  -m64 -mtune=generic -I/usr/include/eigen3 -Wno-unused-local-typedefs -std=gnu++98 -ftemplate-depth-200 -Wall -Wno-strict-aliasing -Wno-parentheses -fwrapv -fopenmp -DPOLYMAKE_APPNAME=common -DNDEBUG -DPOLYMAKE_DEBUG=0 -O2 -MD     /builddir/build/BUILD/polymake-2.14r1/apps/common/src/perl/Plucker.cc
In file included from /builddir/build/BUILD/polymake-2.14r1/include/core-wrappers/polymake/Plucker.h:20:0,
                 from /builddir/build/BUILD/polymake-2.14r1/apps/common/src/perl/Plucker.cc:20:
/builddir/build/BUILD/polymake-2.14r1/include/core/polymake/Plucker.h: In instantiation of 'pm::Plucker<pm::Rational> pm::join(const pm::Plucker<pm::Rational>&, const pm::Plucker<pm::Rational>&)':
/builddir/build/BUILD/polymake-2.14r1/include/core/polymake/Plucker.h:183:88:   required from 'pm::Plucker<pm::Rational> pm::operator+(const pm::Plucker<pm::Rational>&, const pm::Plucker<pm::Rational>&)'
/builddir/build/BUILD/polymake-2.14r1/include/core/polymake/perl/wrappers.h:1377:1:   required from 'static sv* pm::perl::Operator_Binary_add<Arg0, Arg1>::call(sv**, char*) [with Arg0 = pm::perl::Canned<const pm::Plucker<pm::Rational> >; Arg1 = pm::perl::Canned<const pm::Plucker<pm::Rational> >]'
/builddir/build/BUILD/polymake-2.14r1/include/core/polymake/perl/wrappers.h:253:21:   required from 'static void pm::perl::WrapperBase<Wrapper>::register_it(const char (&)[namelen], const char (&)[filelen], int, _app_list) [with long unsigned int namelen = 5ul; long unsigned int filelen = 70ul; _app_list = int; Wrapper = pm::perl::Operator_Binary_add<pm::perl::Canned<const pm::Plucker<pm::Rational> >, pm::perl::Canned<const pm::Plucker<pm::Rational> > >]'
/builddir/build/BUILD/polymake-2.14r1/include/core/polymake/perl/wrappers.h:1377:1:   required from 'pm::perl::Operator_Binary_add<Arg0, Arg1>::Operator_Binary_add(const char (&)[fl], int, first_arg_type) [with long unsigned int fl = 70ul; first_arg_type = int; Arg0 = pm::perl::Canned<const pm::Plucker<pm::Rational> >; Arg1 = pm::perl::Canned<const pm::Plucker<pm::Rational> >]'
/builddir/build/BUILD/polymake-2.14r1/apps/common/src/perl/Plucker.cc:41:4:   required from here
/builddir/build/BUILD/polymake-2.14r1/include/core/polymake/Plucker.h:143:72: error: invalid initialization of non-const reference of type 'pm::Vector<int>&' from an rvalue of type 'pm::Vector<int>'
             const Vector<int> perm = Vector<int>(p1.k(), entire(*Ait)) | Vector<int>(p2.k(), entire(*Bit));
                                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~