NetBSD Problem Report #56907
From www@netbsd.org Thu Jun 30 06:42:29 2022
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 1CFFA1A921F
for <gnats-bugs@gnats.NetBSD.org>; Thu, 30 Jun 2022 06:42:29 +0000 (UTC)
Message-Id: <20220630064227.AC2C91A9239@mollari.NetBSD.org>
Date: Thu, 30 Jun 2022 06:42:27 +0000 (UTC)
From: schaecsn@gmx.net
Reply-To: schaecsn@gmx.net
To: gnats-bugs@NetBSD.org
Subject: qemu does not configure with CURSES_DEFAULT=ncurses
X-Send-Pr-Version: www-1.0
>Number: 56907
>Category: pkg
>Synopsis: qemu does not configure with CURSES_DEFAULT=ncurses
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 30 06:45:01 +0000 2022
>Last-Modified: Tue Sep 27 04:05:01 +0000 2022
>Originator: Stefan Schaeckeler
>Release: pkgsrc-2022Q2
>Organization:
>Environment:
NetBSD XXX 9.2_STABLE NetBSD 9.2_STABLE (GENERIC) #1: Sat Mar 19 10:47:50 PDT 2022 root@dXXX:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
>Description:
With setting CURSES_DEFAULT=ncurses in /etc/mk.conf emulators/qemu/ fails in the configure phase
Has header "curses.h" : YES
Library ncursesw found: NO
Library cursesw found: NO
Library curses found: YES
../meson.build:815:6: ERROR: Problem encountered: curses library not usable
>How-To-Repeat:
set CURSES_DEFAULT=ncurses in /etc/mk.conf and then run make from emulators/qemu/
>Fix:
>Audit-Trail:
From: Valery Ushakov <uwe@stderr.spb.ru>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/56907: qemu does not configure with CURSES_DEFAULT=ncurses
Date: Fri, 1 Jul 2022 13:22:15 +0300
On Thu, Jun 30, 2022 at 06:45:01 +0000, schaecsn@gmx.net wrote:
> With setting CURSES_DEFAULT=ncurses in /etc/mk.conf emulators/qemu/
> fails in the configure phase
I might be mistaken, but AFAIK "CURSES_DEFAULT" is an internal
variable. THe user preference variable for curses is CURSES_TYPE
(cf. other user variables like X11_TYPE, EMACS_TYPE, etc)
-uwe
From: Stefan Schaeckeler <schaecsn@gmx.net>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,gnats-admin@netbsd.org,pkgsrc-bugs@netbsd.org
Subject: Re: pkg/56907: qemu does not configure with CURSES_DEFAULT=ncurses
Date: Mon, 26 Sep 2022 21:02:15 -0700 (PDT)
Hello Uwe,
> On Thu, Jun 30, 2022 at 06:45:01 +0000, schaecsn@gmx.net wrote:
>
> > With setting CURSES_DEFAULT=3Dncurses in /etc/mk.conf emulators/qemu/
> > fails in the configure phase
>
> I might be mistaken, but AFAIK "CURSES_DEFAULT" is an internal
> variable. THe user preference variable for curses is CURSES_TYPE
> (cf. other user variables like X11_TYPE, EMACS_TYPE, etc)
I added CURSES_DEFAULT to /etc/mk.conf as I found it some time ago in
misc/screen. So, misc/screen needs to be fixed in some way?
- - - snip - - -
/usr/pkgsrc/misc/screen# make
=3D> Bootstrap dependency digest>=3D20211023: found digest-20220214
=3D> Fetching screen-4.9.0.tar.gz
=3D> Total size: 798229 bytes
Trying [2001:878:346::116]:443 ...
ftp: Can't connect to `2001:878:346::116:443': No route to host
Trying 130.225.254.116:443 ...
Requesting https://mirrors.dotsrc.org/gnu/screen/screen-4.9.0.tar.gz
100% |*************************************************************| 779=
KiB 152.56 KiB/s 00:00 ETA
798229 bytes retrieved in 00:05 (152.55 KiB/s)
=3D> Checksum BLAKE2s OK for screen-4.9.0.tar.gz
=3D> Checksum SHA512 OK for screen-4.9.0.tar.gz
=3D=3D=3D> Installing dependencies for screen-4.9.0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
The supported build options for screen are:
curses ncurses pdcurses
You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable. Its current value is shown:
PKG_OPTIONS.screen (not defined)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D
The following variables will affect the build process of this package,
screen-4.9.0. Their current value is shown below:
* CURSES_DEFAULT =3D ncurses
Based on these variables, the following variables have been set:
* CURSES_TYPE =3D ncurses
* TERMCAP_TYPE =3D termcap
- - - snip - - -
Stefan
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2022
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.