FreeBSD/src c3be3a7sbin/ping/tests test_ping.py

ping: fix listing test cases when scapy is not installed

The ATF-python test program was attempting to list test cases that
require scapy.  But it attempted to import the scapy module before the
test cases had been listed, resulting in an ImportError that kyua
interpreted as a test program crash.

Fix this behavior by handling that ImportError well enough to list test
cases, but not run them.  If scapy isn't present, Kyua will refuse to
run the test cases.  But it needs to be able to list them in order to
know to skip them.

Sponsored by:           ConnectWise
Reviewed by:            maxim
Differential Revision:  https://reviews.freebsd.org/D56765

(cherry picked from commit 3e845b1090565912375c5578cf0399d27b7fa70c)
DeltaFile
+25-1sbin/ping/tests/test_ping.py
+25-11 files

LLVM/project 3d6ac5amlir/lib/Dialect/Func/Transforms DuplicateFunctionElimination.cpp, mlir/test/Dialect/Func duplicate-function-elimination.mlir

[mlir][func] Fix a crash in DuplicateFunctionEliminationPass (#209667)

Previously, we used `SymbolUserMap::replaceAllUsesWith` to replace
symbols, but this could not update the symbol table cached by
`SymbolUserMap` during traversal, leading to a crash. This PR switches
to `SymbolTable::replaceAllSymbolUses`, which always operates on the
latest symbol table and avoids the crash. Fixes #209648.
DeltaFile
+26-0mlir/test/Dialect/Func/duplicate-function-elimination.mlir
+3-3mlir/lib/Dialect/Func/Transforms/DuplicateFunctionElimination.cpp
+29-32 files

LLVM/project 723eaa4libc/cmake/caches baremetal_common.cmake

[libc][cmake] Enable assertions and Werror for baremetal builds (#214093)

Enable LLVM_ENABLE_ASSERTIONS and LLVM_ENABLE_WERROR in
baremetal_common.cmake
to ensure pre-merge checks catch assertion failures and compiler
warnings for
baremetal targets.

Assisted-by: Gemini
DeltaFile
+2-0libc/cmake/caches/baremetal_common.cmake
+2-01 files

FreeBSD/ports d6a5f41devel/py-grizzled distinfo Makefile, devel/py-grizzled/files patch-setup.py pyproject.toml.in

devel/py-grizzled: Update to 2.2.0

PR:             296672
Reported by:    hiroo.ono+freebsd at gmail.com
DeltaFile
+0-1,595devel/py-grizzled/files/patch-2to3
+17-6devel/py-grizzled/Makefile
+18-0devel/py-grizzled/files/pyproject.toml.in
+0-13devel/py-grizzled/files/patch-setup.py
+3-2devel/py-grizzled/distinfo
+38-1,6165 files

FreeBSD/ports 081bae0lang/python315 Makefile.version distinfo

lang/python315: Update to 3.15.0RC1
DeltaFile
+78-5lang/python315/pkg-plist
+3-3lang/python315/distinfo
+1-1lang/python315/Makefile.version
+82-93 files

FreeBSD/src a4ebad0sys/fs/fuse fuse_node.c fuse_vnops.c

fusefs: better handling for low-memory conditions

Under conditions of low memory, getblk can fail.  fusefs was not
handling those failures very systematically.  It was always using
PCATCH, which appears to have been originally copy/pasted from the NFS
client code, but isn't always appropriate:

* During fuse_vnode_setsize_immediate, which can be called from many
  different VOPs and from the vn_delayed_setsize mechanism, remove
  PCATCH.  Some of these callers cannot tolerate allocate failure.

* In fuse_inval_buf_range, don't assume that getblk will always succeed.

* When calling fuse_inval_buf_range from VOP_ALLOCATE,
  VOP_COPY_FILE_RANGE, or VOP_WRITE (with IO_DIRECT), return EINTR if
  the allocation fails.

* When calling fuse_inval_buf_range from VOP_DEALLOCATE, remove PCATCH.
  This VOP must not fail with EINTR.

    [8 lines not shown]
DeltaFile
+17-7sys/fs/fuse/fuse_vnops.c
+1-5sys/fs/fuse/fuse_node.c
+18-122 files

FreeBSD/src 3943f7btests/sys/cam/ctl Makefile all-supported-opcodes.txt

CTL: add ATF tests for REPORT SUPPORTED OPCODES

This includes a regression test for CVE-2024-42416

Sponsored by:   ConnectWise
Reviewed by:    emaste
Differential Revision: https://reviews.freebsd.org/D46613

(cherry picked from commit 6dd86310e54d3f2dd9f688670913b9176176246c)
DeltaFile
+241-0tests/sys/cam/ctl/opcodes.sh
+39-0tests/sys/cam/ctl/all-supported-opcodes.txt
+2-0tests/sys/cam/ctl/Makefile
+282-03 files

FreeBSD/src 8fa2c02tests/sys/aio aio_test.c

aio(4) tests: do not rely on (int *)-1 being invalid address

Explicitly mmap guard and use it as the invalid address instead.

(cherry picked from commit dc9a8d300ba5c4c319589d78231e9d0e76576cbf)
DeltaFile
+6-1tests/sys/aio/aio_test.c
+6-11 files

NetBSD/src V9mDNJZsys/arch/hb68k/conf std.hb68010 std.hb68k

   All 68030/68040/68060 systems must have the __HAVE_NEW_PMAP_68K option,
   but that option is not applicable for 68010.
VersionDeltaFile
1.2+4-1sys/arch/hb68k/conf/std.hb68k
1.2+3-1sys/arch/hb68k/conf/std.hb68010
+7-22 files

FreeBSD/ports 2b5fb0ctextproc Makefile, textproc/sasso pkg-descr Makefile

texproc/sasso: New port: Fast and conformant Sass to CSS compiler

Sasso is a compiler for Sass, the Syntactically Awesome Style Sheets
language, written in Rust. Sass provides features such as variables,
nesting, mixins, inheritance and imports, which allows one to write
CSS (Cascading Style Sheets) more easily and tersely.

Sasso supports both the SCSS syntax -- a superset of CSS3 -- and the
older indended Sass syntax. It aims for a perfect compatibility with
the current release of Dart Sass, the reference implementation of the
Sass language. It is tested against the official Sass Spec Suite where
it achieves a 100% success rate on the subset implemented by Dart
Sass, producing byte-for-byte identical outputs.

WWW: https://github.com/momiji-rs/sasso

PR:             296857
Reported by:    Benjamin Jacobs <freebsd at dev.thsi.be> (new maintainer)
DeltaFile
+121-0textproc/sasso/distinfo
+59-0textproc/sasso/Makefile.crates
+23-0textproc/sasso/Makefile
+11-0textproc/sasso/pkg-descr
+1-0textproc/Makefile
+215-05 files

NetBSD/src Pj26mN9sys/arch/hb68k/hb68k fdt_bootstrap.c

   Fix typo (and paste-o).
VersionDeltaFile
1.2+4-4sys/arch/hb68k/hb68k/fdt_bootstrap.c
+4-41 files

NetBSD/src Ck5O9j8sys/arch/hb68k/conf files.hb68k, sys/arch/hb68k/hb68k fdt_bootstrap.c

   Preliminary implementation of fdt_bootstrap1(), enough for getting
   memory, cpu type, and mmu type.
VersionDeltaFile
1.1+247-0sys/arch/hb68k/hb68k/fdt_bootstrap.c
1.2+2-2sys/arch/hb68k/conf/files.hb68k
+249-22 files

OpenBSD/src Pb103BLsys/dev/pci pcidevs.h pcidevs_data.h

   regen
VersionDeltaFile
1.2134+9-1sys/dev/pci/pcidevs_data.h
1.2139+3-1sys/dev/pci/pcidevs.h
+12-22 files

OpenBSD/src jabgzv0sys/dev/pci pcidevs

   add Intel Wildcat Lake Ethernet ids
VersionDeltaFile
1.2146+3-1sys/dev/pci/pcidevs
+3-11 files

FreeBSD/ports 74f66c9science/py-qiskit/files patch-pyproject.toml

science/py-qiskit: Add the patch which missed in previous commit
DeltaFile
+23-0science/py-qiskit/files/patch-pyproject.toml
+23-01 files

FreeBSD/ports 994e490astro/py-astropy-helpers Makefile, astro/py-astropy-helpers/files patch-astropy__helpers_utils.py

astro/py-astropy-helpers: Fix build with python-3.12

PR:             296703
Reported by:    hiroo.ono+freebsd at gmail.com
DeltaFile
+22-0astro/py-astropy-helpers/files/patch-astropy__helpers_utils.py
+1-1astro/py-astropy-helpers/Makefile
+23-12 files

NetBSD/src 4mtY0HZsys/arch/amiga/conf INSTALL GENERIC.in, sys/arch/m68k/conf files.m68k

   All M68040 configs require FPSP, and all M68060 configs require M060SP,
   so just make M68040 and M68060 dependent on their respective software
   packages rather than having to duplicate the options across every kernel
   config.
VersionDeltaFile
1.109+2-8sys/arch/mvme68k/conf/GENERIC
1.33+1-7sys/arch/mvme68k/conf/RAMDISK
1.14+2-5sys/arch/virt68k/conf/GENERIC
1.143+2-4sys/arch/amiga/conf/INSTALL
1.153+2-4sys/arch/amiga/conf/GENERIC.in
1.77+3-3sys/arch/m68k/conf/files.m68k
+12-3125 files not shown
+45-10831 files

LLVM/project b4d1d3ellvm/lib/Target/PISA/MCTargetDesc PISATargetStreamer.cpp

Fix formatting
DeltaFile
+2-2llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.cpp
+2-21 files

NetBSD/src qmjT2PQsys/arch/mvme68k/conf VME147 VME172

   Re-factor the MVME-1xx kernel configs to reduce duplication.  Further
   shrink the VME* configs to be much closer to "bare minimum for this
   machine" to help out small memory config units (4MB base RAM on some).
VersionDeltaFile
1.108+31-49sys/arch/mvme68k/conf/GENERIC
1.38+7-64sys/arch/mvme68k/conf/VME177
1.36+7-63sys/arch/mvme68k/conf/VME162
1.36+7-62sys/arch/mvme68k/conf/VME172
1.40+7-62sys/arch/mvme68k/conf/VME167
1.64+6-60sys/arch/mvme68k/conf/VME147
+65-3602 files not shown
+108-4058 files

FreeBSD/ports 2cea5f9www/tikiwiki Makefile distinfo

www/tikiwiki: Update to 30.0
DeltaFile
+3-3www/tikiwiki/distinfo
+2-2www/tikiwiki/Makefile
+5-52 files

FreeBSD/ports ce18da5science/py-qiskit Makefile Makefile.crates

science/py-qiskit: Update to 2.5.1

Take maintainership

PR:             297056
Reported by:    wen@
Approved by:    yuri@(previous maintainer)
DeltaFile
+485-295science/py-qiskit/distinfo
+241-146science/py-qiskit/Makefile.crates
+12-7science/py-qiskit/Makefile
+738-4483 files

LLVM/project 7fe0858llvm/lib/Target/PISA PISAInstrInfo.td PISARegisterInfo.td, llvm/lib/Target/PISA/MCTargetDesc PISAMCTargetDesc.h PISAMCTargetDesc.cpp

Remove unnecessary edits
DeltaFile
+4-4llvm/lib/Target/PISA/PISA.td
+3-3llvm/lib/Target/PISA/PISARegisterInfo.td
+1-1llvm/lib/Target/PISA/PISAInstrInfo.td
+1-1llvm/lib/Target/PISA/MCTargetDesc/PISAMCTargetDesc.h
+1-1llvm/lib/Target/PISA/MCTargetDesc/PISAMCTargetDesc.cpp
+1-1llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.h
+11-113 files not shown
+13-129 files

OpenBSD/ports BQMWinDlang/ruby/4.0 Makefile distinfo, lang/ruby/4.0/patches patch-compile_c patch-test_ruby_test_box_rb

   Update to Ruby 4.0.6

   Switch a distpatch that no longer applies to a regular patch.
VersionDeltaFile
1.7+83-85lang/ruby/4.0/pkg/PLIST-main
1.1+16-0lang/ruby/4.0/patches/patch-test_ruby_test_box_rb
1.7+2-4lang/ruby/4.0/distinfo
1.4+2-2lang/ruby/4.0/patches/patch-compile_c
1.12+1-2lang/ruby/4.0/Makefile
1.5+2-0lang/ruby/4.0/pkg/PLIST-ri_docs
+106-932 files not shown
+108-958 files

OpenBSD/ports QDIc8W2lang/ruby/3.3 Makefile distinfo, lang/ruby/3.3/patches patch-configure

   Update to Ruby 3.3.12
VersionDeltaFile
1.12+75-75lang/ruby/3.3/pkg/PLIST-main
1.10+3-3lang/ruby/3.3/patches/patch-configure
1.13+2-2lang/ruby/3.3/distinfo
1.23+1-1lang/ruby/3.3/Makefile
+81-814 files

LLVM/project af2a0e9compiler-rt/cmake/Modules CompilerRTUtils.cmake

[compiler-rt][cmake] filter libc-backed builtins superseded by assembly (#213481)

apply
https://github.com/llvm/llvm-project/pull/209900#discussion_r3615454574

fix the duplication that causes issues like this:
```
 lit-23: /__w/llvm-project/llvm-project/compiler-rt/test/builtins/Unit/lit.cfg.py:186: fatal: builtins_source_features contains duplicates: ['librt_has_floatdidf', 'librt_has_floatdisf', 'librt_has_floatundidf', 'librt_has_floatundisf']
FAILED: compiler-rt/test/builtins/CMakeFiles/check-builtins /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/CMakeFiles/check-builtins 
cd /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins && /usr/bin/python3 /usr/bin/lit-23 -sv --show-xfail --show-unsupported /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/TestCases /__w/llvm-project/llvm-project/build/compiler-rt/test/builtins/Unit/X86_64LinuxConfig
ninja: build stopped: subcommand failed.
```

Part of #197824
DeltaFile
+2-0compiler-rt/cmake/Modules/CompilerRTUtils.cmake
+2-01 files

FreeBSD/ports e7bd370devel/py-ty Makefile distinfo

devel/py-ty: Update to 0.0.66

Changelog: https://github.com/astral-sh/ty/blob/0.0.66/CHANGELOG.md

Reported by:    Repology
DeltaFile
+3-3devel/py-ty/distinfo
+1-1devel/py-ty/Makefile
+4-42 files

FreeBSD/src 8c15c14usr.sbin/boot0cfg boot0cfg.8 boot0cfg.c

boot0cfg: Also allow a file as a trailing argument

Modify the disk check to allow arbitrary files as the trailing argument
instead of requiring a live GEOM disk provider.

This enables modifying a boot0 binary file in-place before flashing it
to a disk via gpart bootcode, or using it directly as an argument to
mkimg's partition specification, as these tools cannot directly adjust
the parameters of the boot0 boot manager.

Reviewed by:    imp, jhb
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57310

(cherry picked from commit 4007d914e7973bca8ac488ab50aca56964eed90f)
DeltaFile
+34-6usr.sbin/boot0cfg/boot0cfg.c
+26-6usr.sbin/boot0cfg/boot0cfg.8
+60-122 files

FreeBSD/src 15a0a7dusr.sbin/boot0cfg boot0cfg.8 boot0cfg.c

boot0cfg: Also allow a file as a trailing argument

Modify the disk check to allow arbitrary files as the trailing argument
instead of requiring a live GEOM disk provider.

This enables modifying a boot0 binary file in-place before flashing it
to a disk via gpart bootcode, or using it directly as an argument to
mkimg's partition specification, as these tools cannot directly adjust
the parameters of the boot0 boot manager.

Reviewed by:    imp, jhb
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D57310

(cherry picked from commit 4007d914e7973bca8ac488ab50aca56964eed90f)
DeltaFile
+34-6usr.sbin/boot0cfg/boot0cfg.c
+26-6usr.sbin/boot0cfg/boot0cfg.8
+60-122 files

LLVM/project 5650cd1llvm/lib/Target/PISA PISAInstrInfo.cpp PISAInstrFormats.td, llvm/lib/Target/PISA/MCTargetDesc PISAInstPrinter.cpp PISATargetStreamer.cpp

Add PISA register file, instruction set, and MC layer

Add the PISA register file and register-bank descriptions, the instruction
formats and definitions, and the MC/assembly layer (instruction printer,
register and code encoders, target streamer, MC target description and the
supporting enums), replacing the stub descriptions from
the initial target skeleton.

This provides the instruction-set description and assembly-emission
foundation. The GlobalISel lowering and instruction selection that consume it
are added in the following changes.
DeltaFile
+2,511-11llvm/lib/Target/PISA/PISAInstrInfo.td
+1,075-0llvm/lib/Target/PISA/PISACombine.td
+834-0llvm/lib/Target/PISA/PISAInstrFormats.td
+572-0llvm/lib/Target/PISA/MCTargetDesc/PISATargetStreamer.cpp
+448-1llvm/lib/Target/PISA/PISAInstrInfo.cpp
+394-11llvm/lib/Target/PISA/MCTargetDesc/PISAInstPrinter.cpp
+5,834-2333 files not shown
+8,449-6439 files

LLVM/project d19d7e8clang/lib/Analysis IssueHash.cpp, clang/lib/StaticAnalyzer/Checkers/WebKit RawPtrRefMemberChecker.cpp

[clang][StaticAnalyzer] Add support for variables and fields in GetEnclosingDeclContextSignature

Function `getIssueHash` relies on the name of the enclosing
declaration of the issue Decl for hashing. But the underlying
function `GetEnclosingDeclContextSignature` does not compute the
enclosing declaration for variables or fields, causing missing HTML
reports despite text warnings being printed.

The added
`clang/test/Analysis/Checkers/WebKit/html-diag-dedup-members.cpp`
example is a reproducer of this kind of issue we observed in WebKit.

Also, `RawPtrRefLocalVarsChecker` and `RawPtrRefMemberChecker` never
called `Report->setDeclWithIssue()`. This commit fixes it.

rdar://183700416

Assisted-by: Claude sonnet
DeltaFile
+33-0clang/test/Analysis/Checkers/WebKit/html-diag-dedup-ivars.mm
+31-0clang/test/Analysis/Checkers/WebKit/html-diag-dedup-members.cpp
+25-0clang/test/Analysis/Checkers/WebKit/html-diag-dedup-parameters.cpp
+23-0clang/test/Analysis/Checkers/WebKit/html-diag-dedup-local-vars.cpp
+15-0clang/lib/Analysis/IssueHash.cpp
+1-0clang/lib/StaticAnalyzer/Checkers/WebKit/RawPtrRefMemberChecker.cpp
+128-01 files not shown
+129-07 files