Re: more fallout from removal of lint

From: Shawn Webb <shawn.webb_at_hardenedbsd.org>
Date: Tue, 2 Jan 2018 09:33:08 -0500
On Mon, Jan 01, 2018 at 05:14:00PM -0800, Don Lewis wrote:
> Since lint was removed from 12.0-CURRENT, it is not possible to build
> 11.1-STABLE on a 12.0-CURRENT host, but I was able to work around that
> by copying /usr/bin/true to /usr/bin/lint.  Unfortunately, that trick
> doesn't work when updating a 11.1-STABLE poudriere jail on a
> 12.0-CURRENT host.
> 
> ===> usr.bin/xlint (install)
> ===> usr.bin/xlint/lint1 (install)
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -s -o root -g wheel -m 555   lint1 /var/poudriere/jails/111STABLEi386/usr/libexec/lint1
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -o root -g wheel -m 444  lint1.debug /var/poudriere/jails/111STABLEi386/usr/lib/debug/usr/libexec/lint1.debug
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -o root -g wheel -m 444 lint.7.gz  /var/poudriere/jails/111STABLEi386/usr/share/man/man7/
> ===> usr.bin/xlint/lint2 (install)
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -s -o root -g wheel -m 555   lint2 /var/poudriere/jails/111STABLEi386/usr/libexec/lint2
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -o root -g wheel -m 444  lint2.debug /var/poudriere/jails/111STABLEi386/usr/lib/debug/usr/libexec/lint2.debug
> ===> usr.bin/xlint/xlint (install)
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -s -o root -g wheel -m 555   xlint /var/poudriere/jails/111STABLEi386/usr/bin/lint
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -o root -g wheel -m 444  lint.debug /var/poudriere/jails/111STABLEi386/usr/lib/debug/usr/bin/lint.debug
> install -N /var/poudriere/jails/111STABLEi386/usr/src/etc  -o root -g wheel -m 444 lint.1.gz  /var/poudriere/jails/111STABLEi386/usr/share/man/man1/
> ===> usr.bin/xlint/llib (install)
> lint -cghapbx -I/usr/obj/i386.i386/var/poudriere/jails/111STABLEi386/usr/src/tmp/usr/include -Cposix /var/poudriere/jails/111STABLEi386/usr/src/usr.bin/xlint/llib/llib-lposix
> sh: lint: not found
> *** [llib-lposix.ln] Error code 127
> 
> make[6]: stopped in /var/poudriere/jails/111STABLEi386/usr/src/usr.bin/xlint/llib
> 1 error
> 
> 
> # ls -l /usr/bin/lint /usr/bin/true
> -r-xr-xr-x  1 root  wheel  4976 Dec 30 12:37 /usr/bin/lint
> -r-xr-xr-x  1 root  wheel  4976 Dec 29 21:13 /usr/bin/true

I had filed[1] a bug report about this a little over a month ago and
FreeBSD was disinterested in even discussing it. HardenedBSD worked
around the issue by disabling the build of lint in its 11-STABLE and
10-STABLE trees.

[1]: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223892

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:    +1 443-546-8752
GPG Key ID:          0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE

Received on Tue Jan 02 2018 - 13:33:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC