Bug 204146 - [patch] devel/llvm37 : fails to package when EXTRAS option off
Summary: [patch] devel/llvm37 : fails to package when EXTRAS option off
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Brooks Davis
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2015-10-30 14:27 UTC by John Marino
Modified: 2015-11-02 17:40 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (brooks)


Attachments
fix plist when EXTRAS option is not set. (1.24 KB, patch)
2015-10-30 14:27 UTC, John Marino
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description John Marino freebsd_committer freebsd_triage 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 freebsd_triage 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 freebsd_triage 2015-11-02 17:40:37 UTC
Fixed the underlying missing | character.  Thanks!