pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/54183: (devel/rubymine) install directory should not honor PKG_REVISION



>Number:         54183
>Category:       pkg
>Synopsis:       (devel/rubymine) install directory should not honor PKG_REVISION
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 09 13:40:00 +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"

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index