Skip to content

Rebuilding same sources produces different package versions #2852

Closed as not planned

Description

@omajid

I built the 6.0.103 release a few weeks ago and got:

dotnet/sdk/6.0.103/DotnetTools/dotnet-user-secrets/6.0.3-servicing.22154.1/tools/net6.0/any/assets/SecretManager.targets

I rebuilt it last night and got a different build of dotnet-user-secrets:

dotnet/sdk/6.0.103/DotnetTools/dotnet-user-secrets/6.0.3-servicing.22160.1/tools/net6.0/any/assets/SecretManager.targets

"22154.1" vs "22160.1"

This seems like a bug? Shouldn't rebuilding the same set of source code produce the same version of dotnet-user-secerts?

Activity

  1. ghost added
    area-prebuilts
    on Apr 29, 2022
  2. added
    area-build
    and removed
    area-prebuilts
    on May 5, 2022
  3. moved this from 7.0 Backlog to 8.0 Backlog in .NET Source Buildon Sep 22, 2022
  4. changed the title [-]Rebuilding same sources produces different [/-] [+]Rebuilding same sources produces different package versions[/+] on Oct 24, 2022
  5. MichaelSimons commented on Jun 8, 2023

    @MichaelSimons
    Member

    [Triage] We should validate this is still and issue for 8.0/VMR

  6. moved this from Needs Review to 8.0 Backlog in .NET Source Buildon Jun 8, 2023
  7. omajid commented on Jun 12, 2023

    @omajid
    MemberAuthor

    I built .NET 8 Preview 4 twice, once last week and once today. The file name diff is empty:

    $ diff -u <(tar tf dotnet-sdk-8.0.100-preview.4.23260.1-fedora.38-x64-2023-06-08.tar.gz | sort -u) <(tar tf dotnet-sdk-8.0.100-preview.4.23260.1-fedora.38-x64-2023-06-12.tar.gz | sort -u) 
    $
    

    Both contain ./sdk/8.0.100-preview.4.23260.1/DotnetTools/dotnet-user-secrets/8.0.0-preview.4.23260.4/. So this doesn't seem to affect the VMR anymore.

  8. MichaelSimons commented on Jun 22, 2023

    @MichaelSimons
    Member

    [Triage] Closing as this no longer reproduces in the VMR.

  9. moved this from 8.0 Backlog to Done in .NET Source Buildon Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-builduntriaged

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions