stop building and shipping lint libraries
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.
Updated by Joshua M. Clulow 9 months ago
These packages in OpenIndiana itself also contain lint libraries:
$ git grep lint-libraries.mk components/ |cut -d : -f 1 components/archiver/bzip2/Makefile components/library/gd2/Makefile components/library/lcms2/Makefile components/library/libxml2/Makefile components/library/openssl/openssl-1.0.2/Makefile components/library/readline/Makefile components/library/trousers/Makefile components/library/zlib/Makefile components/python/python34/Makefile components/python/python35/Makefile components/text/tidy/Makefile
Updated by Andy Fiddaman 8 months ago
In OmniOS it's:
* library/libxml2 * library/security/openssl * library/security/trousers * library/zlib
There's also https://github.com/omniosorg/omnios-build/pull/1185/files open to remove the lint libraries and support from userland, but this is currently only in bloody and may need backporting to r151028 in order to support continued gate builds on that version.