GNU bug report logs - #66507
30.0.50; Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.

Previous Next

Package: emacs;

Reported by: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>

Date: Thu, 12 Oct 2023 21:19:01 UTC

Severity: normal

Found in version 30.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Po Lu <luangruo <at> yahoo.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#66507: closed (30.0.50; Cannot build some modules without
 adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.)
Date: Fri, 13 Oct 2023 05:03:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 13 Oct 2023 13:01:58 +0800
with message-id <87ttqv9ku1.fsf <at> yahoo.com>
and subject line Re: bug#66507: 30.0.50; Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.
has caused the debbugs.gnu.org bug report #66507,
regarding 30.0.50; Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
66507: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66507
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50;
 Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem
 ... on Android port.
Date: Fri, 13 Oct 2023 06:17:50 +0900
[Message part 3 (text/plain, inline)]
Hello,

Duaring building Emacs Android port, I encountered some modules that could
not build without specifying system include header file by -isystem.

These modules are

libxml2:
add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/include
 to its Android.mk.

lbjansson:
add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/src -I
$(LOCAL_PATH)/android
 to its Android.mk

core/libpackagelistparser:
add LOCAL_EXPORT_CFLAGS := -isystem $(LOCAL_PATH)/../include
(I installed it from core/libpackagelistparser)

Thanks,
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Po Lu <luangruo <at> yahoo.com>
To: Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com>
Cc: 66507-done <at> debbugs.gnu.org
Subject: Re: bug#66507: 30.0.50; Cannot build some modules without adding
 LOCAL_EXPORT_CFLAGS=-isystem ... on Android port.
Date: Fri, 13 Oct 2023 13:01:58 +0800
Takesi Ayanokoji <ayanokoji.takesi <at> gmail.com> writes:

> Hello Po- san.
>
> Unfortunately it doesn't seem to be mentioned in the java/INSTALL.

I've now repaired these ommissions; that being said, I opted to
recommend modifications to the Makefiles different from those you
mentioned, for include paths are customarily exported through the
variable LOCAL_EXPROT_C_INCLUDE_DIRS, not variables meant for exporting
CFLAGS.


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

Previous Next


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