This fails to build with clang+glibc
file.c:200:8: error: assigning to 'char *' from 'const char *'
discards qualifiers
[-Werror,-Wincompatible-pointer-types-discards-qualifiers]
| 200 | base = pathname;
| | ^ ~~~~~~~~
| 1 error generated.
| make[3]: *** [Makefile:475: file.o] Error 1
│
│| make[3]: *** Waiting for unfinished jobs....
│
│| make[3]: Leaving directory
'/mnt/b/yoe/master/build/tmp/work/core2-64-yoe-linux/nfs-utils/2.8.2/nfs-u│
│tils-2.8.2/support/nsm'
On Tue, Dec 17, 2024 at 12:58 AM wangmy via lists.openembedded.org
<[email protected]> wrote:
>
> From: Wang Mingyu <[email protected]>
>
> Signed-off-by: Wang Mingyu <[email protected]>
> ---
> .../nfs-utils/{nfs-utils_2.8.1.bb => nfs-utils_2.8.2.bb} | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> rename meta/recipes-connectivity/nfs-utils/{nfs-utils_2.8.1.bb =>
> nfs-utils_2.8.2.bb} (98%)
>
> diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.1.bb
> b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb
> similarity index 98%
> rename from meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.1.bb
> rename to meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb
> index 488a1a7e70..543c68f7f5 100644
> --- a/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.1.bb
> +++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_2.8.2.bb
> @@ -33,7 +33,7 @@ SRC_URI =
> "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
> file://0001-locktest-Makefile.am-Do-not-use-build-flags.patch \
> "
>
> -SRC_URI[sha256sum] =
> "a0be95b08396908048583fcf6b34a7c1ab49d53e8a12eb28673ccfd2eff0c505"
> +SRC_URI[sha256sum] =
> "a39bbea76ac0ab9e6e8699caf3c308b6b310c20d458e8fa8606196d358e7fb15"
>
> # Only kernel-module-nfsd is required here (but can be built-in) - the nfsd
> module will
> # pull in the remainder of the dependencies.
> --
> 2.43.0
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#208893):
https://lists.openembedded.org/g/openembedded-core/message/208893
Mute This Topic: https://lists.openembedded.org/mt/110160089/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-