Subject: pkg/29022: missing match in dlopen.builtin.mk for NetBSD 2.0.1
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <sven.hartge@mni.fh-giessen.de>
List: pkgsrc-bugs
Date: 01/20/2005 12:34:00
>Number: 29022
>Category: pkg
>Synopsis: missing match in dlopen.builtin.mk for NetBSD 2.0.1
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 20 12:34:00 +0000 2005
>Originator: Charlie Root
>Release: NetBSD 2.0.1
>Organization:
DVZ FH Giessen
>Environment:
System: NetBSD mailgate-1.dvz.fh-giessen.de 2.0.1 NetBSD 2.0.1 (MAILGATE.20) #0: Tue Jan 18 16:07:04 CET 2005 root@mailgate-1.dvz.fh-giessen.de:/usr/obj/sys/arch/i386/compile.i386/MAILGATE.20 i386
Architecture: i386
Machine: i386
Packagesource Branch: pkgsrc-2004Q4
>Description:
This is related to PR #28800, where perl dumps core if using "use RRDs;"
in scripts.
After investigation I found, it could only be related to the NetBSD
version, which is used in mk/dlopen.builtin.mk to determine, if
native pthread-support is available or not.
After adding NetBSD-2.[0-9].[0-9]-* to the list of patterns,
perl is compiled with native pthread-support again.
Please note: This bug also effects packages like ethereal,
gtk2+, etc. thus the slightly elevated severity.
>How-To-Repeat:
Compile perl on NetBSD 2.0.1 and check for the nonexistance of the
pthread library with ldd. Try to use any perl-script using RRDs.
>Fix:
Something like the following should fix it. Please also apply to
pkgsrc-2004Q4.
Index: dlopen.builtin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/dlopen.builtin.mk,v
retrieving revision 1.7
diff -r1.7 dlopen.builtin.mk
39c39
< NetBSD-2.[0-9]-* NetBSD-2.[0-9]_*-* \
---
> NetBSD-2.[0-9]-* NetBSD-2.[0-9].[0-9]-* NetBSD-2.[0-9]_*-* \