Bug 159407 - [ERROR] cannot portupgrade java/netbeans
Summary: [ERROR] cannot portupgrade java/netbeans
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pietro Cerutti
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 07:40 UTC by Andrei Lavreniyuk
Modified: 2011-08-03 08:10 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Lavreniyuk 2011-08-03 07:40:09 UTC
# portupgrade netb\*
--->  Upgrading 'netbeans-7.0' to 'netbeans-7.0_1' (java/netbeans)
--->  Building '/usr/ports/java/netbeans'
===>  Cleaning for netbeans-7.0_1
===>  Vulnerability check disabled, database not found
===>  License check disabled, port has not defined LICENSE
===>  Extracting for netbeans-7.0_1
=> SHA256 Checksum OK for netbeans-7.0-201104080000-ml.zip.
===>   netbeans-7.0_1 depends on file: /usr/local/bin/unzip - found
===>  Patching for netbeans-7.0_1
===>  Applying FreeBSD patches for netbeans-7.0_1
===>  Configuring for netbeans-7.0_1
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'netbeans-7.0'
pkg_delete: '/usr/local/netbeans-7.0/etc/netbeans.conf' fails original MD5 checksum - deleted anyway.
pkg_delete: unable to completely remove directory '/usr/local/netbeans-7.0/profiler/lib/deployed/jdk16'
pkg_delete: unable to completely remove directory '/usr/local/netbeans-7.0/profiler/lib/deployed/jdk15'
pkg_delete: unable to completely remove directory '/usr/local/netbeans-7.0/profiler/lib/deployed'
pkg_delete: unable to completely remove directory '/usr/local/netbeans-7.0/profiler/lib'
pkg_delete: unable to completely remove directory '/usr/local/netbeans-7.0/profiler'
pkg_delete: unable to completely remove directory '/usr/local/netbeans-7.0'
pkg_delete: couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1153 packages found (-1 +0) (...) done]
--->  Installing the new version via the port
===>  Installing for netbeans-7.0_1
===>   netbeans-7.0_1 depends on file: /usr/local/jdk1.6.0/bin/java - found
===>   Generating temporary packing list
===>  Checking if java/netbeans already installed
chmod: /usr/local/netbeans-7.0/java/maven/bin/mv: No such file or directory
*** Error code 1

Stop in /usr/ports/java/netbeans.
*** Error code 1

Stop in /usr/ports/java/netbeans.
** Command failed [exit code 1]: /usr/bin/script -qa /var/tmp/portupgrade20110803-77227-ik6ngq-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=netbeans-7.0 UPGRADE_PORT_VER=7.0 make reinstall
--->  Restoring the old version
** Fix the installation problem and try again.
[Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 1154 packages found (-0 +1) . done]
** Listing the failed packages (-:ignored / *:skipped / !:failed)
        ! java/netbeans (netbeans-7.0)  (install error)

Fix: 

Fix /usr/ports/java/netbeans/Makefile

-@${CHMOD} ${BINMODE} ${DATADIR}/java/maven/bin/mv
+@${CHMOD} ${BINMODE} ${DATADIR}/java/maven/bin/mvn
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-08-03 07:40:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gahr

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-08-03 08:09:14 UTC
gahr        2011-08-03 07:09:01 UTC

  FreeBSD ports repository

  Modified files:
    java/netbeans        Makefile 
  Log:
  - fix typo that caused failure to install
  - bump portrevision
  
  PR:             159407
  Submitted by:   Andrei Lavreniyuk <andy.lavr@gmail.com>
  
  Revision  Changes    Path
  1.45      +2 -2      ports/java/netbeans/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Pietro Cerutti freebsd_committer freebsd_triage 2011-08-03 08:09:16 UTC
State Changed
From-To: open->closed

Committed. Thanks!