Skip to content

Call for help: build failure: tensorflow #250245

@tjni

Description

@tjni

Tensorflow is not failing on unstable yet, but it is on staging-next, and we need your help to fix it. The gist is that protobuf and abseil were updated in #244539, and a good amount of effort (#248231, #248306, #248532, #248536, #249420, #249692, #249752, #249883, #249995, #250193, d90b1cd) has gone into either fixing or pinning protobuf to fix various packages. A couple of us have tried with tensorflow (pinning and fixing) and have not been successful.

Build log

/nix/store/1z4w76wz18jajq9r8p18li7ixq4y3ggk-protobuf-3.23.4/include/google/protobuf/port_def.inc:219:15: error: static assertion failed: Protobuf only supports Abseil version 20230125.3 and newer.
  219 | static_assert(PROTOBUF_ABSL_MIN(20230125, 3),
      |               ^~~~~~~~~~~~~~~~~

https://hydra.nixos.org/build/231981394/nixlog/1
https://hydra.nixos.org/build/231934096/nixlog/2

Additional context

Some ideas:

  1. Update tensorflow to the latest version and hope it fixes this or gets closer to it?
  2. Pin protobuf somehow? (How do we make sure nothing else in the closure brings in a newer version?)
  3. Update abseil somehow? (tensorflow/tensorflow@ad938db is a template though that change is confusing, and I don't think it updates it enough, Update Abseil to fix MSVC compile error tensorflow/tensorflow#61582 looks incomplete)

Notify maintainers

Looking for someone who is invested and more knowledgeable about this package to please help out. Tagging a couple of folks who I've seen involved with tensorflow on GitHub or Discourse: @abbradar @samuela @risicle @Minnozz @SomeoneSerge @NixOS/cuda-maintainers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions