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

Bug 763273

Summary: regression in >=app-i18n/opencc-1.1.0 (was: app-i18n/pyzy-0.1.0-r3 : /.../SimpleConverter.hpp: error: string in namespace std does not name a type)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: arfrever.fta
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-i18n:pyzy-0.1.0-r3:20210103-140215.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2021-01-03 14:08:10 UTC
In file included from /usr/include/opencc/opencc.h:25,
                 from SimpTradConverter.cc:31:
/usr/include/opencc/SimpleConverter.hpp:42:30: error: ‘string’ in namespace ‘std’ does not name a type
   42 |   SimpleConverter(const std::string& configFileName);
      |                              ^~~~~~
/usr/include/opencc/SimpleConverter.hpp:1:1: note: ‘std::string’ is defined in header ‘<string>’; did you forget to ‘#include <string>’?

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-20201231-222458

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

gcc-config -l:
clang version 11.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.9 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Rust versions:
  [1]   rust-1.48.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.272_p10 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Jan  3 01:05:17 PM UTC 2021

emerge -qpvO app-i18n/pyzy
[ebuild  N    ] app-i18n/pyzy-0.1.0-r3  USE="boost opencc -doc"
Comment 1 Toralf Förster gentoo-dev 2021-01-03 14:08:11 UTC
Created attachment 680845 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-01-03 14:08:12 UTC
Created attachment 680848 [details]
app-i18n:pyzy-0.1.0-r3:20210103-140215.log
Comment 3 Toralf Förster gentoo-dev 2021-01-03 14:08:14 UTC
Created attachment 680851 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-01-03 14:08:15 UTC
Created attachment 680854 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-01-03 14:08:16 UTC
Created attachment 680857 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2021-01-03 14:08:17 UTC
Created attachment 680860 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2021-01-03 14:08:19 UTC
Created attachment 680863 [details]
temp.tbz2
Comment 8 Arfrever Frehtes Taifersar Arahesis 2021-01-03 16:20:05 UTC
https://github.com/BYVoid/OpenCC/issues/550
Comment 9 Larry the Git Cow gentoo-dev 2021-03-26 14:38:11 UTC
The bug has been closed via the following commit(s):

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

commit dd49c838fb8b66fb2d2bcbb11363a4ffe3479abe
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2021-03-26 04:00:00 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-03-26 14:38:04 +0000

    app-i18n/opencc: Version bump (1.1.2).
    
    Closes: https://bugs.gentoo.org/763273
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 app-i18n/opencc/Manifest            |  1 +
 app-i18n/opencc/opencc-1.1.2.ebuild | 73 +++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+)