Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Nov 2009 11:19:17 -0500
From:      "Stephane E. Potvin" <sepotvin@FreeBSD.org>
To:        ken <ken@tydfam.jp>
Cc:        freebsd-eclipse@freebsd.org
Subject:   Re: CFT: Eclipse Galileo 3.5
Message-ID:  <4AF2FB05.1050407@FreeBSD.org>
In-Reply-To: <20091105.232831.295937982770210237.ken@tydfam.jp>
References:  <4AF18F77.9030302@FreeBSD.org> <20091105.232831.295937982770210237.ken@tydfam.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ken wrote:
>   I got the following error @9.0-current/jdk1.6.0/amd64.
>   Do I need upgrade/downgrade any utilities? 
> 
> ---------------------------------------------------------
>    :                  :                  :
>    :                  :                  :
> build:
> 
> p2prep:
> 
> provision.sdk:
> 
> install:
>      [copy] Copying 1048 files to /usr/local/lib/eclipse
>      [copy] Copied 131 empty directories to 1 empty directory under /usr/local/lib/eclipse
> 
> BUILD SUCCESSFUL
> Total time: 2 seconds
> ===>   Registering installation for eclipse-3.5.0.I20090611.1540
> pkg_create: read_plist: unknown command '@dirrmtry /usr/local/share/eclipse/dropins' (package tools out of date?)
> pkg_create: write_plist: unknown command type -1 (/usr/local/share/eclipse/dropins)
> *** Error code 2
> 
> Stop in /usr/ports/java/eclipse.
> *** Error code 1
> 
> Stop in /usr/ports/java/eclipse.

No cookies for me, I should know better than add last minute changes and not test them.

Change the @dirrmtry line to this:

        @${ECHO_CMD} "@unexec rmdir %D/share/${PORTNAME}/dropins 2>/dev/null || true " >> ${TMPPLIST}
        @${ECHO_CMD} "@unexec rmdir %D/share/${PORTNAME} 2>/dev/null || true " >> ${TMPPLIST}

and it should fix your problem.

Thanks for the report!

Steph
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkry+wUACgkQmdOXtTCX/ntrlwCeI0uHdCyCfK7o+Bd+7+9zEidL
3+UAmgOpS1qD9pdhEW3U5tTdjrDbWrPo
=77nu
-----END PGP SIGNATURE-----




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AF2FB05.1050407>