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

Bug 690272

Summary: app-i18n/libchewing-0.5.1 : [TEST] genkeystroke.c:34:6: error: #error SysV or X/Open-compatible Curses header file required
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: CJK Team <cjk>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/chewing/libchewing/issues/308
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 457530    
Attachments: emerge-info.txt
app-i18n:libchewing-0.5.1:20190719-213924.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-07-20 06:59:34 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include  -I../include -I../include/internal -I../src/porting_layer/include -I../test/ -I../thirdparty/sqlite-amalgamation -DCHEWING_DATA_PREFIX="\"/var/tmp/portage/app-i18n/libchewing-0.5.1/work/libchewing-0.5.1/data\"" -DTEST_HASH_DIR="\"/var/tmp/portage/app-i18n/libchewing-0.5.1/work/libchewing-0.5.1/test\"" -DTEST_DATA_DIR="\"/var/tmp/portage/app-i18n/libchewing-0.5.1/work/libchewing-0.5.1/test/data\"" -D_GNU_SOURCE    -Wall -O2 -pipe -march=native -fvisibility=hidden -O2 -pipe -march=native -c -o genkeystroke.o genkeystroke.c
genkeystroke.c:34:6: error: #error "SysV or X/Open-compatible Curses header file required"
   34 | #    error "SysV or X/Open-compatible Curses header file required"
      |      ^~~~~
genkeystroke.c: In function ‘drawline’:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-libressl_test-20190718-142211

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

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

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)





emerge -qpvO app-i18n/libchewing
[ebuild  N    ] app-i18n/libchewing-0.5.1  USE="test -static-libs"
Comment 1 Toralf Förster gentoo-dev 2019-07-20 06:59:38 UTC
Created attachment 583734 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-07-20 06:59:41 UTC
Created attachment 583736 [details]
app-i18n:libchewing-0.5.1:20190719-213924.log
Comment 3 Toralf Förster gentoo-dev 2019-07-20 06:59:44 UTC
Created attachment 583738 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-07-20 06:59:47 UTC
Created attachment 583740 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-07-20 06:59:50 UTC
Created attachment 583742 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-07-20 06:59:53 UTC
Created attachment 583744 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-07-20 06:59:56 UTC
Created attachment 583746 [details]
temp.tbz2
Comment 8 Arfrever Frehtes Taifersar Arahesis 2019-07-21 23:55:28 UTC
https://github.com/chewing/libchewing/issues/308
Comment 9 Larry the Git Cow gentoo-dev 2019-08-16 17:03:05 UTC
The bug has been closed via the following commit(s):

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

commit 405b8247f89a09745eb2d17ece349a1631bdcf5a
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2019-08-15 18:25:08 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2019-08-16 17:02:24 +0000

    app-i18n/libchewing: Fix building with USE="test" and sys-libs/ncurses[tinfo].
    
    Fixes: https://bugs.gentoo.org/690272
    Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 ...chewing-0.5.1-autoconf-archive-2019.01.06.patch | 809 +++++++++++++++++++++
 app-i18n/libchewing/libchewing-0.5.1.ebuild        |  22 +-
 app-i18n/libchewing/libchewing-9999.ebuild         |  22 +-
 3 files changed, 841 insertions(+), 12 deletions(-)