Skip to content

Conversation

@GeorgeSapkin
Copy link
Member

@GeorgeSapkin GeorgeSapkin commented Dec 22, 2025

📦 Package Details

Maintainer: @Noltari, cc: @sinancetinkaya

Description:

Third time's the charm 🙈

tar depended both on xz and xz-utils which xz already depended on. Coupled with if PACKAGE_tar check it caused all packages that depended on tar to have a circular Kconfig dependency. Remove the check and dependency on xz-utils and leave xz one only.

Move libzstd dependency into DEPENDS.

Fixes: ad82c17 ("tar: fix EXTRA_DEPENDS")
Fixes: #28141

Related:


🧪 Run Testing Details

  • OpenWrt Version: SNAPSHOT
  • OpenWrt Target/Subtarget: x86/64
  • OpenWrt Device: QEMU

make defconfig doesn't return any error related to tar with all the packages that depend on it selected. tar itself works as expected and installs xz with it. But I'm having issues building packages that depend on Perl locally (will do a clean build of the toolchain), so I can't fully test everything.

@sinancetinkaya can you test backuppc?


✅ Formalities

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

tar depended both on xz and xz-utils which xz already depended on.
Coupled with if PACKAGE_tar check it caused all packages that depended
on tar to have a circular Kconfig dependency. Remove the check and
dependency on xz-utils and leave xz one only.

Move libzstd dependency into DEPENDS.

Fixes: ad82c17 ("tar: fix EXTRA_DEPENDS")
Fixes: openwrt#28141
Signed-off-by: George Sapkin <george@sapk.in>
Copy link

@sinancetinkaya sinancetinkaya left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, no errors

touch .config
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
        scripts/config/conf  --defconfig=.config Config.in
#
# No change to .config
#

@GeorgeSapkin GeorgeSapkin force-pushed the tar-fix-circular-dependency branch from 4b3f865 to a444c74 Compare December 22, 2025 12:23
@GeorgeSapkin GeorgeSapkin marked this pull request as ready for review December 22, 2025 12:24
@GeorgeSapkin
Copy link
Member Author

Merging this so if more thins break, this can be caught before 25.12 release.

@GeorgeSapkin GeorgeSapkin merged commit 3dcc4f1 into openwrt:master Dec 22, 2025
12 checks passed
@GeorgeSapkin GeorgeSapkin deleted the tar-fix-circular-dependency branch December 22, 2025 15:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

PACKAGE_tar: recursive dependency detected

2 participants