unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Build breaks on emacs-27 branch on macOS
@ 2020-01-07  8:16 Boris
  2020-01-07 10:22 ` Mattias Engdegård
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Boris @ 2020-01-07  8:16 UTC (permalink / raw)
  To: emacs-devel@gnu.org

Hi everyone,

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

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
systhread.c:236:44: error: too many arguments to function call, expected 1, have 2
          pthread_setname_np (*thread_ptr, p_name);
          ~~~~~~~~~~~~~~~~~~               ^~~~~~
/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
__API_AVAILABLE(macos(10.6), ios(3.2))
^
/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'
    #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__)

Using macOS Catalina 10.15.1, Xcode 11.3.

Please let me know if any other information is required.

Cheers,
boris@d12frosted.io





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build breaks on emacs-27 branch on macOS
  2020-01-07  8:16 Build breaks on emacs-27 branch on macOS Boris
@ 2020-01-07 10:22 ` Mattias Engdegård
  2020-01-07 10:33 ` Pankaj Jangid
  2020-01-07 10:46 ` Robert Pluim
  2 siblings, 0 replies; 6+ messages in thread
From: Mattias Engdegård @ 2020-01-07 10:22 UTC (permalink / raw)
  To: Boris; +Cc: emacs-devel@gnu.org

7 jan. 2020 kl. 09.16 skrev Boris <boris@d12frosted.io>:

> commit 9063124b91[...] breaks build on macOS

Thanks for the report. See also https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38632#51 .




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build breaks on emacs-27 branch on macOS
  2020-01-07  8:16 Build breaks on emacs-27 branch on macOS Boris
  2020-01-07 10:22 ` Mattias Engdegård
@ 2020-01-07 10:33 ` Pankaj Jangid
  2020-01-07 10:46 ` Robert Pluim
  2 siblings, 0 replies; 6+ messages in thread
From: Pankaj Jangid @ 2020-01-07 10:33 UTC (permalink / raw)
  To: Boris; +Cc: emacs-devel@gnu.org

Boris <boris@d12frosted.io> writes:
> It seems that commit 9063124b9125ed5e2ad87bbb8bd6224526723a92 (branch emacs-27) breaks build on macOS with following error during make step:

Yes. This is already in works. There are two open issues related to
this,

38632,39003

Regards
Pankaj



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build breaks on emacs-27 branch on macOS
  2020-01-07  8:16 Build breaks on emacs-27 branch on macOS Boris
  2020-01-07 10:22 ` Mattias Engdegård
  2020-01-07 10:33 ` Pankaj Jangid
@ 2020-01-07 10:46 ` Robert Pluim
  2020-01-07 14:06   ` Boris
  2 siblings, 1 reply; 6+ messages in thread
From: Robert Pluim @ 2020-01-07 10:46 UTC (permalink / raw)
  To: Boris; +Cc: emacs-devel@gnu.org

>>>>> On Tue, 07 Jan 2020 08:16:28 +0000, Boris <boris@d12frosted.io> 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



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build breaks on emacs-27 branch on macOS
  2020-01-07 10:46 ` Robert Pluim
@ 2020-01-07 14:06   ` Boris
  2020-01-07 17:25     ` Boris
  0 siblings, 1 reply; 6+ messages in thread
From: Boris @ 2020-01-07 14:06 UTC (permalink / raw)
  To: Robert Pluim; +Cc: emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2689 bytes --]

Thanks everyone!

On Tue, Jan 7, 2020 at 12:46, Robert Pluim <rpluim@gmail.com> wrote:

>>>>>> On Tue, 07 Jan 2020 08:16:28 +0000, Boris <boris@d12frosted.io> 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

[-- Attachment #2: Type: text/html, Size: 3076 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Build breaks on emacs-27 branch on macOS
  2020-01-07 14:06   ` Boris
@ 2020-01-07 17:25     ` Boris
  0 siblings, 0 replies; 6+ messages in thread
From: Boris @ 2020-01-07 17:25 UTC (permalink / raw)
  To: Boris; +Cc: Robert Pluim, emacs-devel@gnu.org

[-- Attachment #1: Type: text/plain, Size: 2997 bytes --]

Not sure how to join that thread, so going to say it here.

The latest patch from that thread fixes compilation! :)

Cheers,
boris@d12frosted.io

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, January 7, 2020 4:06 PM, Boris <boris@d12frosted.io> wrote:

> Thanks everyone!
>
> On Tue, Jan 7, 2020 at 12:46, Robert Pluim <rpluim@gmail.com> wrote:
>
>>>>>>> On Tue, 07 Jan 2020 08:16:28 +0000, Boris <boris@d12frosted.io> 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

[-- Attachment #2: Type: text/html, Size: 3970 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-01-07 17:25 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-07  8:16 Build breaks on emacs-27 branch on macOS Boris
2020-01-07 10:22 ` Mattias Engdegård
2020-01-07 10:33 ` Pankaj Jangid
2020-01-07 10:46 ` Robert Pluim
2020-01-07 14:06   ` Boris
2020-01-07 17:25     ` Boris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).