emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build breaks on emacs-27 branch on macOS


From: Robert Pluim
Subject: Re: Build breaks on emacs-27 branch on macOS
Date: Tue, 07 Jan 2020 11:46:09 +0100

>>>>> On Tue, 07 Jan 2020 08:16:28 +0000, Boris <address@hidden> said:

    Boris> Hi everyone,
    Boris> It seems that commit 9063124b9125ed5e2ad87bbb8bd6224526723a92 
(branch emacs-27) breaks build on macOS with following error during make step:

    Boris> clang -c  -Demacs  -I. -I. -I../lib -I../lib      
-I/usr/local/Cellar/libffi/3.2.1/lib/libffi-3.2.1/include 
-I/usr/local/Cellar/libpng/1.6.37/include/libpng16 
-I/usr/local/opt/freetype/include/freetype2 
-I/usr/local/Cellar/fontconfig/2.13.1/include 
-I/usr/local/Cellar/pcre/8.43/include -I/usr/local/Cellar/glib/2.62.4/include 
-I/usr/local/Cellar/glib/2.62.4/include/glib-2.0 
-I/usr/local/Cellar/glib/2.62.4/lib/glib-2.0/include 
-I/usr/local/opt/gettext/include 
-I/usr/local/Cellar/pixman/0.38.4/include/pixman-1 
-I/usr/local/Cellar/cairo/1.16.0_2/include/cairo 
-I/usr/local/Cellar/gdk-pixbuf/2.40.0/include/gdk-pixbuf-2.0 
-I/usr/local/Cellar/librsvg/2.46.4/include/librsvg-2.0 -Xpreprocessor -fopenmp 
-DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 -Xpreprocessor 
-fopenmp -DMAGICKCORE_HDRI_ENABLE=1 -DMAGICKCORE_QUANTUM_DEPTH=16 
-I/usr/local/Cellar/imagemagick/7.0.9-14/include/ImageMagick-7  
-I/usr/include/libxml2       -I/usr/local/Cellar/little-cms2/2.9/include       
-MMD -MF deps/nsterm.d -MP  -I/usr/local/Cellar/jansson/2.12/include 
-I/usr/local/Cellar/libtasn1/4.15.0/include 
-I/usr/local/Cellar/nettle/3.4.1/include 
-I/usr/local/Cellar/p11-kit/0.23.18.1/include/p11-kit-1 
-I/usr/local/Cellar/gnutls/3.6.11.1/include    -Wno-switch -Wno-pointer-sign 
-Wno-string-plus-int -Wno-unknown-attributes -Wno-initializer-overrides 
-Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare -g3 
-O2   nsterm.m
    Boris> systhread.c:236:44: error: too many arguments to function call, 
expected 1, have 2
    Boris>           pthread_setname_np (*thread_ptr, p_name);
    Boris>           ~~~~~~~~~~~~~~~~~~               ^~~~~~
    Boris> 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/pthread.h:512:1:
 note: 'pthread_setname_np' declared here
    Boris> __API_AVAILABLE(macos(10.6), ios(3.2))
    Boris> ^
    Boris> 
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/usr/include/Availability.h:496:162:
 note: expanded from macro '__API_AVAILABLE'
    Boris>     #define __API_AVAILABLE(...) 
__API_AVAILABLE_GET_MACRO(__VA_ARGS__,__API_AVAILABLE7, __API_AVAILABLE6, 
__API_AVAILABLE5, __API_AVAILABLE4, __API_AVAILABLE3, __API_AVAILABLE2, 
__API_AVAILABLE1, 0)(__VA_ARGS__)

    Boris> Using macOS Catalina 10.15.1, Xcode 11.3.

Yes. A patch is in progress.

Thanks

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]