Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 670256 - sys-apps/nix-2.0.4 : src/.../s3-binary-cache-store.cc:55:32: error: invalid initialization of reference of type const string& {aka const std::_cxx11::basic_string<char>& } from expression of type Aws::String {aka std::_cx
Summary: sys-apps/nix-2.0.4 : src/.../s3-binary-cache-store.cc:55:32: error: invalid i...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-04 09:16 UTC by Toralf Förster
Modified: 2019-11-30 19:58 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.55 KB, text/plain)
2018-11-04 09:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,360.10 KB, text/plain)
2018-11-04 09:17 UTC, Toralf Förster
Details
environment (environment,114.96 KB, text/plain)
2018-11-04 09:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.44 KB, application/x-bzip)
2018-11-04 09:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.17 KB, application/x-bzip)
2018-11-04 09:17 UTC, Toralf Förster
Details
sys-apps:nix-2.0.4:20181104-085559.log (sys-apps:nix-2.0.4:20181104-085559.log,64.59 KB, text/plain)
2018-11-04 09:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.63 KB, application/x-bzip)
2018-11-04 09:17 UTC, Toralf Förster
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-11-04 09:16:57 UTC
                 from src/libstore/s3-binary-cache-store.cc:4:
src/libstore/s3-binary-cache-store.cc: In member function ‘virtual void nix::AwsLogger::ProcessFormattedStatement(Aws::String&&)’:
src/libstore/s3-binary-cache-store.cc:55:32: error: invalid initialization of reference of type ‘const string&’ {aka ‘const std::__cxx11::basic_string<char>&’} from expression of type ‘Aws::String’ {aka ‘std::__cxx11::basic_string<char, std::char_traits<char>, Aws::Allocator<char> >’}
         debug("AWS: %s", chomp(statement));
                                ^~~~~~~~~
src/libutil/logging.hh:148:36: note: in definition of macro ‘printMsg’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome-systemd_abi32+64_20181025-203518

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.0 *

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

emerge -qpvO sys-apps/nix
[ebuild  N    ] sys-apps/nix-2.0.4  USE="gc -doc -etc_profile -sodium"
Comment 1 Toralf Förster gentoo-dev 2018-11-04 09:16:59 UTC
Created attachment 554028 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-11-04 09:17:02 UTC
Created attachment 554030 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-11-04 09:17:05 UTC
Created attachment 554032 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-11-04 09:17:08 UTC
Created attachment 554034 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-11-04 09:17:10 UTC
Created attachment 554036 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-11-04 09:17:13 UTC
Created attachment 554038 [details]
sys-apps:nix-2.0.4:20181104-085559.log
Comment 7 Toralf Förster gentoo-dev 2018-11-04 09:17:16 UTC
Created attachment 554040 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2018-11-04 11:35:42 UTC
Oh, interesting. That must be an automagic depend of
    checking aws/s3/S3Client.h usability... yes
    checking aws/s3/S3Client.h presence... yes

I guess it's pulled in by
    Sun Nov  4 05:16:35 2018 >>> dev-libs/aws-sdk-cpp-1.5.17
Comment 9 Larry the Git Cow gentoo-dev 2018-11-04 22:50:25 UTC
The bug has been referenced in the following commit(s):

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

commit f7baa33d5fef62f96a594cfac8b1e1e86e91c949
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2018-11-04 22:49:58 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2018-11-04 22:50:17 +0000

    sys-apps/nix: add USE=s3 for AWS S3support, bug #670256
    
    Disable automagic autodetection of S3 backend. Does not
    fix originally reported build failure in bug #670256 yet.
    
    Reported-by: Toralf Förster
    Bug: https://bugs.gentoo.org/670256
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 sys-apps/nix/metadata.xml     |  1 +
 sys-apps/nix/nix-2.0.4.ebuild | 15 ++++++++++++---
 sys-apps/nix/nix-2.1.3.ebuild | 12 ++++++++++--
 3 files changed, 23 insertions(+), 5 deletions(-)