Bug 216786

Summary: devel/llvm40: libclangChangeNamespace/Move/ReorderFields need to be packaged for extras, not clang
Product: Ports & Packages Reporter: Laurence 'GreenReaper' Parry <greenreaper>
Component: Individual Port(s)Assignee: Brooks Davis <brooks>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (brooks)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
Install log for llvm40-4.0.0.r1 with only CLANG GOLD OPENMP none

Description Laurence 'GreenReaper' Parry 2017-02-04 17:43:29 UTC
Created attachment 179604 [details]
Install log for llvm40-4.0.0.r1 with only CLANG GOLD OPENMP

I selected CLANG GOLD OPENNMP in config for llvm40-4.0.0.r1 and used portinstall to build and install the port.

The port fails to install due to the following errors:
pkg-static: Unable to access file /tmp/usr/ports/devel/llvm40/work/stage/usr/local/llvm40/lib/libclangChangeNamespace.a: No such file or directory
pkg-static: Unable to access file /tmp/usr/ports/devel/llvm40/work/stage/usr/local/llvm40/lib/libclangMove.a: No such file or directory
pkg-static: Unable to access file /tmp/usr/ports/devel/llvm40/work/stage/usr/local/llvm40/lib/libclangReorderFields.a: No such file or directory

Commenting these files out in the temporary makelists allowed a manual install. 

A search reveals that these files are currently part of the extra libraries, and so should have the %%EXTRAS%% prefix rather than the %%CLANG%% prefix in pkg-list.

A full install log is attached.
Comment 1 commit-hook freebsd_committer 2017-02-08 21:25:41 UTC
A commit references this bug:

Author: brooks
Date: Wed Feb  8 21:24:57 UTC 2017
New revision: 433675
URL: https://svnweb.freebsd.org/changeset/ports/433675

Log:
  Allow build with EXTRAS disabled.

  The plist change is a no-op except when it broke the build so not
  bumping PORTREVISION.

  PR:		216786
  Reported by:	greenreaper@hotmail.com
  Sponsored by:	DARPA, AFRL

Changes:
  head/devel/llvm40/Makefile
  head/devel/llvm40/pkg-plist
Comment 2 Brooks Davis freebsd_committer 2017-02-08 21:30:11 UTC
Thanks for the report, I've moved these three files to EXTRAS