NetBSD Problem Report #40735

From www@NetBSD.org  Tue Feb 24 13:16:11 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 495D663C1C2
	for <gnats-bugs@gnats.netbsd.org>; Tue, 24 Feb 2009 13:16:11 +0000 (UTC)
Message-Id: <20090224131611.1F48663C1C1@www.NetBSD.org>
Date: Tue, 24 Feb 2009 13:16:11 +0000 (UTC)
From: joern.clausen@uni-bielefeld.de
Reply-To: joern.clausen@uni-bielefeld.de
To: gnats-bugs@NetBSD.org
Subject: native vs. pkgsrc expat
X-Send-Pr-Version: www-1.0

>Number:         40735
>Category:       pkg
>Synopsis:       native vs. pkgsrc expat
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 24 13:20:00 +0000 2009
>Closed-Date:    Wed Jul 11 16:23:15 +0000 2018
>Last-Modified:  Wed Jul 11 16:23:15 +0000 2018
>Originator:     Jörn Clausen
>Release:        
>Organization:
University of Bielefeld
>Environment:
SunOS opensolaris 5.11 snv_101b i86pc i386 i86pc

>Description:
On OpenSolaris 11, expat seems to be considered a native package. When X11_TYPE is set to "modular" and PREFER_PKGSRC is defined (in the current case it contains "zlib"), the definition of PREFER_PKGSRC in mk/defaults/mk.conf (containing expat) is overridden. This causes devel/apr0 to fail:

checking for Expat in /usr... no
configure: error: Expat was not found (or recognized) in "/usr"

Installing textproc/expat manually or adding it to PREFER_PKGSRC solves this issue.

I am unsure, what the real problem is:

 - The pkgsrc guide allows to define PREFER_PKGSRC, but fails to mention that under certain conditions, it already contains some defaults. Maybe it should suggest a syntax that appends packages to a possibly already defined list.

 - textproc/expat/builtin.mk checks for the presence of a native expat, which then does not satisfy the requirements of devel/apr0. Maybe the test is not sufficient?
>How-To-Repeat:

>Fix:

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: bsiegert@NetBSD.org
Responsible-Changed-When: Sat, 07 Jul 2018 12:19:41 +0000
Responsible-Changed-Why:
Solaris issue
Please, can someone check if this is still occurring?


From: Joern Clausen <joern.clausen@uni-bielefeld.de>
To: gnats-bugs@NetBSD.org, solaris-pkg-people@NetBSD.org,
 pkg-manager@NetBSD.org, pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org,
 bsiegert@NetBSD.org
Cc: 
Subject: Re: pkg/40735 (native vs. pkgsrc expat)
Date: Mon, 09 Jul 2018 08:55:55 +0200

 The PR mentions OpenSolaris. I am pretty sure it's okay to close it.

 -- 
 Jörn Clausen
 Plattformen & Serverdienste
 BITS - Bielefelder IT-Servicezentrum

State-Changed-From-To: open->closed
State-Changed-By: bsiegert@NetBSD.org
State-Changed-When: Wed, 11 Jul 2018 16:23:15 +0000
State-Changed-Why:
OpenSolaris is dead.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.