🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: muc.lists.freebsd.current
3 messages
3 total messages Started by David Wolfskill Tue, 13 Oct 2026 11:06
Build failure during main-n290063-3ceb5f150bc1 => main-n290084-b5e6d60e57ba
#24
Author: David Wolfskill
Date: Tue, 13 Oct 2026 11:06
79 lines
6065 bytes
--Iy7m/86BZaxXS2FX
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

First system was running

FreeBSD freebeast.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #55 main=
-n290063-3ceb5f150bc1: Mon Oct 12 10:55:18 UTC 2026     root@freebeast.catw=
hisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64

I had updated sources to main-n290084-b5e6d60e57ba; failure showed up
rather early.  Here is what is in the first part of the ERROR_META_FILE:

# Meta data file /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/ufs/sync_t=
est.pieo.meta
CMD cc -target x86_64-unknown-freebsd16.0 --sysroot=3D/common/S4/obj/usr/sr=
c/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -fpie -D=
PIC   -O2 -pipe -fno-common   -fPIE -g -gz=3Dzlib -std=3Dgnu17 -Wno-format-=
zero-length -fstack-protector-strong  -Wsystem-headers -Werror -Wall -Wno-f=
ormat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes=
 -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshado=
w -Wunused-parameter -Wcast-align -Wchar-subscripts -Wnested-externs -Wold-=
style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarati=
ons -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-=
variable -Wno-error=3Dunused-but-set-parameter -Wno-error=3Dcast-function-t=
ype-mismatch  -Qunused-arguments    -c /usr/src/tests/sys/fs/ufs/sync_test.=
c -o sync_test.pieo
CMD=20
CWD /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/ufs
TARGET sync_test.pieo
OODATE /usr/src/tests/sys/fs/ufs/sync_test.c
-- command output --
/usr/src/tests/sys/fs/ufs/sync_test.c:226:9: error: cast from 'uint8_t *' (=
aka 'unsigned char *') to 'ufs1_daddr_t *' (aka 'int *') increases required=
 alignment from 1 to 4 [-Werror,-Wcast-align]
  226 |                             ((ufs1_daddr_t *)buf)[lbn - UFS_NDADDR]=
 :
      |                              ^~~~~~~~~~~~~~~~~~~
/usr/src/tests/sys/fs/ufs/sync_test.c:227:9: error: cast from 'uint8_t *' (=
aka 'unsigned char *') to 'ufs2_daddr_t *' (aka 'long *') increases require=
d alignment from 1 to 8 [-Werror,-Wcast-align]
  227 |                             ((ufs2_daddr_t *)buf)[lbn - UFS_NDADDR];
      |                              ^~~~~~~~~~~~~~~~~~~
2 errors generated.

*** Error code 1

-- filemon acquired metadata --
# filemon version 5
# Target pid 40779

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--Iy7m/86BZaxXS2FX
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iPEEARYKAJkWIQRCec5RsK7Enudh3yGB9MJ9AwUELQUCas4QnxsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMu
b3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQyNzlDRTUxQjBBRUM0OUVFNzYxREYy
MTgxRjRDMjdEMDMwNTA0MkQACgkQgfTCfQMFBC2vOQD+KHTkKnUvTmeUV0emV9bP
whp+eMydZUXRwqu+2poNwtgA/AqQ+pMxj846R8NKRtk9kYev0ToJoI+ibtzH7Ui4
uo4G
=p2jG
-----END PGP SIGNATURE-----

--Iy7m/86BZaxXS2FX--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Build failure during main-n290063-3ceb5f150bc1 => main-n290084-b5e6d60e57ba
#27
Author: Konstantin Belousov
Date: Tue, 13 Oct 2026 12:14
51 lines
6265 bytes
On Tue, Oct 13, 2026 at 04:06:07AM -0700, David Wolfskill wrote:
> First system was running
> 
> FreeBSD freebeast.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #55 main-n290063-3ceb5f150bc1: Mon Oct 12 10:55:18 UTC 2026     root@freebeast.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64
> 
> I had updated sources to main-n290084-b5e6d60e57ba; failure showed up
> rather early.  Here is what is in the first part of the ERROR_META_FILE:
> 
> # Meta data file /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/ufs/sync_test.pieo.meta
> CMD cc -target x86_64-unknown-freebsd16.0 --sysroot=/common/S4/obj/usr/src/amd64.amd64/tmp -B/common/S4/obj/usr/src/amd64.amd64/tmp/usr/bin -fpie -DPIC   -O2 -pipe -fno-common   -fPIE -g -gz=zlib -std=gnu17 -Wno-format-zero-length -fstack-protector-strong  -Wsystem-headers -Werror -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 -Wnested-externs -Wold-style-definition -Wno-pointer-sign -Wdate-time -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-error=unused-but-set-parameter -Wno-error=cast-function-type-mismatch  -Qunused-arguments    -c /usr/src/tests/sys/fs/ufs/sync_test.c -o sync_test.pieo
> CMD 
> CWD /common/S4/obj/usr/src/amd64.amd64/tests/sys/fs/ufs
> TARGET sync_test.pieo
> OODATE /usr/src/tests/sys/fs/ufs/sync_test.c
> -- command output --
> /usr/src/tests/sys/fs/ufs/sync_test.c:226:9: error: cast from 'uint8_t *' (aka 'unsigned char *') to 'ufs1_daddr_t *' (aka 'int *') increases required alignment from 1 to 4 [-Werror,-Wcast-align]
>   226 |                             ((ufs1_daddr_t *)buf)[lbn - UFS_NDADDR] :
>       |                              ^~~~~~~~~~~~~~~~~~~
> /usr/src/tests/sys/fs/ufs/sync_test.c:227:9: error: cast from 'uint8_t *' (aka 'unsigned char *') to 'ufs2_daddr_t *' (aka 'long *') increases required alignment from 1 to 8 [-Werror,-Wcast-align]
>   227 |                             ((ufs2_daddr_t *)buf)[lbn - UFS_NDADDR];
>       |                              ^~~~~~~~~~~~~~~~~~~
> 2 errors generated.
> 
> *** Error code 1
> 
> -- filemon acquired metadata --
> # filemon version 5
> # Target pid 40779

Try this, did not even tried to compile.

diff --git a/tests/sys/fs/ufs/sync_test.c b/tests/sys/fs/ufs/sync_test.c
index 9adc853affd7..3dfa39e17575 100644
--- a/tests/sys/fs/ufs/sync_test.c
+++ b/tests/sys/fs/ufs/sync_test.c
@@ -223,8 +223,8 @@ ondisk_read(ino_t ino, int lbn, struct ondisk *od)
 			ATF_REQUIRE(bread(&disk, fsbtodb(fs, ib), buf,
 			    fs->fs_bsize) == fs->fs_bsize);
 			od->blkno = disk.d_ufs == 1 ?
-			    ((ufs1_daddr_t *)buf)[lbn - UFS_NDADDR] :
-			    ((ufs2_daddr_t *)buf)[lbn - UFS_NDADDR];
+			    __DECONST(ufs1_daddr_t *, buf)[lbn - UFS_NDADDR] :
+			    __DECONST(ufs2_daddr_t *, buf)[lbn - UFS_NDADDR];
 		}
 	}
 


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Re: Build failure during main-n290063-3ceb5f150bc1 => main-n290084-b5e6d60e57ba
#25
Author: David Wolfskill
Date: Tue, 13 Oct 2026 12:51
63 lines
5093 bytes
--h8c8PNqSsYX5kM6O
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 13, 2026 at 03:14:27PM +0300, Konstantin Belousov wrote:
> ...
> Try this, did not even tried to compile.
>=20
> diff --git a/tests/sys/fs/ufs/sync_test.c b/tests/sys/fs/ufs/sync_test.c
> index 9adc853affd7..3dfa39e17575 100644
> --- a/tests/sys/fs/ufs/sync_test.c
> +++ b/tests/sys/fs/ufs/sync_test.c
> @@ -223,8 +223,8 @@ ondisk_read(ino_t ino, int lbn, struct ondisk *od)
>  			ATF_REQUIRE(bread(&disk, fsbtodb(fs, ib), buf,
>  			    fs->fs_bsize) =3D=3D fs->fs_bsize);
>  			od->blkno =3D disk.d_ufs =3D=3D 1 ?
> -			    ((ufs1_daddr_t *)buf)[lbn - UFS_NDADDR] :
> -			    ((ufs2_daddr_t *)buf)[lbn - UFS_NDADDR];
> +			    __DECONST(ufs1_daddr_t *, buf)[lbn - UFS_NDADDR] :
> +			    __DECONST(ufs2_daddr_t *, buf)[lbn - UFS_NDADDR];
>  		}
>  	}
> =20

Applied; result builds & installs.  Rebooting shows:

freebeast(16.0-C)[1] uname -aUK
FreeBSD freebeast.catwhisker.org 16.0-CURRENT FreeBSD 16.0-CURRENT #56 main=
-n290084-b5e6d60e57ba-dirty: Tue Oct 13 12:41:50 UTC 2026     root@freebeas=
t.catwhisker.org:/common/S4/obj/usr/src/amd64.amd64/sys/GENERIC amd64 16000=
27 1600027


Thanks!

Peace,
david
--=20
David H. Wolfskill                              david@catwhisker.org

See https://www.catwhisker.org/~david/publickey.gpg for my public key.

--h8c8PNqSsYX5kM6O
Content-Type: application/pgp-signature; name=signature.asc

-----BEGIN PGP SIGNATURE-----

iPEEARYKAJkWIQRCec5RsK7Enudh3yGB9MJ9AwUELQUCas4pOxsUgAAAAAAEAA5t
YW51MiwyLjUrMS4xMiwyLDNfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMu
b3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQyNzlDRTUxQjBBRUM0OUVFNzYxREYy
MTgxRjRDMjdEMDMwNTA0MkQACgkQgfTCfQMFBC3wZQEA26C4jnOxJ6AcNeMec6J3
A3+swY8WrkDscWVa9b9OsK4A/1ZNapQwjJCTR7fmwzFP6MrAcVOzWiPhVbFx1B1p
Jv0K
=hi+a
-----END PGP SIGNATURE-----

--h8c8PNqSsYX5kM6O--


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads