Open artemjackson opened 8 years ago
I think this is the duplicate of #113
I agre. But my issue contains information about failures for each mutate package available on Arch Linux
Seems related to issue #109
Try this version: https://github.com/myhau/Mutate Worked for me on archlinux
@gandalf3 Got this error
> > > const&, boost::regex_constants::_match_flags)':
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]+0xfd): 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:249: recipe for target 'mutate' failed
make: *** [mutate] Error 1
==> ERROR: A failure occurred in build().
Aborting...
May be it's related to boost
version? I'm using 1.60.0-2
I was able to install it from source using @myhau's fork. I also have boost
1.60.0-2
, so I don't think that's your problem, @artemjackson.
Oh, sorry I just copied instruction from Installing section and didn't notice that it uses source from original Mytate repository. So building from @myhau's fork sources solved the problem.
This must be completely trivial but I can not seem to build @myhau's fork, when I git clone and try to make the package using makepkg (from the ./arch/ folder) it downloads the v2.4myhau.tar.gz, extracts it and on building it cannot find the source directory:
==> Validating source files with sha512sums...
v2.4myhau.tar.gz ... Passed
==> Extracting sources...
-> Extracting v2.4myhau.tar.gz with bsdtar
bsdtar: Failed to set default locale
==> Starting build()...
/home/xxx/Builds/Mutate/arch/PKGBUILD: line 21: cd: /home/xxx/Builds/Mutate/arch/src/Mutate/src: No such file or directory
==> ERROR: A failure occurred in build().
Aborting...
I've tried manually editting the PKGBUILD file but every time I try to build it keeps downloading a new tar.gz... Am I missing something completely trivial here?
@N00bDaan The archive v2.4myhau.tar.gz
extract a directory named Mumate-2.4myhau
, but the PKGBUILD script want to cd to Mutate
. Just create a symlink may solve this problem.
But I have another problem when building, here's the output:
g++ -Wl,-O1 -Wl,-O1,--sort-common,--as-needed,-z,relro -o mutate qxtglobalshortcut.o qxtglobalshortcut_x11.o qtsinglecoreapplication.o qtlocalpeer.o main.o widget.o returnbyscript.o defaulsearch.o config_parse.o setting.o plaintext.o listwidget.o singleapplication.o frequenceparse.o hotkey.o widgetthread.o listitem.o config.o doublelistitem.o gpixbuftoqicon.o theme.o qrc_icons.o moc_qxtglobalshortcut.o moc_qtsinglecoreapplication.o moc_qtlocalpeer.o moc_widget.o moc_setting.o moc_hotkey.o moc_plaintext.o moc_listwidget.o moc_singleapplication.o moc_widgetthread.o moc_listitem.o moc_doublelistitem.o -lX11 -L../libs -lboost_regex -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lpango-1.0 -lfontconfig -lfreetype -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lQt5X11Extras -lQt5Widgets -lQt5Gui -lQt5Network -lQt5Core -lGL -lpthread
defaulsearch.o: In function `__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > boost::re_detail_106000::re_is_set_member<__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, char, boost::regex_traits<char, boost::cpp_regex_traits<char> >, unsigned int>(__gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, __gnu_cxx::__normal_iterator<char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, boost::re_detail_106000::re_set_long<unsigned int> const*, boost::re_detail_106000::regex_data<char, boost::regex_traits<char, boost::cpp_regex_traits<char> > > const&, bool)':
defaulsearch.cpp:(.text._ZN5boost16re_detail_10600016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost16re_detail_10600016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x1f3): undefined reference to `boost::re_detail_106000::cpp_regex_traits_implementation<char>::transform_primary[abi:cxx11](char const*, char const*) const'
defaulsearch.cpp:(.text._ZN5boost16re_detail_10600016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb[_ZN5boost16re_detail_10600016re_is_set_memberIN9__gnu_cxx17__normal_iteratorIPKcNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEjEET_SH_SH_PKNS0_11re_set_longIT2_EERKNS0_10regex_dataIT0_T1_EEb]+0x3ba): undefined reference to `boost::re_detail_106000::cpp_regex_traits_implementation<char>::transform[abi:cxx11](char const*, char const*) const'
collect2: error: ld returned 1 exit status
Makefile:229: recipe for target 'mutate' failed
make: *** [mutate] Error 1
==> ERROR: A failure occurred in build().
Aborting...
@Cissoid with your idea I was able to build it, thanks! Seeing your error I would say you miss some boost dependencies.
I'm getting the same error with Cissoid. Could someone with a successful build post their installed boost packages?
This is not really scientific but :
$ pacman -Q | grep boost
boost 1.60.0-5
boost-libs 1.60.0-5
Tried to install from AUR but got a build error
Then I tried to build from sources as described in README, but got another error
Cam you help me with building from sources or fix AUR package? P.S. mutate-git from AUR fails too with error: