From owner-freebsd-ports@FreeBSD.ORG Fri Dec 26 05:27:50 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5807C16A4CE; Fri, 26 Dec 2003 05:27:50 -0800 (PST) Received: from shop.digma.com.ua (shop.digma.com.ua [217.12.194.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6454E43D1F; Fri, 26 Dec 2003 05:27:41 -0800 (PST) (envelope-from cub@cub.org.ua) Received: from cub.org.ua (demani.digma [172.22.5.7]) by shop.digma.com.ua (8.12.6p2/8.12.6) with ESMTP id hBQDRWba006517; Fri, 26 Dec 2003 15:27:32 +0200 (EET) (envelope-from cub@cub.org.ua) Received: from cub by cub.org.ua with local (Exim 4.22) id 1AZrzz-000KeP-AQ; Fri, 26 Dec 2003 15:27:27 +0200 To: FreeBSD-gnats-submit@freebsd.org From: Kostyuk Oleg X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Sender: Kostyuk Oleg Date: Fri, 26 Dec 2003 15:27:27 +0200 X-spamscan: scanned by cub.org.ua X-spamscan: Total score 0 cc: freebsd-ports@FreeBSD.org Subject: PORTS [editors/vim-lite] : upgrade vim-lite-6.2.139 to vim-lite-6.2.154 failed X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Kostyuk Oleg List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Dec 2003 13:27:50 -0000 >Submitter-Id: current-users >Originator: Kostyuk Oleg >Organization: >Confidential: no >Synopsis: PORTS [editors/vim-lite] : upgrade vim-lite-6.2.139 to vim-lite-6.2.154 failed >Severity: serious >Priority: medium >Category: ports >Class: sw-bug >Release: FreeBSD 5.1-CURRENT i386 >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 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 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 :)