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

2018-01-08 Thread Warner Losh
On Jan 8, 2018 12:44 PM, "Kurt Jaeger"  wrote:

Hi!

If I understand correctly, in the past we decommissioned stuff from
the base system in a few steps:

- announce intent
- analyse/remove from use
- disconnect from build
- remove from tree

It seems dropping lint was done a bit hasty


We did all that, but this was an unanticipated issue.

I like Ian's idea.

Warner
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2018-01-08 Thread Ian Lepore
On Mon, 2018-01-08 at 20:43 +0100, Kurt Jaeger wrote:
> Hi!
> 
> If I understand correctly, in the past we decommissioned stuff from
> the base system in a few steps:
> 
> - announce intent
> - analyse/remove from use
> - disconnect from build
> - remove from tree
> 
> It seems dropping lint was done a bit hasty ?
> 

It was discovered that it had not been working for about 3 years and
nobody complained, so hasty removal seemed innocuous at the time.  I
don't think these subsequent build problems were anticipated, but they
should be fixable.

https://lists.freebsd.org/pipermail/freebsd-arch/2016-February/017658.html

-- Ian

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2018-01-08 Thread Kurt Jaeger
Hi!

If I understand correctly, in the past we decommissioned stuff from
the base system in a few steps:

- announce intent
- analyse/remove from use
- disconnect from build
- remove from tree

It seems dropping lint was done a bit hasty ?

-- 
p...@opsec.eu+49 171 3101372 2 years to go !
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2018-01-08 Thread Ian Lepore
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"  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-unsubscr...@freebsd.org"
> > > 
> > ___
> > freebsd-current@freebsd.org mailing list
> > https://lists.freebsd.org/mailman/listinfo/freebsd-current
> > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2018-01-07 Thread Don Lewis
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"  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-unsubscr...@freebsd.org"
>>
> ___
> freebsd-current@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2018-01-07 Thread Don Lewis
Put the following in /usr/local/etc/poudriere.d/src.conf:
LINT=/usr/bin/false

That skips the attempt to build the lint library because of this:
  .if ${LINT} == "lint"
  _llib=  llib
  .else
  _llib=
  .endif
  
  SUBDIR= lint1 lint2 xlint ${_llib}
in /usr/src/usr.bin/xlint/Makefile


On  8 Jan, O. Hartmann 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-unsubscr...@freebsd.org"


___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


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

2018-01-07 Thread Warner Losh
Does building -DWITHOUT_LINT work? Or linking lint to /bin/true

Warner

On Jan 7, 2018 11:58 PM, "O. Hartmann"  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-unsubscr...@freebsd.org"
>
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"