Summary: | www-servers/varnish-5.1.1 - In file included from varnishhist.c:50:0: ../../include/vcurses.h:42:4: error: #error "SysV or X/Open-compatible Curses header file required" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | stathis <stathis> |
Component: | Current packages | Assignee: | Anthony Basile <blueness> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | brokendreams1981, jan, patrickallaert, slawomir.nizio, stefantalpalaru |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
emerge --info varnish-5.1.3-r1 varnish-5.1.3-tinfo.patch |
Description
stathis
2017-04-08 08:26:58 UTC
Created attachment 469452 [details]
build.log
Created attachment 469454 [details]
emerge --info
I found out that the problem stems from the compilation of ncurses. I compile sys-libs/ncurses:0 (that's v6.x) with -tinfo in order for varnish 5.1.x to compile successfully. With the tinfo flag enabled on ncurses, varnish fails with the aforementioned error. I made a pull request upstream to support an ncurses library with split tinfo: https://github.com/varnishcache/varnish-cache/pull/2331 It's just a matter of updating m4/ax_with_curses.m4 and replacing a deprecated variable in 3 Makefile.am files. Created attachment 536302 [details]
varnish-5.1.3-r1
varnish revbump for tinfo patch (lkatest stable keyworded varnish)
Created attachment 536304 [details, diff]
varnish-5.1.3-tinfo.patch
patch to build varnish with sys-libs/ncurses USE=tinfo
Give those a try for those of you on stable keyworded systems. Should be fixed by varnish 6.0.1, stable request at bug 670794 *** Bug 696880 has been marked as a duplicate of this bug. *** |