Skip to content

homebrew upgrade failed with error: 1.5.1 -> 2.0.0 #429

Description

@gigaimage

Full cmake logs attached.

02.cmake.log


/private/tmp/libultrahdr-20260808-17310-oa0fb6/libultrahdr-2.0.0/lib/src/avifultrahdr.cpp:664:20: error: use of undeclared identifier 'heif_image_handle_ge│
│    HEIF_ERR_CHECK(heif_image_handle_get_gain_map_image_handle(base_handle, &gainmap_handle))                                                              │
│                   ^                                                                                                                                       │
│/private/tmp/libultrahdr-20260808-17310-oa0fb6/libultrahdr-2.0.0/lib/src/heifultrahdr.cpp:734:11: error: use of undeclared identifier 'heif_image_handle_ge│
│    err = heif_image_handle_get_derived_image_nclx_color_profile(base_handle, &nclx);                                                                      │
│          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                           │
│          heif_image_handle_get_nclx_color_profile                                                                                                         │
│/usr/local/include/libheif/heif_color.h:227:12: note: 'heif_image_handle_get_nclx_color_profile' declared here                                             │
│heif_error heif_image_handle_get_nclx_color_profile(const heif_image_handle* handle,                                                                       │
│           ^                                                                                                                                               │
│/private/tmp/libultrahdr-20260808-17310-oa0fb6/libultrahdr-2.0.0/lib/src/avifultrahdr.cpp:734:11: error: use of undeclared identifier 'heif_image_handle_ge│
│    err = heif_image_handle_get_derived_image_nclx_color_profile(base_handle, &nclx);                                                                      │
│          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                                                                           │
│          heif_image_handle_get_nclx_color_profile                                                                                                         │
│/usr/local/include/libheif/heif_color.h:227:12: note: 'heif_image_handle_get_nclx_color_profile' declared here                                             │
│heif_error heif_image_handle_get_nclx_color_profile(const heif_image_handle* handle,                                                                       │
│           ^                                                                                                                                               │
│[ 85%] Building CXX object CMakeFiles/core.dir/lib/src/jpegr.cpp.o                                                                                         │
│/usr/local/Homebrew/Library/Homebrew/shims/mac/super/bin/clang++  -I/private/tmp/libultrahdr-20260808-17310-oa0fb6/libultrahdr-2.0.0/lib/include -I/usr/loc│
│5 errors generated.                                                                                                                                        │
│5 errors generated.                                                                                                                                        │
│make[2]: *** [CMakeFiles/core.dir/lib/src/heifultrahdr.cpp.o] Error 1                                                                                      │
│make[2]: *** Waiting for unfinished jobs....                                                                                                               │
│make[2]: *** [CMakeFiles/core.dir/lib/src/avifultrahdr.cpp.o] Error 1                                                                                      │
│[ 87%] Building CXX object CMakeFiles/core.dir/lib/src/jpegrutils.cpp.o                                                                                    │
│/usr/local/Homebrew/Library/Homebrew/shims/mac/super/bin/clang++  -I/private/tmp/libultrahdr-20260808-17310-oa0fb6/libultrahdr-2.0.0/lib/include -I/usr/loc│
│make[1]: *** [CMakeFiles/core.dir/all] Error 2                                                                                                             │
│make: *** [all] Error 2   

Additional info:

system_profiler SPSoftwareDataType
Software:
System Version: macOS 12.7.6 (21H1320)
Kernel Version: Darwin 21.6.0
Boot Volume: Macintosh HD
Boot Mode: Normal

λ system_profiler SPHardwareDataType
Hardware:

Hardware Overview:

  Model Name: MacBook Pro
  Model Identifier: MacBookPro11,5
  Processor Name: Quad-Core Intel Core i7
  Processor Speed: 2.8 GHz
  Number of Processors: 1
  Total Number of Cores: 4
  L2 Cache (per Core): 256 KB
  L3 Cache: 6 MB
  Hyper-Threading Technology: Enabled
  Memory: 16 GB

brew config
HOMEBREW_VERSION: 6.0.15
ORIGIN: https://github.com/Homebrew/brew
HEAD: 7b0f22a4ab77567edef114c8dfc423fb96e2fbaa
Last commit: 6 days ago
Branch: stable
Core tap: N/A
Core cask tap: N/A
HOMEBREW_PREFIX: /usr/local
HOMEBREW_FORCE_BREWED_CURL: set
HOMEBREW_GITHUB_API_TOKEN: set
Homebrew Ruby: 4.0.6 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/4.0.6/bin/ruby
CPU: octa-core 64-bit haswell
Clang: 14.0.0 build 1400
Git: 2.55.0 => /usr/local/bin/git
Curl: 8.21.0 => /usr/local/opt/curl/bin/curl
macOS: 12.7.6-x86_64
CLT: 14.2.0.0.1.1668646533
Xcode: 14.2

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions