Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Dec 2003 15:27:27 +0200
From:      Kostyuk Oleg <cub@cub.org.ua>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        freebsd-ports@FreeBSD.org
Subject:   ports/60589: PORTS [editors/vim-lite] : upgrade vim-lite-6.2.139 to vim-lite-6.2.154 failed
Message-ID:  <E1AZrzz-000KeP-AQ@cub.org.ua>
Resent-Message-ID: <200312261330.hBQDUFtQ097176@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         60589
>Category:       ports
>Synopsis:       PORTS [editors/vim-lite] : upgrade vim-lite-6.2.139 to vim-lite-6.2.154 failed
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 26 05:30:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kostyuk Oleg
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
>Environment:
System: FreeBSD demani.digma 5.1-CURRENT FreeBSD 5.1-CURRENT #6: Mon Nov 10 15:32:03 EET 2003 root@demani.digma:/var/.0/usr/obj/usr/src/sys/CUB i386

	# sysctl kern.osreldate 
	kern.osreldate: 501113

>Description:
	Upgrading vim-lite failed :

	# portupgrade vim-lite-6.2.139
	--->  Upgrading 'vim-lite-6.2.139' to 'vim-lite-6.2.154' (editors/vim-lite)
	--->  Building '/usr/ports/editors/vim-lite' with make flags: NO_GUI=yes WITH_PYTHON=yes WITH_PERL=yes WITH_RUBY=yes
	===>  Cleaning for libiconv-1.9.1_3
	
	......... tonns of compiling ........

	cd ../runtime/compiler; cp *.vim README.txt /usr/local/share/vim/vim62/compiler
	cd /usr/local/share/vim/vim62/compiler; chmod 644 *.vim README.txt
	#cd /usr/local/bin; ln -sf vim ex
	#cd /usr/local/bin; ln -sf vim view
	cd /usr/local/bin; ln -sf vim rvim
	cd /usr/local/bin; ln -sf vim rview
	cd /usr/local/bin; ln -sf vim vimdiff
	#cd /usr/local/man/man1; ln -sf vim.1 ex.1
	#cd /usr/local/man/man1; ln -sf vim.1 view.1
	/bin/sh ./mkinstalldirs /usr/local/share/vim/vim62/macros
	mkdir /usr/local/share/vim/vim62/macros
	chmod 755 /usr/local/share/vim/vim62/macros
	cp -r ../runtime/macros/* /usr/local/share/vim/vim62/macros
	cp: ../runtime/macros/maze/mazeclean.c.orig: Invalid argument
	cp: ../runtime/macros/maze/main.aap.orig: Invalid argument
	*** Error code 1

	Stop in /var/.0/tmp/mnt/digma0/ports/editors/vim-lite/work/vim62/src.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim-lite.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim-lite.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade55441.0 make NO_GUI=yes WITH_PYTHON=yes WITH_PERL=yes WITH_RUBY=yes reinstall
	egrep: /var/db/pkg/vim-lite-6.2.139/+CONTENTS: No such file or directory
	--->  Restoring the old version
	** Fix the installation problem and try again.
	
>How-To-Repeat:
	cvsup's ports, and try upgrade vim-lite

>Fix:
	Unknown. :(
	
	But, as first,  in `man cp' option '-r' marked as deprecated, but '-R' present.
	I try change Makefile to use '-R' - it's not help.

	After change in /var/.0/tmp/mnt/digma0/ports/editors/vim-lite/work/vim62/src/Makefile
	(line 925)  from 
		INSTALL_DATA_R  = cp -r
	to
		INSTALL_DATA_R  = cp -R
	I get :

	# portupgrade -wW vim-lite-6.2.139
	...................................
	mkdir /usr/local/share/vim/vim62/macros
	chmod 755 /usr/local/share/vim/vim62/macros
	cp -R ../runtime/macros/* /usr/local/share/vim/vim62/macros
	cp: ../runtime/macros/maze/mazeclean.c.orig: Invalid argument
	cp: ../runtime/macros/maze/main.aap.orig: Invalid argument
	*** Error code 1

	Stop in /var/.0/tmp/mnt/digma0/ports/editors/vim-lite/work/vim62/src.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim-lite.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim-lite.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade62242.0 make NO_GUI=yes WITH_PYTHON=yes WITH_PERL=yes WITH_RUBY=yes reinstall
	egrep: /var/db/pkg/vim-lite-6.2.139/+CONTENTS: No such file or directory
	--->  Restoring the old version
	** Fix the installation problem and try again.
	[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 197 packages found (-0 +1) . done]
	** The following packages were not installed or upgraded (*:skipped / !:failed)
	        ! editors/vim-lite (vim-lite-6.2.139)   (install error)
	
			

	As second, I try change from
		INSTALL_DATA_R  = cp -r 
	to
		INSTALL_DATA_R  = install -C -d
	I get :

	# portupgrade -wW vim-lite-6.2.139
	...................................
	#cd /usr/local/man/man1; ln -sf vim.1 ex.1
	#cd /usr/local/man/man1; ln -sf vim.1 view.1
	/bin/sh ./mkinstalldirs /usr/local/share/vim/vim62/macros
	mkdir /usr/local/share/vim/vim62/macros
	chmod 755 /usr/local/share/vim/vim62/macros
	install -C -d ../runtime/macros/* /usr/local/share/vim/vim62/macros
	install: ../runtime/macros/README.txt exists but is not a directory
	*** Error code 71

	Stop in /var/.0/tmp/mnt/digma0/ports/editors/vim-lite/work/vim62/src.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim-lite.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim-lite.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade63428.0 make NO_GUI=yes WITH_PYTHON=yes WITH_PERL=yes WITH_RUBY=yes reinstall
	egrep: /var/db/pkg/vim-lite-6.2.139/+CONTENTS: No such file or directory
	--->  Restoring the old version
	** Fix the installation problem and try again.
	[Updating the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 197 packages found (-0 +1) . done]
	** The following packages were not installed or upgraded (*:skipped / !:failed)
	        ! editors/vim-lite (vim-lite-6.2.139)   (install error)



	Then, I make package from installed vim (for backup),
	and try	delete vim and then make and install vim without portupgrade :

	# pkg_deinstall vim-lite-6.2.139
	# cd /usr/ports/editors/vim
	# make clean
	# make NO_GUI=yes WITH_PERL=yes install
	...................................
	cd /usr/local/bin; ln -sf vim rview
	cd /usr/local/bin; ln -sf vim vimdiff
	#cd /usr/local/man/man1; ln -sf vim.1 ex.1
	#cd /usr/local/man/man1; ln -sf vim.1 view.1
	/bin/sh ./mkinstalldirs /usr/local/share/vim/vim62/macros
	mkdir /usr/local/share/vim/vim62/macros
	chmod 755 /usr/local/share/vim/vim62/macros
	cp -r ../runtime/macros/* /usr/local/share/vim/vim62/macros
	cp: ../runtime/macros/maze/mazeclean.c.orig: Invalid argument
	cp: ../runtime/macros/maze/main.aap.orig: Invalid argument
	*** Error code 1

	Stop in /var/.0/tmp/mnt/digma0/ports/editors/vim/work/vim62/src.
	*** Error code 1

	Stop in /mnt/digma0/ports/editors/vim.
	


	Important note !
	1) ports cvsuped daily, so ports always fresh
	2) on 4.8-R vim has been portupgrade'd smoothly & cleanly


	PS : sorry for my English :)

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1AZrzz-000KeP-AQ>