Project

General

Profile

Bug #10011

stop building and shipping lint libraries

Added by Joshua M. Clulow 9 months ago. Updated 5 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
tools - gate/build tools
Start date:
2019-01-25
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Difficulty:
Medium
Tags:

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

Bug #10293: usr/cmd/sgs - remove lint and lint librariesClosedAndy Fiddaman

Actions
Bug #10322: usr/lib/libc - remove lint and lint librariesClosedAndy Fiddaman

Actions
Bug #10361: usr/lib - stop lint library generation and packagingClosedAndy Fiddaman

Actions
Bug #10690: uts/i86pc Makefile lint cleanupClosedAndy Fiddaman

Actions

Related issues

Related to illumos gate - Feature #9978: env: set gcc 7 as shadow compiler and do not run lintClosed2018-11-13

Actions

History

#1

Updated by Joshua M. Clulow 9 months ago

  • Related to Feature #9978: env: set gcc 7 as shadow compiler and do not run lint added
#2

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
#3

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.

#4

Updated by Andy Fiddaman 7 months ago

  • Status changed from New to In Progress
  • Assignee set to Andy Fiddaman

Also available in: Atom PDF