From: Pankaj Jangid <p4j@j4d.net>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 38349@debbugs.gnu.org
Subject: bug#38349: 27.0.50; process.c:134:10: fatal error: 'glib.h' file not found
Date: Sat, 23 Nov 2019 18:17:05 +0000 [thread overview]
Message-ID: <0100016e997b4e26-6db81512-74bf-46a8-abda-269ff218d8a8-000000@email.amazonses.com> (raw)
In-Reply-To: <83mucmtqwk.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 23 Nov 2019 19:59:39 +0200")
Eli Zaretskii <eliz@gnu.org> writes:
>> Got this today while building commit
>> b9e99ab5ac49f8cb03fc1c27eb830a24e9bdf83c.
>>
>> ``` /Library/Developer/CommandLineTools/usr/bin/make -C src
>> VCSWITNESS='$(srcdir)/../.git/logs/HEAD' all
>> CC process.o process.c:134:10: fatal error: 'glib.h' file not found
>> #include <glib.h>
>> ^~~~~~~~ 1 error generated.
>
> That line is in process.c since 2013, so what changed lately on your
> system that suddenly this is a problem? Did you update your system
> libraries or headers?
>
Yes, glib got updated today when I ran 'brew upgrade' today. But that
was a minor upgrade from 2.62.2 to 2.62.3. Here is the log,
==> Upgrading glib ==> Downloading
https://homebrew.bintray.com/bottles/glib-2.62.3.catalina.bottle.tar.gz
==> Downloading from
https://akamai.bintray.com/e4/e47b36ad0d3f8380b995573d5f545526bd6977a3196a282d91547d92d56c52f0?__gda__=exp=1574514686~hmac=ccae058958b112e9f2c2d5e76f0b940794c32a7f50e27170de5f2f259e65
########################################################################
100.0% ==> Pouring glib-2.62.3.catalina.bottle.tar.gz ==> Caveats Bash
completion has been installed to:
/usr/local/etc/bash_completion.d ==> Summary 🍺
/usr/local/Cellar/glib/2.62.3: 435 files, 15.4MB Removing:
/usr/local/Cellar/glib/2.62.1... (435 files, 15.4MB) Removing:
/usr/local/Cellar/glib/2.62.2... (435 files, 15.4MB)
>> Configured using:
>> 'configure LDFLAGS=-L/usr/local/opt/ruby/lib
>> CPPFLAGS=-I/usr/local/opt/ruby/include
>> PKG_CONFIG_PATH=:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/ruby/lib/pkgconfig
>> 'HARFBUZZ_CFLAGS=-I/usr/local/Cellar/harfbuzz/2.6.4/include/harfbuzz
>> -I/usr/local/Cellar/glib/2.62.2/include/glib-2.0
>> -I/usr/local/Cellar/glib/2.62.2/lib/glib-2.0/include
>> -I/usr/local/opt/gettext/include
>> -I/usr/local/Cellar/pcre/8.43/include
>> -I/usr/local/Cellar/graphite2/1.3.13/include'
>> 'HARFBUZZ_LIBS=-L/usr/local/Cellar/harfbuzz/2.6.4/lib -lharfbuzz''
>
> Isn't HarfBuzz not yet supported on macOS? Why do you have HarfBuzz
> related flags in your compilation?
>
> Perhaps look in config.log for how HAVE_GLIB got defined, if you don't
> have it.
>
When I was trying to configure with HarfBuzz support last week, I
created environment variable. I was trying various ways to include
HarfBuzz. I wasn't aware that HarfBuzz support is not yet implemented on
MacOS. But even with this setting earlier commits worked just fine.
HAVE_GLIB is defined.
Let me just do a "make bootstrap" and report in a while.
Regards,
--
Pankaj Jangid
next prev parent reply other threads:[~2019-11-23 18:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-23 17:32 bug#38349: 27.0.50; process.c:134:10: fatal error: 'glib.h' file not found Pankaj Jangid
2019-11-23 17:59 ` Eli Zaretskii
2019-11-23 18:17 ` Pankaj Jangid [this message]
[not found] ` <m2o8x2sbj8.fsf@j4d.net>
2019-11-23 18:39 ` Pankaj Jangid
2019-11-23 18:42 ` Eli Zaretskii
2019-11-23 18:34 ` Alan Third
2019-11-23 18:40 ` Pankaj Jangid
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0100016e997b4e26-6db81512-74bf-46a8-abda-269ff218d8a8-000000@email.amazonses.com \
--to=p4j@j4d.net \
--cc=38349@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).