Hi Trying to build aria2-1.32.0 under Linux x32 + gcc-5.4.0 results in following error: libtool: compile: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I../lib -I../intl -I./includes -I./includes -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I/usr/include/libxml2 -I../deps/wslay/lib/includes -I../deps/wslay/lib/includes -std=c++11 -pipe -O2 -march=i686 -pipe -c LibgmpDHKeyExchange.cc -fPIC -DPIC -o .libs/LibgmpDHKeyExchange.o In file included from /usr/include/i686-pc-linux-gnu/gmp.h:51:0, from /usr/include/gmp.h:13, from a2gmp.h:38, from a2gmp.cc:35: /usr/lib/gcc/i686-pc-linux-gnu/5.4.0/include/g++-v5/cstddef:51:11: error: '::max_align_t' has not been declared using ::max_align_t; ^ make[3]: *** [a2gmp.lo] Error 1 make[3]: *** Waiting for unfinished jobs....
Please always attach the full build log and the output of emerge --info.
Created attachment 497494 [details] build.log
Created attachment 497496 [details] cave info
Have you tried rebuilding dev-libs/gmp and reinstalling net-misc/aria2?
(In reply to Tomáš Mózes from comment #4) > Have you tried rebuilding dev-libs/gmp and reinstalling net-misc/aria2? Yes, after upgrading to gmp-6.1.0 aria2 emerged ok. Thanks for hint.
What was your previous gmp version?
(In reply to Michał Górny from comment #6) > What was your previous gmp version? It was gmp-5.1.3
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6975af5dc44961179b8d4fe6341728b633d12d54 commit 6975af5dc44961179b8d4fe6341728b633d12d54 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2017-10-04 08:10:34 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2017-10-04 08:12:23 +0000 net-misc/aria2: Require dev-libs/gmp-6 Bump the minimum dev-libs/gmp version to 6 since issues were reported with gmp-5, and 5 is no longer available anyway. Closes: https://bugs.gentoo.org/632716 net-misc/aria2/aria2-1.32.0.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)