GNU bug report logs - #58411
29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file not found when compiling Emacs

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Mon, 10 Oct 2022 11:07:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 58411 in the body.
You can then email your comments to 58411 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Mon, 10 Oct 2022 11:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Martín <mardani29 <at> yahoo.es>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 10 Oct 2022 11:07:02 GMT) Full text and rfc822 format available.

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

From: Daniel Martín <mardani29 <at> yahoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file not found when
 compiling Emacs
Date: Mon, 10 Oct 2022 13:06:13 +0200
[Message part 1 (text/plain, inline)]
When trying to compile the Emacs Treesiter branch, I got the following
compilation error:

In file included from emacs.c:140:
./treesit.h:23:10: fatal error: 'tree_sitter/api.h' file not found
#include <tree_sitter/api.h>
         ^~~~~~~~~~~~~~~~~~~
1 error generated.

The reason is that the Makefile is not referring to the correct C
compiler flags because of a typo.  I've attached a patch to correct the
problem.

Thanks.

[0001-Fix-typo-in-Makefile.in.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Mon, 10 Oct 2022 21:58:01 GMT) Full text and rfc822 format available.

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

From: Yuan Fu <casouri <at> gmail.com>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: 58411 <at> debbugs.gnu.org
Subject: Re: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file 
 not found when compiling Emacs
Date: Mon, 10 Oct 2022 14:57:48 -0700
Applied, thanks! The previous message didn’t cc debugs for some reason, sorry for the noise.

Yuan




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Tue, 11 Oct 2022 00:42:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 58411 <at> debbugs.gnu.org, Daniel Martín <mardani29 <at> yahoo.es>
Subject: Re: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file
 not found when compiling Emacs
Date: Tue, 11 Oct 2022 02:41:39 +0200
Yuan Fu <casouri <at> gmail.com> writes:

> Applied, thanks! The previous message didn’t cc debugs for some
> reason, sorry for the noise.

The bug report was left open, so I'm closing it now.




bug marked as fixed in version 29.1, send any further explanations to 58411 <at> debbugs.gnu.org and Daniel Martín <mardani29 <at> yahoo.es> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Tue, 11 Oct 2022 00:42:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Tue, 11 Oct 2022 02:36:01 GMT) Full text and rfc822 format available.

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

From: Yuan Fu <casouri <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58411 <at> debbugs.gnu.org, Daniel Martín <mardani29 <at> yahoo.es>
Subject: Re: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file
 not found when compiling Emacs
Date: Mon, 10 Oct 2022 19:35:48 -0700

> On Oct 10, 2022, at 5:41 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> Yuan Fu <casouri <at> gmail.com> writes:
> 
>> Applied, thanks! The previous message didn’t cc debugs for some
>> reason, sorry for the noise.
> 
> The bug report was left open, so I'm closing it now.

Thanks, I tried to close it with debbugs.el but it didn’t seem to work. I hit typed “C done RET” on the bug entry. Is that wrong?

Yuan



Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Tue, 11 Oct 2022 02:41:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 58411 <at> debbugs.gnu.org, Daniel Martín <mardani29 <at> yahoo.es>
Subject: Re: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file
 not found when compiling Emacs
Date: Tue, 11 Oct 2022 04:40:05 +0200
Yuan Fu <casouri <at> gmail.com> writes:

> Thanks, I tried to close it with debbugs.el but it didn’t seem to
> work. I hit typed “C done RET” on the bug entry. Is that wrong?

I think that's supposed to work -- I haven't tried that in a while.  I
always enter the debbugs group first and then use the `C' command there.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Tue, 11 Oct 2022 02:43:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: 58411 <at> debbugs.gnu.org, Daniel Martín <mardani29 <at> yahoo.es>
Subject: Re: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file
 not found when compiling Emacs
Date: Tue, 11 Oct 2022 04:42:11 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> I think that's supposed to work -- I haven't tried that in a while.  I
> always enter the debbugs group first and then use the `C' command there.

I tried it now, and it worked for me.

Perhaps some temporary hiccup on the debbugs side?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#58411; Package emacs. (Tue, 11 Oct 2022 03:19:02 GMT) Full text and rfc822 format available.

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

From: Yuan Fu <casouri <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 58411 <at> debbugs.gnu.org, Daniel Martín <mardani29 <at> yahoo.es>
Subject: Re: bug#58411: 29.0.50; [PATCH] [Treesitter] tree_sitter/api.h file
 not found when compiling Emacs
Date: Mon, 10 Oct 2022 20:18:40 -0700

> On Oct 10, 2022, at 7:42 PM, Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
> 
> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> 
>> I think that's supposed to work -- I haven't tried that in a while.  I
>> always enter the debbugs group first and then use the `C' command there.
> 
> I tried it now, and it worked for me.
> 
> Perhaps some temporary hiccup on the debbugs side?

Thanks, then it’s probably something I did wrong. I’ll try it again next time.

Yuan



bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 08 Nov 2022 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 226 days ago.

Previous Next


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