FreeBSD/ports 882943b — www/piwigo pkg-plist Makefile

www/piwigo: remove superflous entry in plist

Reported by:    fluffy
DeltaFile
+1-1www/piwigo/Makefile
+0-1www/piwigo/pkg-plist
+1-22 files

LLVM/project 8f63ff6 — llvm/lib/Target/LoongArch LoongArchISelLowering.cpp

[LoongArch][NFC] Replace manual v2i128 check with MVT::v2i128 (#241726)

Now that v2i128 is a legal MVT, the manual v2i128 check and the
associated stale comment are no longer needed. Compare against
MVT::v2i128 directly instead.
DeltaFile
+2-7llvm/lib/Target/LoongArch/LoongArchISelLowering.cpp
+2-71 files

LLVM/project 0038cb8 — mlir/lib/Dialect/Complex/IR ComplexOps.cpp, mlir/test/Dialect/Complex canonicalize.mlir

[mlir][Complex] Don't require nsz for complex exp(log) fold (#240812)
DeltaFile
+11-13mlir/test/Dialect/Complex/canonicalize.mlir
+6-6mlir/lib/Dialect/Complex/IR/ComplexOps.cpp
+17-192 files

LLVM/project 4cb42b4 — libcxx/lib/abi arm64-apple-darwin.libcxxabi.v1.stable.noexceptions.nonew.abilist, llvm/lib/Target/Hexagon HexagonDepInstrInfo.td

Merge branch 'main' into users/vpykhtin/amdgpu-vgpr32-from-lo16-helper
DeltaFile
+5,423-1,585llvm/test/CodeGen/ARM/GlobalISel/arm-legalize-fp.mir
+3,285-20llvm/lib/Target/Hexagon/HexagonDepInstrInfo.td
+2,968-0llvm/test/CodeGen/Mips/GlobalISel/llvm-ir/is_fpclass.ll
+1,483-1,439llvm/test/Transforms/Util/DeclareRuntimeLibcalls/aarch64.ll
+1,335-1,300llvm/test/Transforms/Util/DeclareRuntimeLibcalls/windows.ll
+2,631-0libcxx/lib/abi/arm64-apple-darwin.libcxxabi.v1.stable.noexceptions.nonew.abilist
+17,125-4,3447,995 files not shown
+217,351-98,4288,001 files

LLVM/project 047c70d — llvm/test/CodeGen/AArch64 bitinsert-vector.ll bitextract-vector.ll

[AArch64] Use `-global-isel=0` in vector `bitinsert`/`bitextract` test
DeltaFile
+1-1llvm/test/CodeGen/AArch64/bitinsert-vector.ll
+1-1llvm/test/CodeGen/AArch64/bitextract-vector.ll
+2-22 files

LLVM/project 7660aa3 — llvm/lib/CodeGen/GlobalISel IRTranslator.cpp, llvm/test/CodeGen/AArch64 bitextract-vector.ll bitinsert-vector.ll

[GlobalISel] Lower vector `bitinsert` and `bitextract`
DeltaFile
+111-50llvm/test/CodeGen/AArch64/bitinsert-vector.ll
+19-9llvm/test/CodeGen/AArch64/bitextract-vector.ll
+13-12llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
+143-713 files

LLVM/project b7bb0c9 — llvm/test/CodeGen/AMDGPU bitinsert-vector.ll bitinsert-bitextract-vector.ll, llvm/test/CodeGen/RISCV/rvv fixed-vectors-bitinsert-bitextract.ll

[SelectionDAG] Split vector `bitinsert` and `bitextract` tests
DeltaFile
+0-928llvm/test/CodeGen/AMDGPU/bitinsert-bitextract-vector.ll
+0-779llvm/test/CodeGen/X86/bitinsert-bitextract-vector.ll
+744-0llvm/test/CodeGen/AMDGPU/bitinsert-vector.ll
+549-0llvm/test/CodeGen/X86/bitinsert-vector.ll
+0-240llvm/test/CodeGen/RISCV/rvv/fixed-vectors-bitinsert-bitextract.ll
+235-0llvm/test/CodeGen/X86/bitextract-vector.ll
+1,528-1,94712 files not shown
+2,165-2,14618 files

LLVM/project 93df9d8 — llvm/lib/Target/AMDGPU AMDGPURegisterBankInfo.cpp AMDGPULegalizerInfo.cpp, llvm/test/CodeGen/AMDGPU stacksave_stackrestore.ll

[AMDGPU][GISel] Capture the stack pointer at stacksave
DeltaFile
+254-190llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
+15-8llvm/lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp
+8-1llvm/lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp
+6-2llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-stacksave-stackrestore.mir
+0-3llvm/lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
+283-2045 files

LLVM/project d649741 — llvm/test/CodeGen/AMDGPU stacksave_stackrestore.ll

Pre-commit tests for the stackrestore fix
DeltaFile
+1,529-0llvm/test/CodeGen/AMDGPU/stacksave_stackrestore.ll
+1,529-01 files

LLVM/project 76841e2 — llvm/lib/Target/AMDGPU SIInstrInfo.cpp, llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-amdgpu-wave-address.mir inst-select-amdgpu-wave-address.mir

Relax the verifier to accept VRegs for G_AMDGPU_WAVE_ADDRESS
DeltaFile
+20-15llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-wave-address.mir
+5-9llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgpu-wave-address.mir
+3-2llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+28-263 files

LLVM/project 20e9e51 — llvm/test/CodeGen/AMDGPU/GlobalISel regbankselect-amdgpu-wave-address.mir inst-select-amdgpu-wave-address.mir

Pre-commit tests for relaxing verifier
DeltaFile
+43-2llvm/test/CodeGen/AMDGPU/GlobalISel/inst-select-amdgpu-wave-address.mir
+20-1llvm/test/CodeGen/AMDGPU/GlobalISel/regbankselect-amdgpu-wave-address.mir
+63-32 files

LLVM/project 7ba0608 — libc/test/src/unistd copy_file_range_test.cpp

[libc][test] Fix dangling CString paths in copy_file_range_test (#241787)

Fixes the `aarch64` / overlay failure in
`libc.test.src.unistd.copy_file_range_test` introduced by #240018.

### Root Cause
1. `libc_make_test_file_path(...)` returns an owning `CString`
(non-copyable, non-movable). Storing it into `const char *in_path` /
`out_path` in `SetUp()` destroyed the temporary `CString` immediately,
leaving dangling pointers for `open()` and `unlink()` and causing
`ENOENT` in `SetUp()` (cascading into `EBADF` in `CopyNoOffsets` and
`CopyWithOffsets`).
2. `LlvmLibcCopyFileRangeTest::SetUp()` and `TearDown()` overrode
`ErrnoCheckingTest::SetUp()` / `TearDown()` without invoking the base
class methods.

### Changes
- Initialize `in_path` and `out_path` directly as fixture members using
`decltype(libc_make_test_file_path(...))` so the `CString` objects stay

    [8 lines not shown]
DeltaFile
+8-8libc/test/src/unistd/copy_file_range_test.cpp
+8-81 files

LLVM/project c1ebc15 — llvm/lib/CodeGen/SelectionDAG SelectionDAGBuilder.cpp, llvm/test/CodeGen/AArch64 arm64_32-byte.ll

[SelectionDAG] Use the pointer memory type when lowering byte casts
DeltaFile
+215-0llvm/test/CodeGen/AArch64/arm64_32-byte.ll
+46-5llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
+261-52 files

FreeBSD/ports d52c9e7 — net/mobile-broadband-provider-info Makefile distinfo

net/mobile-broadband-provider-info: Update to 20261111

Sponsored by:   Rubicon Communications, LLC ("Netgate")
DeltaFile
+3-3net/mobile-broadband-provider-info/distinfo
+1-1net/mobile-broadband-provider-info/Makefile
+4-42 files

LLVM/project 507e108 — flang/lib/Lower ConvertVariable.cpp, flang/test/Lower/MIF coarray_host_associated.f90

[flang] Fix incorrect reallocation for host-associated main-program coarrays #231233 (#233361)

This fix resolves the issue #231233 involving incorrect reallocation of
a coarray when it is accessed via host association in a nested
procedure.

---------

Co-authored-by: Dan Bonachea <dobonachea at lbl.gov>
DeltaFile
+63-0flang/test/Lower/MIF/coarray_host_associated.f90
+15-6flang/lib/Lower/ConvertVariable.cpp
+78-62 files

FreeBSD/ports ab68136 — sysutils Makefile

sysutils/libmbus: Add forgotten SUBDIR

Fixes:  d436f881b3b5 sysutils/libmbus: [NEW PORT] Meter-bus library and utility programs
DeltaFile
+1-0sysutils/Makefile
+1-01 files

LLVM/project f7a437c — llvm/lib/Target/Hexagon HexagonFrameLowering.h HexagonRegisterInfo.cpp, llvm/test/CodeGen/Hexagon hlx-vtcm-stack.ll

[Hexagon] Add local VTCM frames for HLX objects (#241650)

Move local HLX objects to a separate VTCM frame, address them through
VSP, and allocate and release the frame with vallocframe and
vdeallocframe.
Co-authored-by: Yashas Andaluri <yandalur at qti.qualcomm.com>
DeltaFile
+88-2llvm/lib/Target/Hexagon/HexagonFrameLowering.cpp
+61-0llvm/test/CodeGen/Hexagon/hlx-vtcm-stack.ll
+27-0llvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.cpp
+20-0llvm/lib/Target/Hexagon/HexagonMachineFunctionInfo.h
+11-0llvm/lib/Target/Hexagon/HexagonRegisterInfo.cpp
+5-0llvm/lib/Target/Hexagon/HexagonFrameLowering.h
+212-21 files not shown
+213-27 files

LLVM/project bb6c2f3 — flang/lib/Semantics check-coarray.cpp, flang/test/Semantics form_team01.f90 notifywait03.f90

[flang][Semantics] Adding check integer kind on STAT= specifier #230463 (#231103)

This PR adds a pedantic warning to check whether the specified STAT is
an integer of at least 16-bit because
flang currently silently accepts 8-bit integers to `STAT=`: and F2023
9.7.4 says:

> R946 _stat-variable_ is _scalar-int-variable_
>
> A stat-variable should have a decimal exponent range of at least four;
otherwise the
> processor-dependent error code might not be representable in the
variable.
DeltaFile
+31-34flang/lib/Semantics/check-coarray.cpp
+44-0flang/test/Semantics/check-stat.f90
+14-14flang/test/Semantics/lockstmt03.f90
+8-8flang/test/Semantics/notifywait03.f90
+8-8flang/test/Semantics/event02b.f90
+6-4flang/test/Semantics/form_team01.f90
+111-684 files not shown
+135-7010 files

LLVM/project cdd9130 — llvm/lib/Target/SPIRV SPIRVPreLegalizer.cpp, llvm/test/CodeGen/SPIRV/debug-info debug-line-inline-asm.ll

[SPIRV] Keep source location on OpAsmCallINTEL

insertInlineAsmProcess builds OpAsmCallINTEL with a MachineIRBuilder
whose debug location is empty.
The call therefore had no location, so the NonSemantic
debug handler emitted no debug line information.
DeltaFile
+59-0llvm/test/CodeGen/SPIRV/debug-info/debug-line-inline-asm.ll
+1-0llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
+60-02 files

FreeBSD/ports d436f88 — sysutils/libmbus distinfo pkg-descr, sysutils/libmbus/files patch-Makefile.am

sysutils/libmbus: [NEW PORT] Meter-bus library and utility programs

The Meter-Bus is a standard for reading out meter data from
electricity meters, heat meters, gas meters, etc. The M-bus
standard deals with both the electrical signals on the M-Bus,
and the protocol and data format used in transmissions on
the M-Bus. The role of libmbus is to decode/encode M-bus
data, and to handle the communication with M-Bus devices.

WWW:            https://github.com/rscada/libmbus/

PR:             298095
Co-authored by: alven@
DeltaFile
+41-0sysutils/libmbus/pkg-plist
+30-0sysutils/libmbus/Makefile
+11-0sysutils/libmbus/files/patch-Makefile.am
+6-0sysutils/libmbus/pkg-descr
+3-0sysutils/libmbus/distinfo
+91-05 files

LLVM/project 041eb01 — clang/test/SemaCXX warn-consumed-analysis.cpp

[Clang][NFC] Re-enable consumed analysis test for chained logical OR (#240849)

Re-enable the three-way logical OR test in `testComplexConditionals1` by
removing its `#if 0` guard and stale FIXME. The operands start in the
unknown consumed state. Keep all six existing expected warnings in the
true and false branches unchanged.

Prepared with assistance from Codex.
DeltaFile
+0-3clang/test/SemaCXX/warn-consumed-analysis.cpp
+0-31 files

LLVM/project d9ff2ae — clang/test/SemaTemplate instantiate-static-local.cpp

[Clang][NFC] Re-enable local-class static member diagnostic test (#240834)

Re-enable the local-class static data member example in
`clang/test/SemaTemplate/instantiate-static-local.cpp`. Keep its
existing `expected-error {{static}}`, remove the `#if 0` guard and stale
crash FIXME, and remove the conflicting `expected-no-diagnostics`
marker.

The crash was fixed by e2def106757534b07a2d3ff15ddd48e14b69a66d
(#182707). A targeted AArch64 snapshot search followed by native X86
assertions-on builds confirms the boundary: the parent
c1c4a5a870eb668fec480771c4d002e17362ed18 crashes in
`LocalInstantiationScope::findInstantiationOf` on both attempts, while
the fix emits only the expected illegal-static-member diagnostic and
exits normally on both attempts.

Prepared with assistance from Codex.
DeltaFile
+0-4clang/test/SemaTemplate/instantiate-static-local.cpp
+0-41 files

FreeNAS/freenas 9cdb693 — src/middlewared/middlewared/plugins/zfs mount_unmount_impl.py, tests/api2 test_zfs_resource_mount_unmount.py

NAS-145210 / 27.0.0 / Keep encryption keys loaded on zfs.resource.unmount by default (by Qubad786) (#20200)

## Problem
`zfs.resource.unmount` documents `unload_encryption_key` as defaulting
to `False`, but `unmount_impl` only passed it to truenas_pylibzfs when
it was `True`. truenas_pylibzfs defaults it to `True`, so every unmount
of an encryption root unloaded its key, and a recursive unmount did the
same for every encryption root below it. A later `zfs.resource.mount`
then failed with "encryption key not loaded" (e.g. ix-apps after a
docker stop, or a container dataset left behind by migration).

## Solution
Always pass `unload_encryption_key` to truenas_pylibzfs so the caller's
value is honoured. The lock path already passes `True` explicitly, so
its behaviour is unchanged. Added an integration test that recursively
unmounts a parent with an encrypted child and checks the child's key
survives and it can be mounted again.

Original PR: https://github.com/truenas/middleware/pull/20189

Co-authored-by: M. Rehan <mrehanlm93 at gmail.com>
DeltaFile
+13-0tests/api2/test_zfs_resource_mount_unmount.py
+2-3src/middlewared/middlewared/plugins/zfs/mount_unmount_impl.py
+15-32 files

FreeNAS/freenas 8a6ebd1 — src/middlewared/middlewared/plugins/zfs mount_unmount_impl.py, tests/api2 test_zfs_resource_mount_unmount.py

NAS-145210 / 27.1.0 / Keep encryption keys loaded on zfs.resource.unmount by default (by Qubad786) (#20201)

## Problem
`zfs.resource.unmount` documents `unload_encryption_key` as defaulting
to `False`, but `unmount_impl` only passed it to truenas_pylibzfs when
it was `True`. truenas_pylibzfs defaults it to `True`, so every unmount
of an encryption root unloaded its key, and a recursive unmount did the
same for every encryption root below it. A later `zfs.resource.mount`
then failed with "encryption key not loaded" (e.g. ix-apps after a
docker stop, or a container dataset left behind by migration).

## Solution
Always pass `unload_encryption_key` to truenas_pylibzfs so the caller's
value is honoured. The lock path already passes `True` explicitly, so
its behaviour is unchanged. Added an integration test that recursively
unmounts a parent with an encrypted child and checks the child's key
survives and it can be mounted again.

Original PR: https://github.com/truenas/middleware/pull/20189

Co-authored-by: M. Rehan <mrehanlm93 at gmail.com>
DeltaFile
+13-0tests/api2/test_zfs_resource_mount_unmount.py
+2-3src/middlewared/middlewared/plugins/zfs/mount_unmount_impl.py
+15-32 files

FreeNAS/freenas 5bbc252 — src/middlewared/middlewared/plugins/container lifecycle.py, src/middlewared/middlewared/plugins/vm vm_lifecycle.py

NAS-145153 / 27.1.0 / Fail graceful VM and container stop when the guest keeps running (by Qubad786) (#20202)

## Problem
A graceful `vm.stop` / `container.stop` (no `force`, no
`force_after_timeout`, the API default) waited `shutdown_timeout` and
then reported SUCCESS even when the guest ignored the shutdown request
and was still running. The UI showed the guest as stopped and a graceful
container restart then failed on start with "already started". A
suspended VM was also left suspended with a successful job, even with
`force_after_timeout`, because the post-stop check only looked for
`RUNNING`.

## Solution
After the shutdown request, both stop paths check the state again. If
the guest has not stopped, it is powered off when `force_after_timeout`
is set; otherwise the job fails with an ETIMEDOUT `CallError` saying it
did not stop within the timeout. A suspended VM is resumed before the
shutdown request so the guest can act on it, and library errors (e.g.
stopping a guest that is not running) are raised as `CallError` like

    [5 lines not shown]
DeltaFile
+25-15src/middlewared/middlewared/plugins/vm/vm_lifecycle.py
+23-11src/middlewared/middlewared/plugins/container/lifecycle.py
+4-2tests/api2/test_container.py
+52-283 files

FreeNAS/freenas d23419c —

Empty commit to create PR on github.

You should reset it
DeltaFile
+0-00 files

FreeNAS/freenas 2dd9263 — src/middlewared/middlewared/plugins/container __init__.py image.py

NAS-145155 / 28.0.0-BETA.1 / Harden container image pull (#20188)

## Problem
Pulling a container image leaked raw `requests` errors, had no timeout
on the tarball download so a stalled stream hung forever and never
checked the published sha256. The pull was a sync job, so it could only
stop at its own abort checks, and `container.create` wasn't abortable at
all. Two concurrent pulls of the same uncached image could also destroy
each other's in-progress dataset through the orphan cleanup.

## Solution
- **Readable registry errors**: registry index failures (connection,
HTTP status, timeout, bad JSON) are raised as `CallError('Failed to
query container image registry: ...')`.
- **aiohttp with timeouts**: the registry fetch and tarball download use
aiohttp with connect and per-read timeouts of `INTERNET_TIMEOUT` and no
total limit, so a stall fails the pull instead of hanging. `trust_env`
is set so the `http(s)_proxy` environment is still honoured, as it was
with `requests`.

    [22 lines not shown]
DeltaFile
+104-80src/middlewared/middlewared/plugins/container/query_pull_images.py
+8-5src/middlewared/middlewared/plugins/container/image.py
+10-3src/middlewared/middlewared/plugins/container/crud.py
+1-1src/middlewared/middlewared/plugins/container/__init__.py
+123-894 files

HardenedBSD/src f5b82df — sys/dev/sound/pci envy24ht.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+11-22sys/dev/sound/pci/envy24ht.c
+11-221 files

LLVM/project b02e25d — clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp, clang/test/CodeGen/AArch64/neon intrinsics.c

[CIR] Use `cir.vec.fcmp` op for AArch64 builtins (#241404)

I've been splitting integer and floating comparisons and stumbled upon
these.

claude updated the test.
DeltaFile
+26-10clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+4-4clang/test/CodeGen/AArch64/neon/intrinsics.c
+30-142 files

FreeNAS/freenas 730c693 — src/middlewared/middlewared/plugins/container __init__.py image.py

Harden container image pull

## Problem
Pulling a container image leaked raw `requests` errors, had no timeout on the tarball download so a stalled stream hung forever and never checked the published sha256. The pull was a sync job, so it could only stop at its own abort checks, and `container.create` wasn't abortable at all. Two concurrent pulls of the same uncached image could also destroy each other's in-progress dataset through the orphan cleanup.

## Solution
- **Readable registry errors**: registry index failures (connection, HTTP status, timeout, bad JSON) are raised as `CallError('Failed to query container image registry: ...')`.
- **aiohttp with timeouts**: the registry fetch and tarball download use aiohttp with connect and per-read timeouts of `INTERNET_TIMEOUT` and no total limit, so a stall fails the pull instead of hanging. `trust_env` is set so the `http(s)_proxy` environment is still honoured, as it was with `requests`.
- **Checksum**: the download is hashed as it streams and compared against the registry's sha256 before anything is extracted.
- **Registry lookup first**: the image/version lookup happens before `ensure_datasets`, the orphan destroy and the dataset create, so an unknown image or unreachable registry never touches a dataset. Cached images still return early without network access.
- **Async pull**: `container.image.pull` is an async job, so an abort cancels the network awaits immediately. File writes go through a thread, and progress is only reported when the integer percent changes.
- **Threaded extraction**: the tarball is streamed through `tarfile` in a thread that checks for abort before every member and raises `JobCancelledException`, so a partial rootfs is never snapshotted. On any failure or cancel the cleanup awaits the extraction thread until it has stopped and only then destroys the image dataset, since destroying it while the thread is still writing fails as busy.
- **Abortable create**: `container.create` is `abortable=True`. It forwards the abort to its pull job, because `job.wrap` doesn't cancel the subjob, and raises `JobCancelledException` if the pull was aborted on its own.
- **Per-image lock**: `container.image.pull` holds a lock keyed on pool, name and version with `lock_queue_size=None`, so each create waits for its own pull job and a waiter after a successful pull hits the cached snapshot.
DeltaFile
+104-80src/middlewared/middlewared/plugins/container/query_pull_images.py
+8-5src/middlewared/middlewared/plugins/container/image.py
+10-3src/middlewared/middlewared/plugins/container/crud.py
+1-1src/middlewared/middlewared/plugins/container/__init__.py
+123-894 files