unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#42860: 28.0.50; Build on OpenBSD fails in jansson.h
@ 2020-08-14 14:29 Lars Ingebrigtsen
  2020-08-14 14:40 ` Eli Zaretskii
  2020-08-16 18:52 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2020-08-14 14:29 UTC (permalink / raw)
  To: 42860; +Cc: Philipp Stephani


This is on OpenBSD 6.6, with "pkg_add jansson", build from Emacs trunk now:

gmake[1]: Entering directory '/home/larsi/src/emacs/trunk/src'
  CC       json.o
In file included from json.c:27:
/usr/local/include/jansson.h: In function 'json_incref':
/usr/local/include/jansson.h:124: warning: implicit declaration of function '__atomic_add_fetch'
/usr/local/include/jansson.h:124: error: '__ATOMIC_ACQUIRE' undeclared (first use in this function)
/usr/local/include/jansson.h:124: error: (Each undeclared identifier is reported only once
/usr/local/include/jansson.h:124: error: for each function it appears in.)
/usr/local/include/jansson.h: In function 'json_decref':
/usr/local/include/jansson.h:134: warning: implicit declaration of function '__atomic_sub_fetch'
/usr/local/include/jansson.h:134: error: '__ATOMIC_RELEASE' undeclared (first use in this function)
gmake[1]: *** [Makefile:401: json.o] Error 1
gmake[1]: Leaving directory '/home/larsi/src/emacs/trunk/src'
gmake: *** [Makefile:424: src] Error 2
*** Error 2 in /home/larsi/src/emacs/trunk (makefile:4 'all')

I haven't investigated further -- I wonder whether it's immediately
obvious to Philipp what the problem is here.  :-)



In GNU Emacs 28.0.50 (build 11, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)
 of 2020-08-13 built on xo
Repository revision: 1bed252ae9109493133a0cc3e9aad9e9a5ddde37
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12008000
System Description: Debian GNU/Linux bullseye/sid


-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no






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

end of thread, other threads:[~2020-08-16 19:05 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-14 14:29 bug#42860: 28.0.50; Build on OpenBSD fails in jansson.h Lars Ingebrigtsen
2020-08-14 14:40 ` Eli Zaretskii
2020-08-14 14:44   ` Lars Ingebrigtsen
2020-08-14 14:50     ` Eli Zaretskii
2020-08-14 14:55       ` Lars Ingebrigtsen
2020-08-14 14:44   ` Eli Zaretskii
2020-08-14 14:46     ` Lars Ingebrigtsen
2020-08-16 18:52 ` Lars Ingebrigtsen
2020-08-16 19:05   ` Lars Ingebrigtsen

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).