NetBSD Problem Report #56651

From www@netbsd.org  Sat Jan 22 13:54:24 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 A77201A923A
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 22 Jan 2022 13:54:24 +0000 (UTC)
Message-Id: <20220122135423.33E5A1A923B@mollari.NetBSD.org>
Date: Sat, 22 Jan 2022 13:54:23 +0000 (UTC)
From: cryintothebluesky@gmail.com
Reply-To: cryintothebluesky@gmail.com
To: gnats-bugs@NetBSD.org
Subject: net/tigervnc needs x11/xauth as a dependency
X-Send-Pr-Version: www-1.0

>Number:         56651
>Category:       pkg
>Synopsis:       net/tigervnc needs x11/xauth as a dependency
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 22 13:55:00 +0000 2022
>Last-Modified:  Thu Feb 24 02:55:01 +0000 2022
>Originator:     Sad Clouds
>Release:        pkgsrc-2021Q4
>Organization:
>Environment:
SunOS pkgsrc 5.11 11.3 sun4v sparc SUNW,SPARC-Enterprise-T5220
>Description:
For tigervnc, package x11/xauth needs to be added as a dependency:

vncserver: couldn't find "xauth" on your PATH.
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: "David H. Gutteridge" <david@gutteridge.ca>
To: Gnats Bugs <gnats-bugs@netbsd.org>
Cc: 
Subject: Re: pkg/56651: net/tigervnc needs x11/xauth as a dependency
Date: Tue, 22 Feb 2022 20:19:31 -0500

 > For tigervnc, package x11/xauth needs to be added as a dependency:
 > 
 > vncserver: couldn't find "xauth" on your PATH.

 If I understand you correctly, you have a base X environment installed
 that does include xinit but doesn't include xauth? That seems a little
 odd to me. (The script in question verifies that it can find uname,
 xauth, and then xinit in that order.)

 Dave

From: Sad Clouds <cryintothebluesky@gmail.com>
To: gnats-bugs@netbsd.org
Cc: "David H. Gutteridge" <david@gutteridge.ca>, pkg-manager@netbsd.org,
 gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/56651: net/tigervnc needs x11/xauth as a dependency
Date: Wed, 23 Feb 2022 08:16:40 +0000

 On Wed, 23 Feb 2022 01:40:01 +0000 (UTC)
 "David H. Gutteridge" <david@gutteridge.ca> wrote:

 > The following reply was made to PR pkg/56651; it has been noted by GNATS.
 > 
 > From: "David H. Gutteridge" <david@gutteridge.ca>
 > To: Gnats Bugs <gnats-bugs@netbsd.org>
 > Cc: 
 > Subject: Re: pkg/56651: net/tigervnc needs x11/xauth as a dependency
 > Date: Tue, 22 Feb 2022 20:19:31 -0500
 > 
 >  > For tigervnc, package x11/xauth needs to be added as a dependency:
 >  > 
 >  > vncserver: couldn't find "xauth" on your PATH.
 >  
 >  If I understand you correctly, you have a base X environment installed
 >  that does include xinit but doesn't include xauth? That seems a little
 >  odd to me. (The script in question verifies that it can find uname,
 >  xauth, and then xinit in that order.)
 >  
 >  Dave
 >  

 This issue occurs on Solaris, there is no base X11. Pkgsrc is using
 modular Xorg packages as dependencies - meaning I didn't install Xorg
 to begin with, I did "bmake package" in net/tigervnc and let pkgsrc
 figure out all required dependencies. So x11/xauth was missing and
 looks like it needs to be added as an explicit dependency.

From: "David H. Gutteridge" <david@gutteridge.ca>
To: Sad Clouds <cryintothebluesky@gmail.com>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/56651: net/tigervnc needs x11/xauth as a dependency
Date: Wed, 23 Feb 2022 21:41:43 -0500

 On 2022-02-23 at 03:16, Sad Clouds wrote:
 > This issue occurs on Solaris, there is no base X11. Pkgsrc is using
 > modular Xorg packages as dependencies - meaning I didn't install Xorg
 > to begin with, I did "bmake package" in net/tigervnc and let pkgsrc
 > figure out all required dependencies. So x11/xauth was missing and
 > looks like it needs to be added as an explicit dependency.

 Well, there is a base X11 available for the version of Solaris you're
 using, so it wasn't clear if you had it installed or not. (Even on
 NetBSD, I mix between base and modular X components out of necessity,
 sometimes.)

 tigervnc also expects x11/xinit to be installed. It won't be pulled in
 by pkgsrc right now either. How did that package get installed on your
 machine? Or was it also not installed?

 This seems a bit like someone installing a window manager from pkgsrc,
 then finding that there is no xinit/startx available. That could happen
 too. If you want to run an X client on that machine, you'd also need an
 X server installed, and pkgsrc won't pull that in, either. It's kind of
 assumed that'll be there, either by using what's provided by the base
 OS, or by someone using the X.org meta package(s), depending on the
 choices they've made.

 Dave

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.