Re: more fallout from removal of lint

From: O. Hartmann <ohartmann_at_walstatt.org>
Date: Thu, 4 Jan 2018 12:17:49 +0100
On Tue, 2 Jan 2018 09:33:08 -0500
Shawn Webb <shawn.webb_at_hardenedbsd.org> wrote:

> 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,
> 

I ran also into this problem and for security reasons, I HAVE TO update several
hosts to 11.1-RELENG-p6. I can not, because the building host (poudriere, also
the binary packages for a binary update of base) is on CURRENT.

I hope this issue gets fixed soon.

Regards,

Oliver
Received on Thu Jan 04 2018 - 10:17:59 UTC

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