[MacPorts] #61262: ImageMagick @6.9.11-31: build fails using Xcode 12.0.1 (implicit-function-declaration)

MacPorts noreply at macports.org
Fri Oct 2 18:31:36 UTC 2020


#61262: ImageMagick @6.9.11-31: build fails using Xcode 12.0.1 (implicit-function-
declaration)
---------------------+-------------------------
 Reporter:  dbevans  |      Owner:  ryandesign
     Type:  defect   |     Status:  assigned
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:
 Keywords:           |       Port:  ImageMagick
---------------------+-------------------------
 {{{
 macOS 10.15.7 19H2
 Xcode 12.0.1 12A7300
 }}}


 {{{
 :info:build libtool: compile:  /usr/bin/clang -DHAVE_CONFIG_H -I.
 -I./config -I. -I. -I/opt/local/include
 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
 -I/opt/local/include/libxml2 -I/opt/local/include/libraw
 -I/opt/local/include/libpng16 -D_THREAD_SAFE -I/opt/local/include/OpenEXR
 -I/opt/local/include/openjpeg-2.3 -I/opt/local/include/freetype2
 -I/opt/local/include/libpng16 -I/opt/local/include/ossp
 -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -Wall -pipe
 -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk
 -arch x86_64 -fexceptions -D_FORTIFY_SOURCE=0 -pthread
 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -MT magick
 /libMagickCore_6_Q16_la-client.lo -MD -MP -MF magick/.deps
 /libMagickCore_6_Q16_la-client.Tpo -c magick/client.c -o magick
 /libMagickCore_6_Q16_la-client.o >/dev/null 2>&1
 :info:build magick/cache.c:815:17: error: implicit declaration of function
 'sendfile' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
 :info:build
 count=sendfile(clone_info->file,cache_info->file,(off_t *) NULL,
 :info:build                 ^
 :info:build 1 error generated.

 }}}

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


More information about the macports-tickets mailing list