Subject: pkg/23003: Packages using Mesa have dependancies without version numbers
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jmmv@menta.net>
List: netbsd-bugs
Date: 09/29/2003 13:17:09
>Number:         23003
>Category:       pkg
>Synopsis:       Packages using Mesa have dependancies without version numbers
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 29 11:18:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Julio M. Merino Vidal
>Release:        NetBSD 1.6ZC
>Organization:
Julio M. Merino Vidal <jmmv@menta.net>
The NetBSD Project - http://www.NetBSD.org/
>Environment:
	
	
System: NetBSD dawn.local 1.6ZC NetBSD 1.6ZC (DAWN) #5: Sat Sep 20 23:07:25 CEST 2003 jmmv@dawn.local:/home/NetBSD/obj/home/NetBSD/src/sys/arch/i386/compile/DAWN i386
Architecture: i386
Machine: i386
>Description:
	Look at the following output:

	$ pkg_info xmms
	Requires:
	MesaLib>=
	MesaLib>=5.0.1
	glib>=1.2.10nb5
	glu>=
	glut>=
	gtk+>=1.2.10nb5
	libmikmod>=3.1.9
	libogg>=1.0.0.8
	libvorbis>=1.0.0.8
	libxml>=1.8.11

	MesaLib, glu and glut buildlink2.mk files are not registering the right
	version number as the dependancy.  They use the MESA_VERSION variable,
	which is only defined in a Makefile.common (which can't be included in
	a buildlink2.mk file).  Furthermore, there is the version.mk file in
	Mesa/ that defines a _MESA_VERSION variable, but which is not beeing
	used anywhere, AFAICT.

>How-To-Repeat:
	Install a program that uses MesaLib, like xmms, and see the list of
	dependancies registered.

>Fix:
	
>Release-Note:
>Audit-Trail:
>Unformatted: