Bug 204146

Summary: [patch] devel/llvm37 : fails to package when EXTRAS option off
Product: Ports & Packages Reporter: John Marino <marino>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Only Me Keywords: patch
Priority: --- Flags: bugzilla: maintainer-feedback? (brooks)
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
fix plist when EXTRAS option is not set. none

Description John Marino freebsd_committer 2015-10-30 14:27:23 UTC
Created attachment 162600 [details]
fix plist when EXTRAS option is not set.

When EXTRAS option of devel/llvm37 is off, the port fails to package:

===========================================================================
=======================<phase: package        >============================
===>  Building package for llvm37-3.7.0_4
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/bin/clang-tidy37: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/bin/clang-tidy: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/lib/libclangApplyReplacements.so: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/lib/libclangApplyReplacements.so.3.7.0: No such file or directory
pkg-static: Unable to access file /wrkdirs/devel/llvm37/work/stage/usr/local/llvm37/lib/libclangApplyReplacements.so.3.7: No such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/llvm37
=> Cleaning up wrkdir
===>  Cleaning for llvm37-3.7.0_4
build of devel/llvm37 ended at Fri Oct 30 04:09:52 PDT 2015
build time: 00:48:45
!!! build failure encountered !!!


The attached patch adjusts the pkg-plist so this configuration builds correctly.
Comment 1 commit-hook freebsd_committer 2015-11-02 17:40:09 UTC
A commit references this bug:

Author: brooks
Date: Mon Nov  2 17:40:01 UTC 2015
New revision: 400665
URL: https://svnweb.freebsd.org/changeset/ports/400665

Log:
  Fix a bug in the plist generator that miscatagorized a some EXTRAS files
  as CLANG files.

  PR:		204146
  Submitted by:	marino

Changes:
  head/devel/llvm37/Makefile
  head/devel/llvm37/pkg-plist
Comment 2 Brooks Davis freebsd_committer 2015-11-02 17:40:37 UTC
Fixed the underlying missing | character.  Thanks!