Skip to content

common branch linux/v6.12: Building x86_64 packages linux-[esx-]6.12.60-5.ph5 fail with "linux-fips-canister = 6.12.60-3.ph5 is needed by linux-[esx-]6.12.60-5.ph5.x86_64" #1632

@dcasota

Description

@dcasota

Describe the bug

During building packages, there is an issue
error: Failed build dependencies: linux-fips-canister = 6.12.60-3.ph5 is needed by linux-esx-6.12.60-4.ph5.x86_64

In https://github.com/vmware/photon/tree/common/SPECS/linux/v6.12 see linux spec file lines:

%define fips_canister_version 6.12.60-3.ph5
%define ExtraBuildRequires linux-fips-canister = %{fips_canister_version}
BuildRequires:       linux-fips-canister = %{fips_canister_version}

In https://packages.broadcom.com/photon/photon_sources/1.0/, the latest fips canister file is not 6.12.60-3, but an older version fips-canister-6.12.34-3.ph5.tar.bz2. There are no linux-fips-canister-* files.

logfile.txt

edited: happens with linux-[esx-]6.12.60-5.ph5.x86_64 as well. logfile.txt

Reproduction steps

make build Ph6

Expected behavior

successful build

Additional context

There are two warnings which are new.

  1. warning: line 420: It's not recommended to have unversioned Obsoletes: Obsoletes: linux-aws
    warning: line 421: It's not recommended to have unversioned Obsoletes: Obsoletes: linux-secure

  2. Could not find spec for: basic (happens during building packages on branch 5.0 as well)

    Might be from linux-drivers-intel-i40e-2.28.10-1.0612057003.ph5/usr/src/linux-headers-6.12.57-3.ph5/scripts/basic, linux-drivers-intel-ice-2.3.10-1.0612057003.ph5/usr/src/linux-headers-6.12.57-3.ph5/scripts/basic

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