NetBSD Problem Report #34920
From www@NetBSD.org Thu Oct 26 07:37:43 2006
Return-Path: <www@NetBSD.org>
Received: by narn.NetBSD.org (Postfix, from userid 31301)
id 4D64A63BA73; Thu, 26 Oct 2006 07:37:43 +0000 (UTC)
Message-Id: <20061026073743.4D64A63BA73@narn.NetBSD.org>
Date: Thu, 26 Oct 2006 07:37:43 +0000 (UTC)
From: kochi@NetBSD.org
Reply-To: kochi@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: variables in DESCR is not interpolated
X-Send-Pr-Version: www-1.0
>Number: 34920
>Category: pkg
>Synopsis: variables in DESCR is not interpolated
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: taca
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Oct 26 07:40:00 +0000 2006
>Closed-Date: Sun Oct 29 02:58:27 +0000 2006
>Last-Modified: Sun Nov 05 19:20:01 +0000 2006
>Originator: Takayoshi Kochi
>Release: 3.1_RC4
>Organization:
>Environment:
NetBSD 3.1_RC4
>Description:
When I type "pkg_info ruby18-base", the following is printed:
...
This package is Ruby ${RUBY_VER} based release.
...
It seems that the $RUBY_VER variable is not interpolated
when the package was built.
>How-To-Repeat:
make the ruby18-base package and see output of pkg_info.
>Fix:
N/A
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->taca
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Fri, 27 Oct 2006 23:29:34 +0000
Responsible-Changed-Why:
Over to maintainer.
From: Thomas Klausner <wiz@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/34920: variables in DESCR is not interpolated
Date: Sat, 28 Oct 2006 09:03:35 +0200
On Thu, Oct 26, 2006 at 07:40:01AM +0000, kochi@NetBSD.org wrote:
> >Synopsis: variables in DESCR is not interpolated
DESCR should not contain any variables. It is used as-is
for generating the web pages.
Thomas
From: Takahiro Kambe <taca@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34920 CVS commit: pkgsrc/lang/ruby18-base
Date: Sun, 29 Oct 2006 02:45:42 +0000 (UTC)
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 29 02:45:42 UTC 2006
Modified Files:
pkgsrc/lang/ruby18-base: DESCR Makefile distinfo
pkgsrc/lang/ruby18-base/patches: patch-aa patch-ab
Log Message:
Adding some fixes:
(1) Don't use make's varibalbe in DESCR; fixes PR pkg/34920.
(2) Use --enable-wide-getaddrinfo on not only Linux but Solaris.
(3) Make sure to link libruby.so with proper -R linker option.
Thanks for Dan McMahill who reported and suggested fix to (2) and (3)
with private mail. And thanks for Takayoshi Kochi who reports PR pkg/34920.
Bump PKGREVISION.
To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/lang/ruby18-base/DESCR
cvs rdiff -r1.26 -r1.27 pkgsrc/lang/ruby18-base/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/lang/ruby18-base/distinfo
cvs rdiff -r1.6 -r1.7 pkgsrc/lang/ruby18-base/patches/patch-aa \
pkgsrc/lang/ruby18-base/patches/patch-ab
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: taca@netbsd.org
State-Changed-When: Sun, 29 Oct 2006 02:58:27 +0000
State-Changed-Why:
Fixted by ${RUBY_VER} with 1.8. Thanks for your problem report.
From: "Takayoshi Kochi" <takayoshi.kochi@gmail.com>
To: gnats-bugs@netbsd.org
Cc: taca@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/34920: variables in DESCR is not interpolated
Date: Mon, 30 Oct 2006 16:01:28 +0900
Hi,
> On Thu, Oct 26, 2006 at 07:40:01AM +0000, kochi@NetBSD.org wrote:
> > >Synopsis: variables in DESCR is not interpolated
>
> DESCR should not contain any variables. It is used as-is
> for generating the web pages.
> Thomas
Thomas, thanks for pointing out.
Kambe-san, thanks for fixing ruby18-base.
However, we have more instances in the tree that uses variables in DESCR.
A quick grep found the following packages:
converters/enriched2html
devel/bcc
editors/xcoral
lang/f2c
lang/ruby18
misc/libutf
pkgtools/x11-links
pkgtools/xpkgwedge
print/apsfilter
print/ja-vflib-lib
print/tex-musixtex
security/uvscan
sysutils/safetynet
textprox/ezxml
www/SpeedyCGI
www/lhs
Even one of them is owned by Kambe-san!
Should I file PRs for each package? ;)
Maybe we should have a check in the pkglint script.
--
Takayoshi Kochi
From: Takahiro Kambe <taca@back-street.net>
To: takayoshi.kochi@gmail.com
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/34920: variables in DESCR is not interpolated
Date: Mon, 30 Oct 2006 16:08:46 +0900 (JST)
In message <43c301fe0610292301n3a6f4e86j1f9ed47e10b5bffc@mail.gmail.com>
on Mon, 30 Oct 2006 16:01:28 +0900,
"Takayoshi Kochi" <takayoshi.kochi@gmail.com> wrote:
> > DESCR should not contain any variables. It is used as-is
> > for generating the web pages.
> > Thomas
>
> Thomas, thanks for pointing out.
> Kambe-san, thanks for fixing ruby18-base.
>
> However, we have more instances in the tree that uses variables in DESCR.
> A quick grep found the following packages:
I wished to check them but had no time.
...
> lang/ruby18
...
> Even one of them is owned by Kambe-san!
Oops, I've just fixed it.
--
Takahiro Kambe <taca@back-street.net>
From: Roland Illig <rillig@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34920 CVS commit: pkgsrc/pkgtools/pkglint/files
Date: Mon, 30 Oct 2006 22:27:07 +0000 (UTC)
Module Name: pkgsrc
Committed By: rillig
Date: Mon Oct 30 22:27:07 UTC 2006
Modified Files:
pkgsrc/pkgtools/pkglint/files: pkglint.pl
Log Message:
Added a warning that ${VARIABLES} in the DESCR file are not expanded.
(Requested in PR 34920.)
The warning about uncommitted patch files only appears when the distinfo
file is already committed.
To generate a diff of this commit:
cvs rdiff -r1.683 -r1.684 pkgsrc/pkgtools/pkglint/files/pkglint.pl
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Lubomir Sedlacik <salo@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/34920 CVS commit: [pkgsrc-2006Q3] pkgsrc/lang
Date: Sun, 5 Nov 2006 19:17:54 +0000 (UTC)
Module Name: pkgsrc
Committed By: salo
Date: Sun Nov 5 19:17:54 UTC 2006
Modified Files:
pkgsrc/lang/ruby18 [pkgsrc-2006Q3]: DESCR
pkgsrc/lang/ruby18-base [pkgsrc-2006Q3]: DESCR Makefile distinfo
pkgsrc/lang/ruby18-base/patches [pkgsrc-2006Q3]: patch-aa patch-ab
Log Message:
Pullup ticket 1901 - requested by taca
portability fixes for ruby18
Revisions pulled up:
- pkgsrc/lang/ruby18-base/DESCR 1.2
- pkgsrc/lang/ruby18-base/Makefile 1.27
- pkgsrc/lang/ruby18-base/distinfo 1.15
- pkgsrc/lang/ruby18-base/patches/patch-aa 1.7
- pkgsrc/lang/ruby18-base/patches/patch-ab 1.7
- pkgsrc/lang/ruby18/DESCR 1.6
Module Name: pkgsrc
Committed By: taca
Date: Sun Oct 29 02:45:42 UTC 2006
Modified Files:
pkgsrc/lang/ruby18-base: DESCR Makefile distinfo
pkgsrc/lang/ruby18-base/patches: patch-aa patch-ab
Log Message:
Adding some fixes:
(1) Don't use make's varibalbe in DESCR; fixes PR pkg/34920.
(2) Use --enable-wide-getaddrinfo on not only Linux but Solaris.
(3) Make sure to link libruby.so with proper -R linker option.
Thanks for Dan McMahill who reported and suggested fix to (2) and (3)
with private mail. And thanks for Takayoshi Kochi who reports PR pkg/34920.
Bump PKGREVISION.
---
Module Name: pkgsrc
Committed By: taca
Date: Mon Oct 30 07:06:49 UTC 2006
Modified Files:
pkgsrc/lang/ruby18: DESCR
Log Message:
s/${RUBY_VERSION}/1.8.5/.
Noted by Takayoshi Kochi in connection with ruby18-base's PR.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.2.1 pkgsrc/lang/ruby18/DESCR
cvs rdiff -r1.1.1.1 -r1.1.1.1.14.1 pkgsrc/lang/ruby18-base/DESCR
cvs rdiff -r1.26 -r1.26.2.1 pkgsrc/lang/ruby18-base/Makefile
cvs rdiff -r1.14 -r1.14.2.1 pkgsrc/lang/ruby18-base/distinfo
cvs rdiff -r1.6 -r1.6.2.1 pkgsrc/lang/ruby18-base/patches/patch-aa \
pkgsrc/lang/ruby18-base/patches/patch-ab
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(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.