Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-10812

media-gfx/openvdb fails to emerge due to an unnecessary patch on next and break install on 1.4-release

    • Icon: Bug Bug
    • Resolution: Fixed Earlier
    • Icon: Medium (Ebuild) Medium (Ebuild)
    • None
    • None
    • None
    • Impacts Blender

      media-gfx/openvdb fails in source preparation phase with this, partial log:

       * Applying openvdb-9.0.0-numpy.patch ...
      patching file openvdb/openvdb/python/CMakeLists.txt
      Hunk #1 FAILED at 55.
      Hunk #2 FAILED at 85.
      Hunk #3 FAILED at 230.
      3 out of 3 hunks FAILED -- saving rejects to file openvdb/openvdb/python/CMakeLists.txt.rej
       [ !! ]
       * ERROR: media-gfx/openvdb-10.0.1::media-kit failed (prepare phase):
       *   patch -p1  failed with /var/tmp/portage/media-gfx/openvdb-10.0.1/files/openvdb-9.0.0-numpy.patch
      

      Looking at the patch itself, it says it is taken from portions of this pull request, while taking a close look, it appears to be this commit specifically. This pull request and thus this relevant commit has already been merged upstream and is present in openvdb version 10.0.1 which is the version currently in funtoo's portage tree. Deleting line 70 of the openvdb ebuild, the line containing

      "${FILESDIR}/${PN}-9.0.0-numpy.patch"

      makes openvdb emerge just fine.

      Therefore, openvdb-9.0.0-numpy.patch ought to be removed.

            Unassigned Unassigned
            librin.so.1 librin.so.1
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: