From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ayatakesi Newsgroups: gmane.emacs.bugs Subject: bug#66507: 30.0.50; Cannot build some modules without adding LOCAL_EXPORT_CFLAGS=-isystem ... on Android port. Date: Mon, 16 Oct 2023 02:35:32 +0900 Message-ID: References: <8734yfbabg.fsf@yahoo.com> <87ttqv9ku1.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40878"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: 66507-done@debbugs.gnu.org To: Po Lu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 15 19:37:12 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qs53A-000AQ6-Bg for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Oct 2023 19:37:12 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qs52d-0004aS-V1; Sun, 15 Oct 2023 13:36:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qs52c-0004Zl-TM for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 13:36:38 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qs52c-0008Bm-Le for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 13:36:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qs530-0006fF-HB for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2023 13:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ayatakesi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2023 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66507 X-GNU-PR-Package: emacs Original-Received: via spool by 66507-done@debbugs.gnu.org id=D66507.169739136925373 (code D ref 66507); Sun, 15 Oct 2023 17:37:02 +0000 Original-Received: (at 66507-done) by debbugs.gnu.org; 15 Oct 2023 17:36:09 +0000 Original-Received: from localhost ([127.0.0.1]:54058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs528-0006bB-NX for submit@debbugs.gnu.org; Sun, 15 Oct 2023 13:36:09 -0400 Original-Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]:52475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qs525-0006aa-Lq for 66507-done@debbugs.gnu.org; Sun, 15 Oct 2023 13:36:07 -0400 Original-Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6ba172c5f3dso765941b3a.0 for <66507-done@debbugs.gnu.org>; Sun, 15 Oct 2023 10:35:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697391335; x=1697996135; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=dLN9+FNgx134gfu6xnSQauf2E85mOC88K+XjFnkyzeE=; b=XVM0ZyiRvDqRZtOrtYQ2UrR6c2lQKcYSjfX7ksYKk6L+DV2e7inT+AL8fsViUYCIZq 1PQqGz+Els8ckabIj8iOUmQWkmUTquy6/ifafC/ylUc2RCuHMFlHMdpQg1BmYAQVm3rW U5yL0tYL/V+tyErlCgkLr9z4TgYPdoV4oHT5NmIUiexvEcxUYwuuAayy5spY/Y0zdhTr 7HOWr71QTgw/F4lBEFs8XIyrR5sAyHc0jmyjcRFaAWCNKA1bD5pQe6TMu2iIBKmtfFXD R/QZ04yd/JNap0p34/Vw6bPH+OtnexI68mdqi1grSreB0DRUvBdGxBbc+mLPD5/7EFAJ jteQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697391335; x=1697996135; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dLN9+FNgx134gfu6xnSQauf2E85mOC88K+XjFnkyzeE=; b=lSix+sPhR8rNCYmw1YGzwFJJCDN3vzxzsNqtE/dmXbMU/qQ5MtAUtQEpcB9p+qaXe4 76FQyLqsrADld38sCuzf0YZKYicw2YIIIUJvE3rTSEafwS9ckARX9ed/kTizN64zj6v7 PsHG8IOmsM00ftMujsG55OolkZhxP6onrOXJqdCH5GgDynCsccnZptSnFfywy1swLBNy cXLD4B/BQ87UiILsdc3bDgQ84nurZytTc8yOnSxxTqyZpBlLOYJZ80WPviXENdzPG+/J 14cwN+oM4iCu2G+JBMLhv6LAMT5G7c4c69L4b0HL/LBEWsNyg7yghmiTuHEUxXC59u3F 9zrw== X-Gm-Message-State: AOJu0YxvL1rj8+sktTg9PHYxXlHP/k1d5l8QsISoc+rshgq6GvashTvB AUVBrGu4Vzgh8aU4jhOtiqo= X-Google-Smtp-Source: AGHT+IE271XKYx6V+AZ3hApl7lWKDyOkdtdO1SkbKpcRwuWkfS6KeuXg3eKH5S3y7SM9qfaaAxH1Ng== X-Received: by 2002:a05:6a20:8422:b0:140:730b:4b3f with SMTP id c34-20020a056a20842200b00140730b4b3fmr39298117pzd.1.1697391335366; Sun, 15 Oct 2023 10:35:35 -0700 (PDT) Original-Received: from localhost ([2400:4052:4801:8100:5529:77f1:20cb:182c]) by smtp.gmail.com with ESMTPSA id j2-20020a170902da8200b001bc676df6a9sm6977482plx.132.2023.10.15.10.35.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 10:35:34 -0700 (PDT) In-Reply-To: (Takesi Ayanokoji's message of "Fri, 13 Oct 2023 15:40:27 +0900") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:272529 Archived-At: Hello, again I tried LOCAL_EXPORT_C_INCLUDE_DIRS, and worked fine except core/libpackagelistparser. When I build libpackagelistparser, make failed with /home/runner/work/my-emacs/my-emacs/my_sub_modules/core/libpackagelistparser//packagelistparser.c:30:10: fatal error: 'utils/Log.h' file not found #include ^~~~~~~~~~~~~ I cloned core package from Google, and I specify such bellow directory structure: core |-libpackagelistparser Android.mk |-utils |-include Log.h in Android.mk: LOCAL_EXPORT_C_INCLUDE_DIRS += $(LOCAL_PATH)/../include But LOCAL_EXPORT_C_INCLUDE_DIRS and LOCAL_EXPORT_C_INCLUDES did not work except LOCAL_EXPORT_CFLAGS. Takesi Ayanokoji writes: > Hello, > > I will try LOCAL_EXPORT_C_INCLUDE_DIRS instead. > > Thanks, > > 2023年10月13日(金) 午後2:02 Po Lu : > > Takesi Ayanokoji 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.