[MacPorts] #62465: Building libheif-1.11.0 fails with a link error

MacPorts noreply at macports.org
Tue Mar 16 10:43:38 UTC 2021


#62465: Building libheif-1.11.0 fails with a link error
------------------------+---------------------
 Reporter:  janflyborg  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.4
 Keywords:              |       Port:  libheif
------------------------+---------------------
 When updating the libheif port I receive the following link error:


 {{{
 :info:build libtool: link: /usr/bin/clang++ -I.. -I../.
 -I/opt/local/include/libpng16 -pipe -Os -s
 tdlib=libc++
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX11.2.sdk -arch
 x86_64 -std=gn
 u++11 -Wall -Werror -Wsign-compare -Wconversion -Wno-sign-conversion -Wno-
 error=conversion -Wno-er
 ror=unused-parameter -Wno-error=deprecated-declarations -Wno-error
 =potentially-evaluated-expressio
 n -Wl,-headerpad_max_install_names -Wl,-syslibroot
 -Wl,/Library/Developer/CommandLineTools/SDKs/Ma
 cOSX11.2.sdk -arch x86_64 -o .libs/heif-convert heif_convert-encoder.o
 heif_convert-heif_convert.o
  heif_convert-encoder_y4m.o heif_convert-encoder_jpeg.o heif_convert-
 encoder_png.o  -L/opt/local/l
 ib ../libheif/.libs/libheif.dylib -lde265 -lx265 -ldav1d -ljpeg -lpng16
 -lpthread
 :info:build Undefined symbols for architecture x86_64:
 :info:build   "_jpeg_write_icc_profile", referenced from:
 :info:build       JpegEncoder::Encode(heif_image_handle const*, heif_image
 const*, std::__1::basic
 _string<char, std::__1::char_traits<char>, std::__1::allocator<char> >
 const&) in heif_convert-enc
 oder_jpeg.o
 :info:build ld: symbol(s) not found for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 :info:build make[2]: *** [heif-convert] Error 1
 }}}


 Some dependency seems to be missing from this port.

-- 
Ticket URL: <https://trac.macports.org/ticket/62465>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list