Package Details: monero 0.12.2.0-3

Git Clone URL: https://aur.archlinux.org/monero.git (read-only)
Package Base: monero
Description: Monero: the secure, private, untraceable currency - release version (includes daemon, wallet and miner)
Upstream URL: https://getmonero.org/
Licenses: custom:Cryptonote
Conflicts: bitmonero-git, libmonero-wallet-git
Provides: libmonero-wallet, monero
Submitter: anonimal
Maintainer: anonimal
Last Packager: anonimal
Votes: 67
Popularity: 4.221973
First Submitted: 2016-09-21 06:24
Last Updated: 2018-06-12 21:57

Latest Comments

anonimal commented on 2018-06-12 21:54

Yes, thanks @kragol, I'll apply the patch.

From the manpage:

When running update (only effective with the checkout procedure), throw away local changes in submodules when switching to a different commit; and always run a checkout operation in the submodule, even if the commit listed in the index of the containing repository matches the commit checked out in the submodule.

kragol commented on 2018-06-12 09:09

The third patch seems to be causing trouble if for whatever reason the build process is interrupted.

After an interruption, running makepkg again results in an error (ERROR: A failure occurred in prepare()) which is due to the third patch that is already applied to the miniupnp submodule. The problem is that when running makepkg a second time, it resets the monero repo to its original state before applying the patch again, but it does not reset the submodules to their originial states. Hence, makepkg fails when trying to patch the miniupnp submodule because it is already patched.

A quick workaround seems to be to add the option --force to the submodule update command in prepare()

git -C "${pkgname}" submodule update --init --recursive --force

anonimal commented on 2018-06-11 23:46

Patch now added and will patch by default when building.

k0ste commented on 2018-06-11 04:27

@tobac, thanks. Now builds fine.

tobac commented on 2018-06-10 19:53

@k0ste @lucas This problem you're experiencing is due to boost version 1.67 (for which Arch rolled out an upgrade a few days ago). Upstream is aware and there is a patch: https://github.com/monero-project/monero/pull/3735

Just apply https://github.com/monero-project/monero/pull/3735.patch

lucas commented on 2018-06-10 15:03

add .load() at line 1755: boost::posix_time::milliseconds wait_for_ms(m_refreshIntervalMillis.load());

add .load() to make Boost 1.67 happy with its new is_integral check ( https://github.com/monero-project/monero/pull/3735 )

[ 48%] Building CXX object src/wallet/api/............................. ....................................... aur-monero/src/monero/src/wallet/api/wallet.cpp:1755:80: error: no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000="">::subsecond_duration(std::atomic<int>&)’ boost::posix_time::milliseconds wait_for_ms(m_refreshIntervalMillis);</int></boost::posix_time::time_duration,>

k0ste commented on 2018-06-10 08:48

@anonimal, we already have issue for this or this is something new?

Scanning dependencies of target obj_wallet_api
[ 48%] Building CXX object src/wallet/api/CMakeFiles/obj_wallet_api.dir/wallet.cpp.o
/tmp/monero/src/monero/src/wallet/api/wallet.cpp: In member function ‘void Monero::WalletImpl::refreshThreadFunc()’:
/tmp/monero/src/monero/src/wallet/api/wallet.cpp:1755:80: error: no matching function for call to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>::subsecond_duration(std::atomic<int>&)’
             boost::posix_time::milliseconds wait_for_ms(m_refreshIntervalMillis);
                                                                                ^
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
                 from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
                 from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
                 from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
                 from /usr/include/boost/thread/thread_time.hpp:11,
                 from /usr/include/boost/thread/lock_types.hpp:18,
                 from /usr/include/boost/thread/pthread/mutex.hpp:16,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /tmp/monero/src/monero/src/crypto/crypto.h:35,
                 from /tmp/monero/src/monero/src/serialization/crypto.h:38,
                 from /tmp/monero/src/monero/src/cryptonote_basic/cryptonote_basic.h:44,
                 from /tmp/monero/src/monero/src/cryptonote_basic/account.h:33,
                 from /tmp/monero/src/monero/src/wallet/wallet2.h:43,
                 from /tmp/monero/src/monero/src/wallet/api/wallet.h:35,
                 from /tmp/monero/src/monero/src/wallet/api/wallet.cpp:32:
/usr/include/boost/date_time/time_duration.hpp:285:14: note: candidate: ‘template<class T> boost::date_time::subsecond_duration<base_duration, frac_of_second>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<Functor>, void>::type*)’
     explicit subsecond_duration(T const& ss,
              ^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:285:14: note:   template argument deduction/substitution failed:
/usr/include/boost/date_time/time_duration.hpp: In substitution of ‘template<class T> boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>::subsecond_duration(const T&, typename boost::enable_if<boost::is_integral<T> >::type*) [with T = std::atomic<int>]’:
/tmp/monero/src/monero/src/wallet/api/wallet.cpp:1755:80:   required from here
/usr/include/boost/date_time/time_duration.hpp:285:14: error: no type named ‘type’ in ‘struct boost::enable_if<boost::is_integral<std::atomic<int> >, void>’
In file included from /usr/include/boost/date_time/posix_time/posix_time_config.hpp:16,
                 from /usr/include/boost/date_time/posix_time/posix_time_system.hpp:13,
                 from /usr/include/boost/date_time/posix_time/ptime.hpp:12,
                 from /usr/include/boost/date_time/posix_time/posix_time_types.hpp:12,
                 from /usr/include/boost/thread/thread_time.hpp:11,
                 from /usr/include/boost/thread/lock_types.hpp:18,
                 from /usr/include/boost/thread/pthread/mutex.hpp:16,
                 from /usr/include/boost/thread/mutex.hpp:16,
                 from /tmp/monero/src/monero/src/crypto/crypto.h:35,
                 from /tmp/monero/src/monero/src/serialization/crypto.h:38,
                 from /tmp/monero/src/monero/src/cryptonote_basic/cryptonote_basic.h:44,
                 from /tmp/monero/src/monero/src/cryptonote_basic/account.h:33,
                 from /tmp/monero/src/monero/src/wallet/wallet2.h:43,
                 from /tmp/monero/src/monero/src/wallet/api/wallet.h:35,
                 from /tmp/monero/src/monero/src/wallet/api/wallet.cpp:32:
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>::subsecond_duration(const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>&)’
   class BOOST_SYMBOL_VISIBLE subsecond_duration : public base_duration
                              ^~~~~~~~~~~~~~~~~~
/usr/include/boost/date_time/time_duration.hpp:270:30: note:   no known conversion for argument 1 from ‘std::atomic<int>’ to ‘const boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>&’
/usr/include/boost/date_time/time_duration.hpp:270:30: note: candidate: ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>::subsecond_duration(boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>&&)’
/usr/include/boost/date_time/time_duration.hpp:270:30: note:   no known conversion for argument 1 from ‘std::atomic<int>’ to ‘boost::date_time::subsecond_duration<boost::posix_time::time_duration, 1000>&&’
make[2]: *** [src/wallet/api/CMakeFiles/obj_wallet_api.dir/build.make:63: src/wallet/api/CMakeFiles/obj_wallet_api.dir/wallet.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2451: src/wallet/api/CMakeFiles/obj_wallet_api.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

growler commented on 2018-06-06 20:27

yeah, thanks, that "clone + make" worked fine manually. Not sure if pacaur/pacman has a cache downloaded somewhere that is corrupt (although I did delete ~/.tmp/pacaur/monero before trying again.)

Ta for the help

anonimal commented on 2018-06-06 02:05

@growler That's odd. Can you try the following instead of pacaur:

$ git clone https://aur.archlinux.org/monero.git && cd monero && makepkg -si

growler commented on 2018-06-05 22:15

Struggling to update it with the latest versions, been getting the following error for a while. Any ideas?

AUR Packages (1) monero-0.12.2.0-1

:: Proceed with installation? [Y/n] :: Retrieving package(s)... Cloning into 'monero'... remote: Counting objects: 7, done. remote: Compressing objects: 100% (7/7), done. remote: Total 7 (delta 0), reused 3 (delta 0) Unpacking objects: 100% (7/7), done. :: View monero PKGBUILD? [Y/n] y :: monero PKGBUILD viewed :: View monero.install script? [Y/n] :: monero.install script viewed :: Checking monero integrity... ==> Making package: monero 0.12.2.0-1 (Tue 05 Jun 2018 23:13:53 BST) ==> Retrieving sources... ==> ERROR: /home/user/.tmp/pacaur/monero/monero is not a clone of https://github.com/monero-project/monero Aborting... :: Preparing monero... ==> Making package: monero 0.12.2.0-1 (Tue 05 Jun 2018 23:13:55 BST) ==> WARNING: Skipping dependency checks. ==> Retrieving sources... ==> ERROR: /home/user/.tmp/pacaur/monero/monero is not a clone of https://github.com/monero-project/monero Aborting... :: failed to verify integrity or prepare monero package :: failed to verify integrity or prepare monero package

All comments