NetBSD Problem Report #54183
From makoto@mx.ki.nu Thu May 9 13:37:12 2019
Return-Path: <makoto@mx.ki.nu>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 483107A158
for <gnats-bugs@gnats.NetBSD.org>; Thu, 9 May 2019 13:37:12 +0000 (UTC)
Message-Id: <201905091336.x49DaM8m014095@mx.ki.nu>
Date: Thu, 9 May 2019 22:36:22 +0900 (JST)
From: makoto@if.t.u-tokyo.ac.jp
Reply-To: makoto@if.t.u-tokyo.ac.jp
To: gnats-bugs@NetBSD.org
X-Send-Pr-Version: 3.95
>Number: 54183
>Category: pkg
>Synopsis: (devel/rubymine) install directory should not honor PKG_REVISION
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu May 09 13:40:00 +0000 2019
>Closed-Date: Thu May 09 14:43:31 +0000 2019
>Last-Modified: Thu May 09 15:15:02 +0000 2019
>Originator: Makoto Fujiwara
>Release: NetBSD 8.99.37
>Organization:
Univ. Tokyo
>Environment:
System: NetBSD CF-SX3 8.99.37 NetBSD 8.99.37 (GENERIC-no-SYNAPTICS) #0: Sat Apr 6 21:56:07 JST 2019 root@CF-SX3:/tmp/O/sys/arch/amd64/compile/GENERIC-no-SYNAPTICS amd64
Architecture: x86_64
Machine: amd64
>Description:
Install destination inconsistency if PKG_REVISION is set.
The part of error message looks as:
ERROR: The following files are in the PLIST but not in /export/WRKOBJDIR/devel/rubymine-bin/work/.destdir/usr/pkg:
ERROR: /export/WRKOBJDIR/devel/rubymine-bin/work/.destdir/usr/pkg/${PKGNAME_NOREV}/Install-Linux-tar.txt
.....
....
ERROR: ************************************************************
ERROR: The following files are in /export/WRKOBJDIR/devel/rubymine-bin/work/.destdir/usr/pkg but not in the PLIST:
ERROR: /export/WRKOBJDIR/devel/rubymine-bin/work/.destdir/usr/pkg/rubymine-bin-2018.3.5nb1/Install-Linux-tar.txt
>How-To-Repeat:
cd /usr/pkgsrc/devel/rubymine-bin;
make clean && make package
>Fix:
Index: devel/rubymine-bin/Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/devel/rubymine-bin/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- devel/rubymine-bin/Makefile 25 Apr 2019 07:32:50 -0000 1.2
+++ devel/rubymine-bin/Makefile 9 May 2019 13:32:32 -0000
@@ -48,7 +48,7 @@
${SED} -e "s|@@IDEA_HOME@@|${PREFIX}/${PKGNAME}|g" \
${FILESDIR}/rubymine.desktop > \
${DESTDIR}${PREFIX}/share/applications/rubymine.desktop && \
- pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME}
+ pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}
.include "../../lang/python/application.mk"
.include "../../mk/java-vm.mk"
>Release-Note:
>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc:
Subject: Re: pkg/54183: (devel/rubymine) install directory should not honor
PKG_REVISION
Date: Thu, 9 May 2019 15:50:23 +0200
Looks good, please commit!
Thomas
From: Leonardo Taccari <leot@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/54183: (devel/rubymine) install directory should not honor PKG_REVISION
Date: Thu, 09 May 2019 15:50:35 +0200
Hello Makoto,
makoto@if.t.u-tokyo.ac.jp writes:
> [...]
> Index: devel/rubymine-bin/Makefile
> ===================================================================
> RCS file: /cvsroot/pkgsrc/devel/rubymine-bin/Makefile,v
> retrieving revision 1.2
> diff -u -r1.2 Makefile
> --- devel/rubymine-bin/Makefile 25 Apr 2019 07:32:50 -0000 1.2
> +++ devel/rubymine-bin/Makefile 9 May 2019 13:32:32 -0000
> @@ -48,7 +48,7 @@
> ${SED} -e "s|@@IDEA_HOME@@|${PREFIX}/${PKGNAME}|g" \
Doesn't that ${PKGNAME} occurency should be replaced as well?
> ${FILESDIR}/rubymine.desktop > \
> ${DESTDIR}${PREFIX}/share/applications/rubymine.desktop && \
> - pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME}
> + pax -rw -pm * ${DESTDIR}${PREFIX}/${PKGNAME_NOREV}
>
> .include "../../lang/python/application.mk"
> .include "../../mk/java-vm.mk"
> [...]
Apart possibly addressing the other ${PKGNAME} occurency that
substitute @@IDEA_HOME@@ if needed... looks good, please commit!
Thank you!
State-Changed-From-To: open->closed
State-Changed-By: mef@NetBSD.org
State-Changed-When: Thu, 09 May 2019 14:43:31 +0000
State-Changed-Why:
PR committed, thanks wiz@ and leot@ for review
From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54183 CVS commit: pkgsrc/devel/rubymine-bin
Date: Thu, 9 May 2019 14:41:13 +0000
Module Name: pkgsrc
Committed By: mef
Date: Thu May 9 14:41:13 UTC 2019
Modified Files:
pkgsrc/devel/rubymine-bin: Makefile
Log Message:
Fix install directory issue PR pkg/54183, thanks wiz@ and leot@ for review
Install destination inconsistency if PKG_REVISION is set.
The part of error message looks as:
ERROR: The following files are in the PLIST but not in /W/devel/rubymine-bin/work/.destdir/usr/pkg:
ERROR: /W/devel/rubymine-bin/work/.destdir/usr/pkg/${PKGNAME_NOREV}/Install-Linux-tar.txt
.....
....
ERROR: ************************************************************
ERROR: The following files are in /W/devel/rubymine-bin/work/.destdir/usr/pkg but not in the PLIST:
ERROR: /W/devel/rubymine-bin/work/.destdir/usr/pkg/rubymine-bin-2018.3.5nb1/Install-Linux-tar.txt
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/rubymine-bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54183 CVS commit: pkgsrc/devel/clion-bin
Date: Thu, 9 May 2019 15:03:10 +0000
Module Name: pkgsrc
Committed By: mef
Date: Thu May 9 15:03:10 UTC 2019
Modified Files:
pkgsrc/devel/clion-bin: Makefile
Log Message:
(devel/clion-bin) PR pkg/54183 problem is also here
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/clion-bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54183 CVS commit: pkgsrc/devel/intellij-ue-bin
Date: Thu, 9 May 2019 15:12:02 +0000
Module Name: pkgsrc
Committed By: mef
Date: Thu May 9 15:12:02 UTC 2019
Modified Files:
pkgsrc/devel/intellij-ue-bin: Makefile
Log Message:
(devel/intellij-ue-bin) PR pkg/54183 problem is also here
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/intellij-ue-bin/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/54183 CVS commit: pkgsrc/devel/phpstorm-bin
Date: Thu, 9 May 2019 15:13:15 +0000
Module Name: pkgsrc
Committed By: mef
Date: Thu May 9 15:13:15 UTC 2019
Modified Files:
pkgsrc/devel/phpstorm-bin: Makefile
Log Message:
(devel/phpstorm-bin) PR pkg/54183 problem is also here
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/phpstorm-bin/Makefile
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.