NetBSD Problem Report #23834

Received: (qmail 1383 invoked by uid 605); 21 Dec 2003 23:26:52 -0000
Message-Id: <20031221232646.2393B33161@sulley.infnis.com>
Date: Sun, 21 Dec 2003 17:26:46 -0600 (CST)
From: Min Sik Kim <minskim@bawi.org>
Sender: gnats-bugs-owner@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: createbuildlink truncates file names when joining includes
X-Send-Pr-Version: 3.95

>Number:         23834
>Category:       pkg
>Synopsis:       createbuildlink truncates file names when joining includes
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 21 23:27:00 +0000 2003
>Closed-Date:    Mon Dec 22 01:18:16 +0000 2003
>Last-Modified:  Mon Dec 22 01:20:01 +0000 2003
>Originator:     Min Sik Kim
>Release:        NetBSD 1.6ZG
>Organization:
>Environment:
System: NetBSD sulley.infnis.com 1.6ZG NetBSD 1.6ZG (SULLEY) #1: Tue Dec 16 01:53:13 CST 2003 root@sulley.infnis.com:/usr/obj/sys/arch/i386/compile/SULLEY i386
Architecture: i386
Machine: i386
>Description:
createbuildlink prints only two characters of a filename extension for
header files.  For example, *.hpp becomes *.hp.

>How-To-Repeat:
>Fix:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/createbuildlink/Makefile,v
retrieving revision 1.19
diff -u -r1.19 Makefile
--- Makefile	2003/10/15 00:18:05	1.19
+++ Makefile	2003/12/21 23:16:05
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.19 2003/10/15 00:18:05 salo Exp $
 #

-DISTNAME=	createbuildlink-2.8
+DISTNAME=	createbuildlink-2.9
 WRKSRC=		${WRKDIR}
 CATEGORIES=	pkgtools sysutils
 MASTER_SITES=	# Nothing
Index: files/createbuildlink
===================================================================
RCS file: /cvsroot/pkgsrc/pkgtools/createbuildlink/files/createbuildlink,v
retrieving revision 1.15
diff -u -r1.15 createbuildlink
--- files/createbuildlink	2003/10/15 00:18:05	1.15
+++ files/createbuildlink	2003/12/21 23:16:06
@@ -140,7 +140,7 @@
 ##
 if [ "$join" = "YES" ]; then
 	for i in `egrep "^include/|/Headers/.*\.h" $PLIST \
-	| sed -e 's|[^/]*\.h\([Hhpx+]\)*$|*.h\1|' | sort | uniq`; do
+	| sed -e 's|[^/]*\.h\([Hhpx+]*\)$|*.h\1|' | sort | uniq`; do
 		echo "BUILDLINK_FILES.$PKGNOVER+=	$i"
 	done
 else
>Release-Note:
>Audit-Trail:

From: Masao Uebayashi <uebayasi@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23834 CVS commit: pkgsrc/pkgtools/createbuildlink
Date: Mon, 22 Dec 2003 01:15:50 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	uebayasi
 Date:		Mon Dec 22 01:15:50 UTC 2003

 Modified Files:
 	pkgsrc/pkgtools/createbuildlink: Makefile
 	pkgsrc/pkgtools/createbuildlink/files: createbuildlink

 Log Message:
 Don't drop header files those extensions are >2 characters, e.g., "*.hpp".
 Min Sik Kim in PR pkg/23834.

 While here, "sort | uniq" -> "sort -u" in 2 places.


 To generate a diff of this commit:
 cvs rdiff -r1.19 -r1.20 pkgsrc/pkgtools/createbuildlink/Makefile
 cvs rdiff -r1.15 -r1.16 pkgsrc/pkgtools/createbuildlink/files/createbuildlink

 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: uebayasi 
State-Changed-When: Mon Dec 22 01:16:30 UTC 2003 
State-Changed-Why:  
Applied.  Thanks for the sharp eyes. :-) 

From: Masao Uebayashi <uebayasi@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/23834 CVS commit: pkgsrc/doc
Date: Mon, 22 Dec 2003 01:19:17 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	uebayasi
 Date:		Mon Dec 22 01:19:17 UTC 2003

 Modified Files:
 	pkgsrc/doc: CHANGES

 Log Message:
 Note update of createbuildlink 2.9.

 Don't drop header files those extensions are >2 characters, e.g., "*.hpp".
 Min Sik Kim in PR pkg/23834.

 While here, "sort | uniq" -> "sort -u" in 2 places.


 To generate a diff of this commit:
 cvs rdiff -r1.4216 -r1.4217 pkgsrc/doc/CHANGES

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

>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.