lint errors in stable/11

Rick Miller vrwmiller at gmail.com
Thu May 10 10:36:06 UTC 2018


Hi all,



Performing a release build via release/release.sh in r331337 of stable/11
errors citing the lack of lint. It’s understood lint was removed from
stable/11 so src.conf includes WITHOUT_LINT, but errors persist. As the
code review alludes to[1], lint is irrelevant here. It seems WITHOUT_LINT
may not be the only thing I’m looking for. What is the best approach for
mitigating these errors?



===> usr.bin/xlint/xlint
(all)

/data/dists/11.1.9.0-amd64-md/usr/src/contrib/apr/atomic/unix/builtins.c:71:53:

warning: passing 'const void *' to parameter of type 'volatile void *'
discards

qualifiers
[-Wincompatible-pointer-types-discards-qualifiers]

    return (void*) __sync_val_compare_and_swap(mem, cmp,
with);

                                                    ^~~

1 warning
generated.

===> usr.bin/xlint/llib
(all)

sh: lint: not
found

--- llib-lposix.ln
---

*** [llib-lposix.ln] Error code
127



make[5]: stopped in
/data/dists/11.1.9.0-amd64-md/usr/src/usr.bin/xlint/llib

1
error



make[5]: stopped in
/data/dists/11.1.9.0-amd64-md/usr/src/usr.bin/xlint/llib



[1] https://reviews.freebsd.org/D13799?id=37644
-- 
Take care
Rick Miller


More information about the freebsd-stable mailing list