Skip to content

Conversation

@Yang-Wei-Ting
Copy link
Contributor

📦 Package Details

Maintainer: @jow-

Description:
Update coreutils to version 9.9.
Drop chcon and runcon as they require SELinux support and cannot be built from coreutils 9.9 when configured with --without-selinux.

Backport of #28144 to 25.12.


🧪 Run Testing Details

  • OpenWrt Version: 25.12
  • OpenWrt Target/Subtarget: Arm SystemReady (EFI) compliant / 64-bit (armv8) machines
  • OpenWrt Device: QEMU

✅ Formalities

  • I have reviewed the CONTRIBUTING.md file for detailed contributing guidelines.

If your PR contains a patch:

  • It can be applied using git am
  • It has been refreshed to avoid offsets, fuzzes, etc., using
    make package/<your-package>/refresh V=s
  • It is structured in a way that it is potentially upstreamable
    (e.g., subject line, commit description, etc.)
    We must try to upstream patches to reduce maintenance burden.

- Update copyright year.
- Sort DEPENDS lexicographically.
- Switch URL to HTTPS.
- Drop invalid configure option --enable-install-program=su.
  ```
  configure: WARNING: 'su' is not an optionally-installable program
  ```
- Drop unrecognized configure option --with-gmp.
  ```
  configure: WARNING: unrecognized options: --with-gmp
  ```

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 4f39dd9)
Release notes:
https://lists.gnu.org/archive/html/coreutils-announce/2025-09/msg00000.html
https://lists.gnu.org/archive/html/coreutils-announce/2025-11/msg00000.html

- Drop chcon and runcon as they require SELinux support and cannot be built from
  coreutils 9.9 when configured with --without-selinux.
- Add libgmp dependency for coreutils-basenc to fix missing libgmp.so.10.
- Switch to -std=gnu17 to avoid build failure.
  ```
  lib/openat-die.c: In function 'openat_save_fail':
  lib/openat-die.c:37:3: error: format not a string literal and no format arguments [-Werror=format-security]
     37 |   error (exit_failure, errnum,
        |   ^~~~~
  lib/openat-die.c: In function 'openat_restore_fail':
  lib/openat-die.c:56:3: error: format not a string literal and no format arguments [-Werror=format-security]
     56 |   error (exit_failure, errnum,
        |   ^~~~~
  ```
- Refresh patch.

Signed-off-by: Wei-Ting Yang <williamatcg@gmail.com>
(cherry picked from commit 3f2fbc8)
@Yang-Wei-Ting Yang-Wei-Ting changed the title [25.12] Update coreutils [25.12] coreutils: update to 9.9 Jan 9, 2026
@github-actions github-actions bot added the OpenWrt 25.12 Issues/PR on branch 25.12 label Jan 9, 2026
@collinfunk
Copy link

FYI, you will probably want to add this patch that fixed an infinite loop in cp.

@Yang-Wei-Ting
Copy link
Contributor Author

FYI, you will probably want to add this patch that fixed an infinite loop in cp.

@collinfunk Thanks for the info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OpenWrt 25.12 Issues/PR on branch 25.12

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants