Bug 216786 - devel/llvm40: libclangChangeNamespace/Move/ReorderFields need to be packaged for extras, not clang
Summary: devel/llvm40: libclangChangeNamespace/Move/ReorderFields need to be packaged ...
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:
Depends on:
Blocks:
 
Reported: 2017-02-04 17:43 UTC by Laurence 'GreenReaper' Parry
Modified: 2017-02-08 21:30 UTC (History)
0 users

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


Attachments
Install log for llvm40-4.0.0.r1 with only CLANG GOLD OPENMP (217.09 KB, text/plain)
2017-02-04 17:43 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 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 freebsd_triage 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 freebsd_triage 2017-02-08 21:30:11 UTC
Thanks for the report, I've moved these three files to EXTRAS