NetBSD Problem Report #38671

From martin@duskware.de  Fri May 16 08:19:37 2008
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 41F9663B293
	for <gnats-bugs@gnats.netbsd.org>; Fri, 16 May 2008 08:19:37 +0000 (UTC)
Message-Id: <20080516045335.10E5E63B293@narn.NetBSD.org>
Date: Fri, 16 May 2008 04:53:35 +0000 (UTC)
From: dabittweiler@gmail.com
Reply-To: dabittweiler@gmail.com
To: netbsd-bugs-owner@NetBSD.org
Subject: /pkgsrc/graphics/MesaLib fails on Debian Etch 4.0r3
X-Send-Pr-Version: www-1.0

>Number:         38671
>Category:       pkg
>Synopsis:       /pkgsrc/graphics/MesaLib fails on Debian Etch 4.0r3
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 16 08:20:00 +0000 2008
>Closed-Date:    Sat May 17 18:59:00 +0000 2008
>Last-Modified:  Sat May 17 18:59:00 +0000 2008
>Originator:     Patrick Pippen
>Release:        N/A
>Organization:
>Environment:
Linux 2.6.18-6-686 #1 SMP Sun Feb 10 22:11 UTC 2008 i686 GNU/Linux
>Description:
while trying to install /usr/pkgsrc/x11/modular-xorg/server

=> Applying pkgsrc patches for MesaLib-7.0.3.2
/bin/cp /usr/pkgsrc/graphics/MesaLib/ ../MesaLib/files/configs/[a-z]* /usr/pkgsrc/graphics/MesaLib/work/Mesa-7.0.3/configs
/bin/cp: omitting diretory '/usr/pkgsrc/graphics/MesaLib/ ../Mesalib/files/configs/CVS'
*** Error Code 1

Stop.
bmake: stopped in /usr/pkgsrc/graphics/MesaLib



Debian GNU/Linux Etch 4.0
I tried placing USE_GLX=YES in /usr/pkg/etc/mk.conf but it stills tries to use Mesa.  Is there a workaround to get MesaLib to build in this enviroment?
>How-To-Repeat:
cd /usr/pkgsrc/graphics/MesaLib && bmake install clean clean-depends
>Fix:

>Release-Note:

>Audit-Trail:
From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/38671: /pkgsrc/graphics/MesaLib fails on Debian Etch 4.0r3
Date: Fri, 16 May 2008 15:13:42 +0200

 > => Applying pkgsrc patches for MesaLib-7.0.3.2
 > /bin/cp /usr/pkgsrc/graphics/MesaLib/ ../MesaLib/files/configs/[a-z]* /usr/pkgsrc/graphics/MesaLib/work/Mesa-7.0.3/configs
 > /bin/cp: omitting diretory '/usr/pkgsrc/graphics/MesaLib/ ../Mesalib/files/configs/CVS'
 > *** Error Code 1

 Do they really have bash configured with nocaseglob enabled by default?

 > I tried placing USE_GLX=YES in /usr/pkg/etc/mk.conf but it stills tries to use Mesa.  Is there a workaround to get MesaLib to build in this enviroment?

 MesaLib includes GLX if you use the dri option. Note that this is
 probably untested on Linux.

From: Tobias Nygren <tnn@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38671 CVS commit: pkgsrc/graphics/Mesa
Date: Sat, 17 May 2008 18:52:17 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	tnn
 Date:		Sat May 17 18:52:17 UTC 2008

 Modified Files:
 	pkgsrc/graphics/Mesa: Makefile.lib

 Log Message:
 Fix shell pattern so it doesn't try to copy the "CVS" directory when
 the shell is bash and nocaseglob is enabled (ugh, misfeature).
 PR pkg/38671.


 To generate a diff of this commit:
 cvs rdiff -r1.10 -r1.11 pkgsrc/graphics/Mesa/Makefile.lib

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed
State-Changed-By: tnn@NetBSD.org
State-Changed-When: Sat, 17 May 2008 18:59:00 +0000
State-Changed-Why:
Committed a workaround, thanks for the PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.