Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 May 2026 10:20:59 +0100
From:      Lexi Winter <ivy@freebsd.org>
To:        Chuck Tuffli <chuck@freebsd.org>
Cc:        src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org
Subject:   Re: git: 25942dddc8a8 - main - smart: Connect contrib/smart to build
Message-ID:  <agLw-6akkGIkCgia@rose.le-fay.org>
In-Reply-To: <6a025660.37fa7.6a3f7fc0@gitrepo.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
hello,

Chuck Tuffli wrote in <6a025660.37fa7.6a3f7fc0@gitrepo.freebsd.org>:
>     smart: Connect contrib/smart to build

this has broken the armv7 build:

--- all_subdir_usr.sbin/smart ---
/aux0/ci/worker/main-linux-clang-armv7/build/contrib/smart/libsmart.c:1351:26: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
 1350 |                         dprintf("bad read (%d) from page %#x (bytes=%lu)\n", rc,
      |                                                                     ~~~
      |                                                                     %zu
 1351 |                                         plist->pages[p].id, plist->pages[p].bytes);
      |                                                             ^~~~~~~~~~~~~~~~~~~~~
/aux0/ci/worker/main-linux-clang-armv7/build/contrib/smart/libsmart_priv.h:36:69: note: expanded from macro 'dprintf'
   36 | #define dprintf(f, ...) if (do_debug) fprintf(stderr, "dbg: " f, ## __VA_ARGS__)
      |                                                               ~     ^~~~~~~~~~~
1 error generated.

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----

iHUEABYKAB0WIQSyjTg96lp3RifySyn1nT63mIK/YAUCagLw9wAKCRD1nT63mIK/
YNpJAP9qIApUQMf7+9CPkHZ+tvbwX9G3eTmTyC+v5JO0Ol/jpwEA9sGDhT0aPO+v
M7TPgcMNaLpgWjXRyfZTbt8BAGrtGw0=
=SkBm
-----END PGP SIGNATURE-----
home | help

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