Mohammad Akhlaghi wrote:
> by adding a '-I' for the built bootstrap directory to all
> Gnuastro's programs and libraries, the problem was fixed:
OK. To me, it looks like the documentation [1] mentions it already.
The gnulib-tool output also mentions:
"You may need to add #include directives for
With your help, I found the problem and fixed it, thank you. Here is the
complete explanation:
When I ran that command, I got this compiler error:
cc1: error: to generate dependencies you must specify either ‘-M’ or ‘-MM’
So I replaced '-MT' with '-MM' and it gave me this output:
arithmetic-b
On 11/27/20 3:35 PM, Mohammad Akhlaghi wrote:
there isn't any 'stdio.h' in either of '/dev/shm/gnuastro-0.13.58-dad9/lib' or
'/src/dir/gnuastro/lib'.
What is the preprocessor output of the failing command? You should be able to
get this by running:
gcc -DHAVE_CONFIG_H -I. -I/src/dir/gnuastro
nual/html_node/Dependencies-from-package-managers.html
---- Forwarded Message
Subject: Re: warning _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM
Date: Fri, 27 Nov 2020 14:07:44 +
From: Mohammad Akhlaghi
To: Paul Eggert
CC: Gnulib bugs
I found the Gnulib commit causing the problem:
387d654c
Mohammad Akhlaghi wrote:
> But I got many warnings related to '_GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM' in
> 'error.h' and 'argp.h'. You can see some of them in the P.S, and the
> full build log (with the warnings in the middle of the build commands)
> is available in this compressed text file:
>
> ht
I found the Gnulib commit causing the problem:
387d654cabd7bc1594b1fc8d195cd9b66f820296
or
http://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=387d654cabd7b
Gnuastro (on Commit c70f16c8f13c) builds with no warnings when
bootstrapped with the previous Gnulib commit (cb432e7d6144). But on this
Thank you very much Paul,
I just pulled from Gnulib and built Gnuastro (both the most recent
commits at this moment) and shown below. But the problem remained.
Gnulib: 90e79512d8b385801218d6e9c4d88ff77186560b
Gnuastro: c70f16c8f13ccdb8ad606a33a526846180748284
Just for the record, I am using
On 11/25/20 5:09 AM, Mohammad Akhlaghi wrote:
I just pulled the recent changes from Gnulib's 'master' branch and bootstrapped
Gnuastro (which uses Gnulib) on my Arch GNU/Linux operating system.
But I got many warnings related to '_GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM' in
'error.h' and 'argp.h'.