Re: 11.1-jail on CURRENT: sh: lint: not found *** [llib-lposix.ln] Error code 127

From: Don Lewis <truckman_at_FreeBSD.org>
Date: Sun, 7 Jan 2018 23:49:36 -0800 (PST)
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.

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"
Received on Mon Jan 08 2018 - 06:49:46 UTC

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