Bug #10011
stop building and shipping lint libraries
Start date:
2019-01-25
Due date:
% Done:
100%
Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:
Gerrit CR:
Description
We build and ship various lint libraries. So that we can completely remove our dependency on the ancient and proprietary Sun Studio tool chain, we need to stop doing that. This will likely have ramifications for at least OmniOS, which today includes some lint libraries for at least OpenSSL, Trousers, libxml2, and zlib.
There appear to be lint libraries in at least the following packages:
$ cd usr/src/pkg/manifests $ git grep -l 'file.*path=.*llib-.*\.ln' *.mf | while read a; do grep -A1 'pkg.fmri' $a | grep 'pkg:/' | sed -e 's/.*value=//' -e 's/@.*//' -e 's/pkg:.//' ; done | sort developer/dtrace developer/library/lint developer/object-file diagnostic/cpu-counters driver/network/srpt install/beadm library/libadt_jni library/libtecla network/ipd network/iscsi/target service/fault-management service/hal service/network/dns/mdns service/network/load-balancer/ilb service/network/slp service/network/smtp/sendmail service/picl service/resource-pools service/storage/ndmp service/storage/removable-media storage/stmf system/boot/grub system/domain-service-processor-protocol/sparc-enterprise system/file-system/nfs system/file-system/zfs system/library/demangle system/library/libdiskmgt system/library/libfcoe system/library/math system/library/platform system/library/policykit system/library/storage/ima system/library/storage/libmpapi system/management/wbem/data-management system/network/udapl system/storage/sasinfo system/zones/internal
It seems that at least developer/library/lint
should be completely removed; i.e., obsoleted in the IPS metadata.
As part of testing this change, we'll want to do a full build with the current default environment file (updated in #9978 to disable lint
checks) on a system without any Sun Studio tools installed.
Subtasks
Related issues