Bug 246468

Summary: emulators/open-vm-tools: fails to build after r535238
Product: Ports & Packages Reporter: Christian Ullrich <chris>
Component: Individual Port(s)Assignee: Jung-uk Kim <jkim>
Status: Closed FIXED    
Severity: Affects Some People CC: jpaetzel
Priority: --- Flags: jpaetzel: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
poudriere build log
none
open-vm-tools.diff none

Description Christian Ullrich 2020-05-14 18:41:27 UTC
Created attachment 214495 [details]
poudriere build log

After the update of emulators/open-vm-tools to 11.1.0 in r535238, the package phase of the poudriere build fails with both orphaned (staged, but not in plist) and missing (in plist, but not staged) files.

A non-poudriere "make package" fails likewise, the last output lines are:

    ===>  Building package for open-vm-tools-11.1.0,2
    pkg-static: Unable to access file /wrkdirs/usr/ports/emulators/open-vm-tools/work/stage/usr/local/share/vmware-tools/vm-support:No such file or directory
    pkg-static: Warning: @dirrm[try] is deprecated, please use @dir


The orphaned files seem to be new translation files, the missing file is the vm-support script that was moved from $PREFIX/share/vmware-tools to /usr/bin in the new upstream version.

files/patch-scripts_Makefile.am does not apply cleanly anymore.

The poudriere build log is attached.
Comment 1 Josh Paetzel freebsd_committer freebsd_triage 2020-05-15 01:58:26 UTC
Created attachment 214509 [details]
open-vm-tools.diff
Comment 2 Josh Paetzel freebsd_committer freebsd_triage 2020-05-15 01:59:16 UTC
This patch is approved.
Comment 3 commit-hook freebsd_committer freebsd_triage 2020-05-15 03:53:34 UTC
A commit references this bug:

Author: jkim
Date: Fri May 15 03:52:34 UTC 2020
New revision: 535263
URL: https://svnweb.freebsd.org/changeset/ports/535263

Log:
  - Install a script in ${PREFIX}/bin rather than /usr/bin.  Fix plist.
  - Add DOCS option for consistent build.  Documentation was automatically
  built when doxygen was found by the configure script.

  PR:		246468
  Approved by:	jpaetzel (maintainer)

Changes:
  head/emulators/open-vm-tools/Makefile
  head/emulators/open-vm-tools/files/patch-scripts_Makefile.am
  head/emulators/open-vm-tools/pkg-plist