NetBSD Problem Report #54365

From www@netbsd.org  Wed Jul 10 19:55:16 2019
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-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 4FFD77A162
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 10 Jul 2019 19:55:16 +0000 (UTC)
Message-Id: <20190710195515.775E57A1C2@mollari.NetBSD.org>
Date: Wed, 10 Jul 2019 19:55:15 +0000 (UTC)
From: dave@661.org
Reply-To: dave@661.org
To: gnats-bugs@NetBSD.org
Subject: Git seems to require X11 through a multitude of seemingly irrelevant dependencies
X-Send-Pr-Version: www-1.0

>Number:         54365
>Category:       pkg
>Synopsis:       Git seems to require X11 through a multitude of seemingly irrelevant dependencies
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jul 10 20:00:00 +0000 2019
>Closed-Date:    Thu Jan 14 12:37:16 +0000 2021
>Last-Modified:  Thu Jan 14 12:37:16 +0000 2021
>Originator:     David Griffith
>Release:        current
>Organization:
661.org
>Environment:
NetBSD beastie 7.2 NetBSD 7.2 (GENERIC.201808291900Z) sparc
>Description:
I installed NetBSD 7.2 for Sparc on an emulated Sparcstation 20 under QEMU. Then I went to install git.  This wound up installing what seems like a huge number of dependencies and then quit at this point:

===> Installing binary package of getopt-1.1.6
=> Returning to build of asciidoc-8.6.10nb1
=> Full dependency python27>=2.7.1nb2: NOT found
=> Verifying reinstall for ../../lang/python27
ERROR: This package has set PKG_FAIL_REASON:
ERROR: python27-2.7.16 uses X11, but /usr/X11R7 not found
*** Error code 1

>How-To-Repeat:
# cd /usr/pkgsrc/devel/git ; make install
>Fix:
Install X11?  Why should git require X11?

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: kamil@NetBSD.org
State-Changed-When: Thu, 11 Jul 2019 08:51:30 +0200
State-Changed-Why:
Not a bug.

For git without Tk X11 interfaces install git-base.
Python needs X11 for the sake of functional C interface being able to open X11 libs. This is install only dependency.


Responsible-Changed-From-To: port-sparc-maintainer->pkg-manager
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Thu, 11 Jul 2019 06:57:53 +0000
Responsible-Changed-Why:
refile in proper category (for posterity)


From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc/54365: Git seems to require X11 through a multitude
 of seemingly irrelevant dependencies
Date: Thu, 11 Jul 2019 06:58:56 +0000

 > Python needs X11 for the sake of functional C interface being able to open X11 libs. This is install only dependency.

 That's not true. X11BASE is always defined to some value, so the
 installation will work fine without X installed.

State-Changed-From-To: closed->open
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 11 Jul 2019 10:04:26 +0000
State-Changed-Why:



From: coypu@sdf.org
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sparc/54365 (Git seems to require X11 through a multitude
 of seemingly irrelevant dependencies)\
Date: Thu, 11 Jul 2019 10:11:24 +0000

 Add to /etc/mk.conf:
 PKG_DEFAULT_OPTIONS=-x11

State-Changed-From-To: open->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Thu, 14 Jan 2021 12:37:16 +0000
State-Changed-Why:
I believe as of gdt's change to devel/git on Jul 17, 2019 it no longer pulls
in the X11 interface. As already mentioned, there is also devel/git-base.


>Unformatted:

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.