GNU bug report logs - #66772
30.0.50; Other directory build fails on OpenBSD

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Fri, 27 Oct 2023 09:08:01 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Manuel Giraud <manuel <at> ledu-giraud.fr>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 66772 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>
Cc: 66772 <at> debbugs.gnu.org
Subject: Re: bug#66772: 30.0.50; Other directory build fails on OpenBSD
Date: Fri, 27 Oct 2023 13:42:42 +0300
> Date: Fri, 27 Oct 2023 11:07:10 +0200
> From:  Manuel Giraud via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Emacs is built correctly from the source directory but when I try to
> build from another directory (as describe in INSTALL) it fails.  I have
> entered the following commands:
> 
>         $ env CC=egcc MAKEINFO=gmakeinfo ~/emacs-repo/configure
>         $ make
> 
> And here is the error I get:
> 
> --8<---------------cut here---------------start------------->8---
>   CCLD     emacsclient
> In file included from /usr/include/signal.h:38,
>                  from /home/manuel/emacs-repo/lib-src/../lib/signal.h:52,
>                  from /home/manuel/emacs-repo/lib-src/../lib/sys/select.h:131,
>                  from ../lib/sys/select.h:57,
>                  from /usr/include/sys/time.h:38,
>                  from /home/manuel/emacs-repo/lib-src/../lib/sys/time.h:46,
>                  from ../lib/sys/time.h:46,
>                  from /usr/include/sys/siginfo.h:130,
>                  from /usr/include/sys/wait.h:39,
>                  from /home/manuel/emacs-repo/lib-src/../src/syswait.h:29,
>                  from /home/manuel/emacs-repo/lib-src/emacsclient.c:50:
> /usr/include/sys/signal.h:115:48: error: unknown type name 'siginfo_t'
>   115 |                 void    (*__sa_sigaction)(int, siginfo_t *, void *);
>       |                                                ^~~~~~~~~

Please try to figure out why this happens, and how does the in-place
build avoid this, as I don't have access to an OpenBSD system to do
that myself.

Thanks.




This bug report was last modified 1 year and 262 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.