Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 646916 - app-editors/zile-2.4.14 : src/term_curses.c:36:4: error: #error SysV or X/Open-compatible Curses header file required
Summary: app-editors/zile-2.4.14 : src/term_curses.c:36:4: error: #error SysV or X/Ope...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-07 18:16 UTC by Toralf Förster
Modified: 2018-02-07 22:27 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.25 KB, text/plain)
2018-02-07 18:16 UTC, Toralf Förster
Details
app-editors:zile-2.4.14:20180207-051509.log (app-editors:zile-2.4.14:20180207-051509.log,117.94 KB, text/plain)
2018-02-07 18:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,121.61 KB, text/plain)
2018-02-07 18:17 UTC, Toralf Förster
Details
environment (environment,15.67 KB, text/plain)
2018-02-07 18:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.38 KB, application/x-bzip)
2018-02-07 18:17 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,35.77 KB, application/x-bzip)
2018-02-07 18:17 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,19.33 KB, application/x-bzip)
2018-02-07 18: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-02-07 18:16:54 UTC
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./src -I./lib -I./lib -DPATH_DOCDIR="\"/usr/share/doc/zile-2.4.14\""    -O2 -pipe -march=native -c -o src/term_redisplay.o src/term_redisplay.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -I./src -I./src -I./lib -I./lib -DPATH_DOCDIR="\"/usr/share/doc/zile-2.4.14\""    -O2 -pipe -march=native -c -o src/term_curses.o src/term_curses.c
src/term_curses.c:36:4: error: #error "SysV or X/Open-compatible Curses header file required"
 #  error "SysV or X/Open-compatible Curses header file required"
    ^~~~~
src/term_curses.c: In function 'term_move':

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop_libressl-test_20180203-123634

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

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)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-editors/zile
[ebuild  N    ] app-editors/zile-2.4.13  USE="acl {test}"
Comment 1 Toralf Förster gentoo-dev 2018-02-07 18:16:57 UTC
Created attachment 518386 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-02-07 18:17:00 UTC
Created attachment 518388 [details]
app-editors:zile-2.4.14:20180207-051509.log
Comment 3 Toralf Förster gentoo-dev 2018-02-07 18:17:03 UTC
Created attachment 518390 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-02-07 18:17:06 UTC
Created attachment 518392 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-02-07 18:17:09 UTC
Created attachment 518394 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-02-07 18:17:13 UTC
Created attachment 518396 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-02-07 18:17:16 UTC
Created attachment 518398 [details]
temp.tbz2
Comment 8 Ulrich Müller gentoo-dev 2018-02-07 22:02:20 UTC
The first indication of the problem is already seen in configure output:

checking for NcursesW wide-character library... yes
checking for working ncursesw/curses.h... no
checking for working ncursesw.h... no
checking for working ncurses.h... no
configure: WARNING: could not find a working ncursesw/curses.h, ncursesw.h or ncurses.h

Looks like it is caused by missing -ltinfo (as sys-libs/ncurses is built with USE=tinfo).
Comment 9 Larry the Git Cow gentoo-dev 2018-02-07 22:27:26 UTC
The bug has been closed via the following commit(s):

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

commit c646da6efad8ea922cf6f47487c2907fd41cdaa5
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2018-02-07 22:11:15 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2018-02-07 22:25:38 +0000

    app-editors/zile: Retrieve list of ncurses libs from pkg-config.
    
    Fixes build failure with sys-apps/ncurses[tinfo].
    
    Closes: https://bugs.gentoo.org/646916
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-editors/zile/zile-2.3.24-r2.ebuild | 6 +++++-
 app-editors/zile/zile-2.4.13.ebuild    | 6 +++++-
 app-editors/zile/zile-2.4.14.ebuild    | 6 +++++-
 3 files changed, 15 insertions(+), 3 deletions(-)