Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 632716 - net-misc/aria2 fails to build: error: '::max_align_t' has not been declared using ::max_align_t;
Summary: net-misc/aria2 fails to build: error: '::max_align_t' has not been declared u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-02 19:54 UTC by MageSlayer
Modified: 2017-10-04 08:12 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,194.84 KB, text/x-log)
2017-10-03 08:23 UTC, MageSlayer
Details
cave info (cave_info.log,23.36 KB, text/x-log)
2017-10-03 08:23 UTC, MageSlayer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MageSlayer 2017-10-02 19:54:46 UTC
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....
Comment 1 Tomáš Mózes 2017-10-03 04:22:01 UTC
Please always attach the full build log and the output of emerge --info.
Comment 2 MageSlayer 2017-10-03 08:23:36 UTC
Created attachment 497494 [details]
build.log
Comment 3 MageSlayer 2017-10-03 08:23:55 UTC
Created attachment 497496 [details]
cave info
Comment 4 Tomáš Mózes 2017-10-03 21:09:06 UTC
Have you tried rebuilding dev-libs/gmp and reinstalling net-misc/aria2?
Comment 5 MageSlayer 2017-10-04 07:08:30 UTC
(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.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-10-04 07:22:36 UTC
What was your previous gmp version?
Comment 7 MageSlayer 2017-10-04 07:56:25 UTC
(In reply to Michał Górny from comment #6)
> What was your previous gmp version?

It was gmp-5.1.3
Comment 8 Larry the Git Cow gentoo-dev 2017-10-04 08:12:31 UTC
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(-)