Skip to content

tree-wide:obsolete $(SDK) in conditionals #28173

@danielfdickinson

Description

@danielfdickinson

Package Name

tree-wide

Maintainer

@GeorgeSapkin @hnyman @mhei @gstrauss @systemcrash @commodo @nicolas-thill

OpenWrt Version

SNAPSHOT

OpenWrt Target/Subtarget

bcm27xx/bcm2712

Steps to Reproduce

  1. Use SDK
  2. make menuconfig
  3. choose a subset of modules from packages like php8 or freeradius

Actual Behaviour

During compilation dependencies are unfulfilled and build fails.

Likely due to conditions like:

ifneq ($(SDK)$(CONFIG_PACKAGE_freeradius3-mod-cache-redis),)

which in the distant past were maybe meant to keep SDK builds from building packages with different configurations than base build.

There are only few packages that use this construct:

php8, freeradius3, libdbi-drivers, lighttpd, ulogd, and ntfs-3g .

It looks like recent changes related to apk and dependencies have resulted in a change in behaviour here (or I've just run across an longstanding situation).

It may be a while before I am able to look at this more deeply, but making note of it, as it might be more urgent for someone else.

Confirmation Checklist

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions