Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715514

Summary: dev-util/schroot-1.6.10_p7 : /.../sbuild-feature.cc: error: gettext was not declared in this scope
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: gyakovlev
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 713786    
Attachments: emerge-info.txt
dev-util:schroot-1.6.10_p7:20200330-193806.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-30 20:55:42 UTC
/var/tmp/portage/dev-util/schroot-1.6.10_p7/work/schroot-1.6.10/sbuild/sbuild-feature.cc: In static member function static std::ostream& sbuild::feature::print_features(std::ostream&):
/var/tmp/portage/dev-util/schroot-1.6.10_p7/work/schroot-1.6.10/sbuild/sbuild-feature.cc:48:40: error: gettext was not declared in this scope
   48 |       stream << feature % pos->first % gettext(pos->second.c_str());
      |                                        ^~~~~~~
ninja: build stopped: subcommand failed.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 18:39:03 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO dev-util/schroot
[ebuild  N    ] dev-util/schroot-1.6.10_p7  USE="dchroot nls pam -btrfs -debug -doc -lvm -test -zfs"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 20:55:44 UTC
Created attachment 627592 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 20:55:47 UTC
Created attachment 627594 [details]
dev-util:schroot-1.6.10_p7:20200330-193806.log
Comment 3 Toralf Förster gentoo-dev 2020-03-30 20:55:50 UTC
Created attachment 627596 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-30 20:55:52 UTC
Created attachment 627598 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-30 20:55:55 UTC
Created attachment 627600 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-30 20:55:58 UTC
Created attachment 627602 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-30 20:56:00 UTC
Created attachment 627604 [details]
temp.tbz2
Comment 9 Larry the Git Cow gentoo-dev 2022-09-26 20:01:20 UTC
The bug has been closed via the following commit(s):

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

commit 754401ca87d224ab1861e6065f081825cddd15da
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-09-26 20:01:03 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-09-26 20:01:12 +0000

    dev-util/schroot: fix build w/ musl, libcxx
    
    Closes: https://bugs.gentoo.org/739034
    Closes: https://bugs.gentoo.org/715514
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/schroot-1.6.13_p2-build-fixes.patch      | 103 +++++++++++++++++++++
 dev-util/schroot/schroot-1.6.13_p2.ebuild          |   4 +
 2 files changed, 107 insertions(+)