bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: warning _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM


From: Bruno Haible
Subject: Re: warning _GL_ATTRIBUTE_SPEC_PRINTF_SYSTEM
Date: Fri, 27 Nov 2020 21:55:00 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-193-generic; KDE/5.18.0; x86_64; ; )

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:
> 
> http://akhlaghi.org/gnulib-warnings.txt.gz

>From this log it is clear that gnulib generated an stdio.h file
in /dev/shm/gnuastro-0.13.58-dad9/bootstrapped/lib/

Later on, the command that produces the warnings is, in directory
/dev/shm/gnuastro-0.13.58-dad9/lib :

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/src/dir/gnuastro/lib -I.. 
-I/src/dir/gnuastro/bootstrapped/lib -DSYSCONFIG_DIR=\"/usr/local/etc\" 
-I/home/myuser/.local/include -Wall -g -O0 -pthread -MT arithmetic-bitlsh.lo 
-MD -MP -MF .deps/arithmetic-bitlsh.Tpo -c 
/src/dir/gnuastro/lib/arithmetic-bitlsh.c -o arithmetic-bitlsh.o

It looks like some other stdio.h file has taken precedence. Do you have
such a file in some of the directories mentioned as -I options, such as
/dev/shm/gnuastro-0.13.58-dad9/lib
or
/src/dir/gnuastro/lib ?

This would explain it.

Bruno


PS: I tried to check out gnuastro and build it, but failed:

1) During './bootstrap --gnulib-srcdir=$GNULIB_SRCDIR' already it builds
some documentation. (Shouldn't this be part of 'make pdf'?) It fails:

  ! LaTeX Error: File `biblatex.sty' not found.

  Type X to quit or <RETURN> to proceed,
  or enter new name. (Default extension: sty)

  Enter file name: 

2) During '../configure CPPFLAGS=-Wall':
...
checking Ghostscript version... 9.26 

Missing MANDATORY dependencies (necessary to continue):
 - GNU Scientific Library (GSL): https://www.gnu.org/software/gsl
 - CFITSIO: https://heasarc.gsfc.nasa.gov/fitsio
 - WCSLIB: http://www.atnf.csiro.au/people/mcalabre/WCS




reply via email to

[Prev in Thread] Current Thread [Next in Thread]