Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Jan 2018 12:35:33 -0700
From:      Ian Lepore <ian@freebsd.org>
To:        Don Lewis <truckman@FreeBSD.org>, Warner Losh <imp@bsdimp.com>
Cc:        "O. Hartmann" <ohartmann@walstatt.org>, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: 11.1-jail on CURRENT: sh: lint: not found *** [llib-lposix.ln] Error code 127
Message-ID:  <1515440133.44630.16.camel@freebsd.org>
In-Reply-To: <tkrat.b2226f5e8631f98c@FreeBSD.org>
References:  <20180108075813.3e181697@freyja.zeit4.iv.bundesimmobilien.de> <CANCZdfrxEbPycxH-jJbc3LUU_OG1mcdsQuSrai41F82PvPiE8Q@mail.gmail.com> <tkrat.b2226f5e8631f98c@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list
> > > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> > > 
> > _______________________________________________
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1515440133.44630.16.camel>