Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build rpm on Fedora 24 #135

Open
bgatessucks opened this issue Dec 15, 2016 · 1 comment
Open

Failed to build rpm on Fedora 24 #135

bgatessucks opened this issue Dec 15, 2016 · 1 comment

Comments

@bgatessucks
Copy link

Following the instructions to build a rpm for 2.4 I get :

rpmbuild -bb ./mutate.spec

...
defaulsearch.cpp:(.text._ZN5boost11regex_matchIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISB_EEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEbT_SJ_RNS_13match_resultsISJ_T0_EERKNS_11basic_regexIT1_T2_EENS_15regex_constants12_match_flagsE[_ZN5boost11regex_matchIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEESaINS_9sub_matchISB_EEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEEEbT_SJ_RNS_13match_resultsISJ_T0_EERKNS_11basic_regexIT1_T2_EENS_15regex_constants12_match_flagsE]+0xea): undefined reference to `boost::re_detail::perl_matcher<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<boost::sub_match<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > >, boost::regex_traits<char, boost::cpp_regex_traits<char> > >::construct_init(boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, boost::regex_constants::_match_flags)'
collect2: error: ld returned 1 exit status
Makefile:311: recipe for target 'mutate' failed
make: *** [mutate] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.2OuL7d (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.2OuL7d (%build)

It seems to be related to boost (my guess, could be wrong); I have:

rpm -qa | grep boost

boost-type_erasure-1.60.0-7.fc24.x86_64
boost-locale-1.60.0-7.fc24.x86_64
boost-math-1.60.0-7.fc24.x86_64
boost-coroutine-1.60.0-7.fc24.x86_64
boost-date-time-1.60.0-7.fc24.x86_64
boost-python-1.60.0-7.fc24.x86_64
boost-signals-1.60.0-7.fc24.x86_64
boost-program-options-1.60.0-7.fc24.x86_64
boost-system-1.60.0-7.fc24.x86_64
boost-thread-1.60.0-7.fc24.x86_64
boost-test-1.60.0-7.fc24.x86_64
boost-timer-1.60.0-7.fc24.x86_64
boost-log-1.60.0-7.fc24.x86_64
boost-iostreams-1.60.0-7.fc24.x86_64
boost-1.60.0-7.fc24.x86_64
boost-atomic-1.60.0-7.fc24.x86_64
boost-devel-1.60.0-7.fc24.x86_64
boost-container-1.60.0-7.fc24.x86_64
boost-chrono-1.60.0-7.fc24.x86_64
boost-context-1.60.0-7.fc24.x86_64
boost-random-1.60.0-7.fc24.x86_64
boost-graph-1.60.0-7.fc24.x86_64
boost-filesystem-1.60.0-7.fc24.x86_64
boost-regex-1.60.0-7.fc24.x86_64
boost-wave-1.60.0-7.fc24.x86_64
boost-serialization-1.60.0-7.fc24.x86_64
@mgolisch
Copy link
Contributor

i think its a problem with boost 1.6 see #109 and #133

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants