Bug 211422 - devel/llvm-devel doesn't install without COMPILER_RT, assumes xray_interface.h built
Summary: devel/llvm-devel doesn't install without COMPILER_RT, assumes xray_interface....
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Brooks Davis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-28 13:31 UTC by Laurence 'GreenReaper' Parry
Modified: 2016-07-30 23:45 UTC (History)
0 users

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


Attachments
pkg-plist.patch (534 bytes, text/plain)
2016-07-28 13:31 UTC, Laurence 'GreenReaper' Parry
no flags Details
Install log (configure stage had scrolled off) (224.60 KB, text/plain)
2016-07-28 13:32 UTC, Laurence 'GreenReaper' Parry
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Laurence 'GreenReaper' Parry 2016-07-28 13:31:29 UTC
Created attachment 173068 [details]
pkg-plist.patch

llvm-devel attempts to install llvm-devel/include/xray/xray_interface.h but the directory llvm-devel/include/x-ray is not present without COMPILER_RT selected.

With options CLANG GOLD LL OPENMP, the port fails at the install phase.

X-Ray appears to be an optional component of COMPILER_RT:
https://reviews.llvm.org/file/data/sh2wif4g6bd7dyhvnxkh/PHID-FILE-3c7jthstv4ly5rjdmobd/D21612.diff

Attached is a patch for pkg-plist.
Comment 1 Laurence 'GreenReaper' Parry 2016-07-28 13:32:55 UTC
Created attachment 173069 [details]
Install log (configure stage had scrolled off)
Comment 2 commit-hook freebsd_committer 2016-07-30 23:43:08 UTC
A commit references this bug:

Author: brooks
Date: Sat Jul 30 23:42:49 UTC 2016
New revision: 419336
URL: https://svnweb.freebsd.org/changeset/ports/419336

Log:
  Fix a plist generation bug that broke the !COMPILER_RT case.

  PR:		211422
  Also reported by:	marino

Changes:
  head/devel/llvm-devel/Makefile
  head/devel/llvm-devel/pkg-plist
Comment 3 Brooks Davis freebsd_committer 2016-07-30 23:45:14 UTC
Thanks for the report.