11.1-jail on CURRENT: sh: lint: not found *** [llib-lposix.ln] Error code 127
Ian Lepore
ian at freebsd.org
Mon Jan 8 19:35:43 UTC 2018
On Sun, 2018-01-07 at 23:49 -0800, Don Lewis wrote:
> There doesn't appear to be a knob to disable building lint for FreeBSD
> 11.x. Linking or copying /usr/bin/true to /usr/bin/lint works for cross
> building 11 on on a 12.0-CURRENT machine, but I was not able to get it
> to work when rebuilding a poudriere jail.
>
Disabling the build of lint on 11-stable by default, but allowing users
to enable it, seems to me like the most sensible option, given how
little lint is used these days. (The alternative would be to build it
as a bootstrap tool I guess.) I've created a patchset to do that and
put it up for review...
https://reviews.freebsd.org/D13799
If this is an okay solution for everyone, I think it could be used with
10-stable too.
-- Ian
> On 8 Jan, Warner Losh wrote:
> >
> > Does building -DWITHOUT_LINT work? Or linking lint to /bin/true
> >
> > Warner
> >
> > On Jan 7, 2018 11:58 PM, "O. Hartmann" <ohartmann at walstatt.org> wrote:
> >
> > >
> > > We have a bunch of CURRENT boxes running poudriere jails providing
> > > packages for
> > > 11.1-RELENG. Since a couple of week sfor now, I face this error when I try
> > > to
> > > update the p3 and p4 to the recent p6:
> > >
> > > [...]
> > > cc -O2 -pipe
> > > -I/pool/poudriere/jails/11amd64/usr/src/usr.bin/xlint/xlint/../lint1
> > > -DPREFIX=\"\"
> > > -I/pool/poudriere/jails/11amd64/usr/src/usr.bin/xlint/xlint/../arch/amd64
> > > -I/pool/poudriere/jails/11amd64/usr/src/usr.bin/xlint/xlint/../common
> > > -DNDEBUG
> > > -std=gnu99 -fstack-protector-strong -Wsystem-headers -Wall -Wno-format-y2k
> > > -W
> > > -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> > > -Wpointer-arith
> > > -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
> > > -Wunused-parameter
> > > -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> > > -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations
> > > -Wthread-safety -Wno-empty-body -Wno-string-plus-int
> > > -Wno-unused-const-variable
> > > -Qunused-arguments -o xlint xlint.o mem.o --- lint.1.gz --- gzip
> > > -cn /pool/poudriere/jails/11amd64/usr/src/usr.bin/xlint/xlint/lint.1 >
> > > lint.1.gz ===> usr.bin/xlint/llib (all) --- llib-lposix.ln --- lint
> > > -cghapbx
> > > -Cposix /pool/poudriere/jails/11amd64/usr/src/usr.bin/xlint/llib/
> > > llib-lposix
> > > sh: lint: not found *** [llib-lposix.ln] Error code 127
> > > [...]
> > >
> > >
> > > Please advice how this can be resolved.
> > >
> > >
> > > Kind regards,
> > >
> > > Oliver
> > > _______________________________________________
> > > freebsd-current at freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> > >
> > _______________________________________________
> > freebsd-current at freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"
More information about the freebsd-current
mailing list