Opened 4 years ago
Closed 4 years ago
#61262 closed defect (fixed)
ImageMagick @6.9.11-31: build fails using Xcode 12.0.1 (implicit-function-declaration)
Reported by: | dbevans (David B. Evans) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | chrstphrchvz (Christopher Chavez), ballapete (Peter "Pete" Dyballa) |
Port: | ImageMagick |
Description
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.
Attachments (1)
Change History (6)
Changed 4 years ago by dbevans (David B. Evans)
comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
There is recent upstream work addressing this: see https://github.com/ImageMagick/ImageMagick6/commit/3417f41c34 and https://github.com/ImageMagick/ImageMagick6/commit/6ecb84f400.
comment:2 Changed 4 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
comment:3 Changed 4 years ago by ballapete (Peter "Pete" Dyballa)
Cc: | ballapete added |
---|
comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | haspatch added |
---|---|
Status: | assigned → accepted |
Thanks David for reporting this and Christopher for finding those commits.
comment:5 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note: See
TracTickets for help on using
tickets.
Build log showing failure