Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
turris-build
turris-build
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Turris
  • turris-buildturris-build
  • Issues
  • #154

Closed
Open
Opened Jun 05, 2020 by Michael Richardson@mcr

"5.1" hbl Packages list asks for kernel.0 version when none exists

Running ./generate_medkit -t mox from a checkout at: commit 24d9b4c2 (HEAD -> hbl, origin/hbl)

pulls down: https://repo.turris.cz/hbl/mox/packages/core/Packages

and complains:

ERROR: inconsistent: Package kmod-cfg80211 requires package kernel that is not available.

which I've seen this before. This is because of the .0 on line 221 of include/kernel.mk:

define Package/kmod-$(1)
  TITLE:=$(TITLE)
  SECTION:=kernel
  CATEGORY:=Kernel modules
  DESCRIPTION:=$(DESCRIPTION)
  VERSION:=$(LINUX_VERSION)$(if $(PKG_VERSION),+$(PKG_VERSION))-$(if $(PKG_RELEASE),$(PKG_RELEASE),$(LINUX_RELEASE))-$(LINUX_VERMAGIC)
   EXTRA_DEPENDS:=kernel (=$(LINUX_VERSION)-$(LINUX_RELEASE)-$(LINUX_VERMAGIC).0)

somewhere the kernel was intended to have a trailing .0 on it, which it does not. This is not in openwrt upstream. Removing the .0 here fixes the package dependancy problem, but then I have to build all the packages, which as reported and acknowledged, regularly does not complete. (Yes, I finally have a minimal .config, but it may too minimal)

If one examines the above URL for the Packages file in an editor one sees:

Package: kernel
Version: 4.14.180-1-b05c242413ba31ef0a03c70a9c2877a9.11
Depends: libc

...

Package: kmod-cfg80211
Version: 4.14.180+4.19.120-1-1-b05c242413ba31ef0a03c70a9c2877a9.11
Depends: kernel (=4.14.180-1-b05c242413ba31ef0a03c70a9c2877a9.0), iw, wireless-regdb
Assignee
Assign to
Turris OS 5.1
Milestone
Turris OS 5.1 (Past due)
Assign milestone
Time tracking
None
Due date
None
Reference: turris/turris-build#154