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 1306677 - zinnia-0.06-27.fc24 FTBFS: no matching function for call to 'make_pair(const string&, zinnia::FeatureNode*&)'
Summary: zinnia-0.06-27.fc24 FTBFS: no matching function for call to 'make_pair(const ...
Keywords:
Status: CLOSED DUPLICATE of bug 1308267
Alias: None
Product: Fedora
Classification: Fedora
Component: zinnia
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peng Wu
QA Contact: Fedora Extras Quality Assurance
URL: https://koji.fedoraproject.org/koji/b...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-11 14:57 UTC by Petr Pisar
Modified: 2016-02-17 04:18 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-02-17 04:18:05 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2016-02-11 14:57:21 UTC
zinnia-0.06-27.fc24 fails to build in F24:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -c trainer.cpp  -fPIC -DPIC -o .libs/trainer.o
[...]
trainer.cpp: In member function 'virtual bool zinnia::TrainerImpl::add(const zinnia::Character&)':
trainer.cpp:106:66: error: no matching function for call to 'make_pair(const string&, zinnia::FeatureNode*&)'
     x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn));
                                                                  ^
In file included from /usr/include/c++/6.0.0/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/6.0.0/vector:60,
                 from trainer.cpp:8:
/usr/include/c++/6.0.0/bits/stl_pair.h:406:5: note: candidate: template<class _T1, class _T2> constexpr std::pair<typename std::__decay_and_strip<_Tp>::__type, typename std::__decay_and_strip<_T2>::__type> std::make_pair(_T1&&, _T2&&)
     make_pair(_T1&& __x, _T2&& __y)
     ^~~~~~~~~
/usr/include/c++/6.0.0/bits/stl_pair.h:406:5: note:   template argument deduction/substitution failed:
trainer.cpp:106:66: note:   cannot convert 'y' (type 'const string {aka const std::__cxx11::basic_string<char>}') to type 'std::__cxx11::basic_string<char>&&'
     x_.push_back(std::make_pair<std::string, FeatureNode *>(y, fn));
                                                                  ^

Difference between working and failing build root is:

libgcc 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	openssl-libs 	1:1.0.2e-5.fc24 	> 	1:1.0.2f-1.fc24
	krb5-libs 	1.14-18.fc24 	> 	1.14-19.fc24
	libstdc++ 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	filesystem 	3.2-35.fc24 	> 	3.2-36.fc24
	python3-dnf-plugins-core 	0.1.16-1.fc24 	> 	0.1.16-3.fc24
	rpm-build 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	elfutils-libs 	0.165-2.fc24 	> 	0.165-3.fc24
	dnf-plugins-core 	0.1.16-1.fc24 	> 	0.1.16-3.fc24
	rpm-libs 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	kernel-headers 	4.5.0-0.rc1.git0.2.... 	> 	4.5.0-0.rc1.git1.1....
	libtool-ltdl 	2.4.6-8.fc24 	> 	2.4.6-9.fc24
	rpm-plugin-selinux 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	gcc-c++ 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	rpm-python3 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	elfutils-libelf 	0.165-2.fc24 	> 	0.165-3.fc24
	elfutils 	0.165-2.fc24 	> 	0.165-3.fc24
	libstdc++-devel 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	gcc 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	rpm 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	file 	5.25-4.fc24 	> 	5.25-5.fc24
	rpm-build-libs 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	file-libs 	5.25-4.fc24 	> 	5.25-5.fc24
	go-srpm-macros 	2-4.fc24 	> 	2-5.fc24
	rpm-plugin-systemd-inhibit 	4.13.0-0.rc1.18.fc24 	> 	4.13.0-0.rc1.19.fc24
	cpp 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	elfutils-default-yama-scope 	0.165-2.fc24 	> 	0.165-3.fc24
	gcc-gdb-plugin 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24
	libgomp 	5.3.1-3.fc24 	> 	6.0.0-0.5.fc24

Comment 1 Peng Wu 2016-02-17 04:18:05 UTC

*** This bug has been marked as a duplicate of bug 1308267 ***


Note You need to log in before you can comment on or make changes to this bug.