Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Oct 2008 13:34:58 -0500
From:      "Scot Hetzel" <swhetzel@gmail.com>
To:        "Cligny, Laurent" <Laurent.Cligny@isobox.fr>
Cc:        ports@freebsd.org, mbr@freebsd.org
Subject:   Re: FreeBSD Port: open-vm-tools-nox11-102166_4
Message-ID:  <790a9fff0810071134ked79351o22f2dd9f87d64ee2@mail.gmail.com>
In-Reply-To: <FC13A09E7450B94D9173796D5E01BE75880FAF@ban204.SBRA.GRP.LOCAL>
References:  <FC13A09E7450B94D9173796D5E01BE75880FAF@ban204.SBRA.GRP.LOCAL>

next in thread | previous in thread | raw e-mail | index | archive | help
------=_Part_33495_33461311.1223404498353
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 10/7/08, Cligny, Laurent <Laurent.Cligny@isobox.fr> wrote:
> Hello,
>
>  I want to use open-vm-tools-nox11 on a 7.0-RELEASE box without using the
>  port tree on it.
>  So I wanted to build a package for this port on another 7.0-RELEASE
>  machine, wiche have the port tree installed and up-to-date.
>
>  But, here's what's happening with either "pkgcreate -p" or "make
>  package":
>
>
>  # make package
>  ===>  Building package for open-vm-tools-nox11-102166_4
>  Creating package
>  /usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz
>  Registering depends: icu-3.8.1_1 libdnet-1.11_2.
>  Registering conflicts: open-vm-tools-[0-9]* vmware-guestd[0-9]*
>  vmware-tools[0-9]*.
>  Creating bzip'd tar ball in
>  '/usr/ports/packages/All/open-vm-tools-nox11-102166_4.tbz'
>  tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmblock.ko: Cannot stat:
>  No such file or directory
>  tar: %%NOTON5%%lib/vmware-tools/modules/drivers/vmhgfs.ko: Cannot stat:
>  No such file or directory
>  tar: %%NOTON5%%sbin/mount_vmhgfs: Cannot stat: No such file or directory
>  tar: Error exit delayed from previous errors.
>  pkg_create: make_dist: tar command failed with code 256
>  *** Error code 1
>
>  Stop in /usr/ports/emulators/open-vm-tools-nox11.
>
The ports Makefile is using missing a PLIST_SUB+= NOTON5="", and is
incorrectly defining SUB_LIST.  This has the side effect of not being
able to package these files.

Attached is an untested patch to the Makefile.  To apply it:

cd /usr/ports/emulator/open-vm-tools
patch < /path/to/open-vm-tools.patch

Then reinstall the port and create the package.

If this patch works, then use send-pr to submit this change for this port.

Scot

------=_Part_33495_33461311.1223404498353
Content-Type: text/x-diff; name=open-vm-tools.patch
Content-Transfer-Encoding: base64
X-Attachment-Id: f_fm0v6wue
Content-Disposition: attachment; filename=open-vm-tools.patch

SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9ob21lL25jdnMvcG9ydHMvZW11
bGF0b3JzL29wZW4tdm0tdG9vbHMvTWFrZWZpbGUsdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMTQK
ZGlmZiAtdSAtcjEuMTQgTWFrZWZpbGUKLS0tIE1ha2VmaWxlCTI5IFNlcCAyMDA4IDE5OjE3OjE1
IC0wMDAwCTEuMTQKKysrIE1ha2VmaWxlCTcgT2N0IDIwMDggMTg6MjU6NTkgLTAwMDAKQEAgLTU2
LDkgKzU2LDExIEBACiAuaW5jbHVkZSA8YnNkLnBvcnQucHJlLm1rPgogCiAuaWYgJHtPU1ZFUlNJ
T059IDwgNjAwMDAwCi1TVUJfTElTVCs9CU5PVE9ONT0iQGNvbW1lbnQgIgorU1VCX0xJU1QrPQlO
T1RPTjU9IiMiCitQTElTVF9TVUIrPQlAY29tbWVudCAiCiAuZWxzZQogU1VCX0xJU1QrPQlOT1RP
TjU9IiIKK1BMSVNUX1NVQis9CU5PVE9ONT0iIgogLmVuZGlmCiAKIHBvc3QtcGF0Y2g6Cg==
------=_Part_33495_33461311.1223404498353--



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