Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 655892 - net-misc/aria2-1.34.0 : bignum.h:34:25: error: make_unique was not declared in this scope
Summary: net-misc/aria2-1.34.0 : bignum.h:34:25: error: make_unique was not declared i...
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: 2018-05-16 16:48 UTC by Toralf Förster
Modified: 2018-05-30 09:45 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2018-05-16 16:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,267.38 KB, text/plain)
2018-05-16 16:48 UTC, Toralf Förster
Details
environment (environment,49.71 KB, text/plain)
2018-05-16 16:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.73 KB, application/x-bzip)
2018-05-16 16:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,23.09 KB, application/x-bzip)
2018-05-16 16:48 UTC, Toralf Förster
Details
net-misc:aria2-1.34.0:20180516-100918.log (net-misc:aria2-1.34.0:20180516-100918.log,171.62 KB, text/plain)
2018-05-16 16:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,22.55 KB, application/x-bzip)
2018-05-16 16:48 UTC, Toralf Förster
Details
aria2-1.34.0-make_unique.patch (aria2-1.34.0-make_unique.patch,1.37 KB, patch)
2018-05-17 10:11 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
Ebuild that applies the patch (aria2-1.34.0.ebuild,4.23 KB, text/plain)
2018-05-29 18:56 UTC, Ben Chaney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-05-16 16:48:06 UTC
                 from InternalDHKeyExchange.cc:36:
bignum.h: In constructor ‘bignum::ulong<dim>::ulong()’:
bignum.h:34:25: error: ‘make_unique’ was not declared in this scope
   inline ulong() : buf_(make_unique<char_t[]>(dim)) {}
                         ^~~~~~~~~~~
bignum.h:34:25: note: suggested alternative:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_20180510-100752

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-misc/aria2
[ebuild  N    ] net-misc/aria2-1.34.0  USE="gnutls libxml2 nettle nls ssl -adns -bittorrent -jemalloc -libuv -metalink -scripts -sqlite -ssh -tcmalloc {-test} -xmlrpc" 

!!! The following installed packages are masked:
- dev-util/scons-3.0.1-r2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (16 May 2018)
# Broken *FLAGS handling.  Use -r3 instead.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
Comment 1 Toralf Förster gentoo-dev 2018-05-16 16:48:09 UTC
Created attachment 531774 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-05-16 16:48:12 UTC
Created attachment 531776 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-05-16 16:48:15 UTC
Created attachment 531778 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-05-16 16:48:18 UTC
Created attachment 531780 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-05-16 16:48:21 UTC
Created attachment 531782 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-05-16 16:48:24 UTC
Created attachment 531784 [details]
net-misc:aria2-1.34.0:20180516-100918.log
Comment 7 Toralf Förster gentoo-dev 2018-05-16 16:48:27 UTC
Created attachment 531786 [details]
temp.tbz2
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2018-05-17 10:11:14 UTC
Created attachment 531886 [details, diff]
aria2-1.34.0-make_unique.patch

Fix from upstream.
Comment 9 Ben Chaney 2018-05-29 18:56:12 UTC
Created attachment 534036 [details]
Ebuild that applies the patch

This ebuild, which makes use of your patch, successfully compiles on my machine.
Comment 10 Larry the Git Cow gentoo-dev 2018-05-30 06:38:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d0fdfb770b1c5d4ffdba023b7085cf7ff3b5a6

commit c3d0fdfb770b1c5d4ffdba023b7085cf7ff3b5a6
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-05-30 06:36:04 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-05-30 06:38:12 +0000

    net-misc/aria2: Backport make_unique fix
    
    Closes: https://bugs.gentoo.org/655892

 net-misc/aria2/aria2-1.34.0.ebuild                 |  1 +
 .../aria2/files/aria2-1.34.0-make_unique.patch     | 44 ++++++++++++++++++++++
 2 files changed, 45 insertions(+)