bug-texinfo
[Top][All Lists]
Advanced

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

Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2


From: Arash Esbati
Subject: Re: info '(latex2e)\indent & \noindent' doesn't work with Msys2
Date: Mon, 03 Apr 2023 15:39:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Gavin Smith <gavinsmith0123@gmail.com> writes:

> Could you run ./autogen.sh or "make configure" to make sure the
> configure script is regenerated, re-run configure,

I always did 'git clean -fdx' and then ./autogen.sh ... in order to have
a clean state.

> and if the problem persists, check in config.log for lines relevant to
> bcrypt and getrandom?

Thanks for the hint.

> Can you check if there is a line
>
> "checking whether the bcrypt library is guaranteed to be present"

bcrypt seems to be Ok.  In config.log, I have:

--8<---------------cut here---------------start------------->8---
configure:29158: checking for bcrypt.h
configure:29158: gcc -c -g -O2 -I/mingw64/include conftest.c >&5
configure:29158: $? = 0
configure:29158: result: yes
configure:29167: checking whether the bcrypt library is guaranteed to be present
configure:29188: gcc -c -g -O2 -I/mingw64/include conftest.c >&5
configure:29188: $? = 0
configure:29197: result: yes
--8<---------------cut here---------------end--------------->8---

and grep'ing for bcrypt shows:

--8<---------------cut here---------------start------------->8---
| #define HAVE_BCRYPT_H 1  (many entries for this and the next line)
| #define HAVE_LIB_BCRYPT 1
ac_cv_header_bcrypt_h=yes
gl_cv_lib_assume_bcrypt=yes
GETRANDOM_LIB='-lbcrypt'
LIB_GETRANDOM='-lbcrypt'
#define HAVE_BCRYPT_H 1
#define HAVE_LIB_BCRYPT 1
--8<---------------cut here---------------end--------------->8---

getrandom seems to be the issue:

--8<---------------cut here---------------start------------->8---
configure:29039: checking for getrandom
configure:29081: checking for getrandom
configure:29081: gcc -o conftest.exe -g -O2 -I/mingw64/include  conftest.c  >&5
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
 C:\msys64\tmp\ccWeXD7p.o: in function `main':
Z:/Dev/texinfo/conftest.c:253: undefined reference to `getrandom'
collect2.exe: error: ld returned 1 exit status
configure:29081: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU Texinfo"
| #define PACKAGE_TARNAME "texinfo"
| #define PACKAGE_VERSION "7.0dev"
| #define PACKAGE_STRING "GNU Texinfo 7.0dev"
| #define PACKAGE_BUGREPORT "bug-texinfo@gnu.org"
| #define PACKAGE_URL "https://www.gnu.org/software/texinfo/";
| #define PACKAGE "texinfo"
| #define VERSION "7.0dev"
| #define HAVE_STDIO_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_WCHAR_H 1
| #define HAVE_ERROR_H 1
| #define HAVE_GETOPT_H 1
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_LIMITS_H 1
| #define HAVE_CRTDEFS_H 1
| #define HAVE_WCTYPE_H 1
| #define HAVE_MALLOC_H 1
| #define HAVE_STDBOOL_H 1
| #define HAVE_SYS_PARAM_H 1
| #define HAVE_SYS_TIME_H 1
| #define STDC_HEADERS 1
| #define _ALL_SOURCE 1
| #define _DARWIN_C_SOURCE 1
| #define _GNU_SOURCE 1
| #define _HPUX_ALT_XOPEN_SOCKET_API 1
| #define _NETBSD_SOURCE 1
| #define _OPENBSD_SOURCE 1
| #define _POSIX_PTHREAD_SEMANTICS 1
| #define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1
| #define __STDC_WANT_IEC_60559_BFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_DFP_EXT__ 1
| #define __STDC_WANT_IEC_60559_EXT__ 1
| #define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1
| #define __STDC_WANT_IEC_60559_TYPES_EXT__ 1
| #define __STDC_WANT_LIB_EXT2__ 1
| #define __STDC_WANT_MATH_SPEC_FUNCS__ 1
| #define _TANDEM_SOURCE 1
| #define __EXTENSIONS__ 1
| #define _FILE_OFFSET_BITS 64
| #define HAVE_ALLOCA 1
| #define restrict __restrict__
| #define HAVE_DECL_STRERROR_R 0
| #define HAVE_GETOPT_H 1
| #define HAVE_GETOPT_LONG_ONLY 1
| #define HAVE_ISWCNTRL 1
| #define HAVE_MBSINIT 1
| #define HAVE_MBRTOWC 1
| #define HAVE_ISASCII 1
| #define HAVE_MPROTECT 1
| #define HAVE_MKSTEMP 1
| #define HAVE_ISBLANK 1
| #define HAVE_ISWCTYPE 1
| #define HAVE_BTOWC 1
| #define HAVE__SET_INVALID_PARAMETER_HANDLER 1
| #define HAVE_SNPRINTF 1
| #define HAVE_WCRTOMB 1
| #define HAVE_ICONV 1
| #define ICONV_CONST 
| #define HAVE_WINT_T 1
| #define HAVE_LONG_LONG_INT 1
| #define HAVE_UNSIGNED_LONG_LONG_INT 1
| #define MALLOC_0_IS_NONNULL 1
| #define HAVE_MBSTATE_T 1
| #define HAVE_PTHREAD_API 1
| #define HAVE_DECL_MEMRCHR 0
| #define HAVE_DECL_ALARM 0
| #define HAVE_WCHAR_T 1
| #define HAVE_DECL_FCLOSEALL 1
| #define HAVE_DECL_GETW 1
| #define HAVE_DECL_PUTW 1
| #define __USE_MINGW_ANSI_STDIO 1
| #define GNULIB_PRINTF_ATTRIBUTE_FLAVOR_GNU 1
| #define HAVE_DECL_ECVT 1
| #define HAVE_DECL_FCVT 1
| #define HAVE_DECL_GCVT 1
| #define HAVE_DECL_STRDUP 1
| #define HAVE_DECL_STRNLEN 1
| #define _USE_STD_STAT 1
| #define HAVE_DECL_EXECVPE 1
| #define HAVE_DECL_WCSDUP 1
| #define HAVE_MSVC_INVALID_PARAMETER_HANDLER 1
| #define HAVE_WORKING_O_NOATIME 0
| #define HAVE_WORKING_O_NOFOLLOW 0
| #define nlink_t int
| #define HAVE_SDKDDKVER_H 1
| #define HAVE_DECL_GETDTABLESIZE 0
| #define SETLOCALE_NULL_ALL_MTSAFE 1
| #define SETLOCALE_NULL_ONE_MTSAFE 1
| #define HAVE_WEAK_SYMBOLS 1
| #define USE_POSIX_THREADS 1
| #define USE_POSIX_THREADS_WEAK 1
| #define PROMOTED_MODE_T int
| #define HAVE_DECL_STRNDUP 0
| #define HAVE_INTTYPES_H_WITH_UINTMAX 1
| #define HAVE_STDINT_H_WITH_UINTMAX 1
| #define HAVE_INTMAX_T 1
| #define DBL_EXPBIT0_WORD 1
| #define DBL_EXPBIT0_BIT 20
| #define HAVE_WCSLEN 1
| #define HAVE_SNPRINTF 1
| #define HAVE_STRNLEN 1
| #define HAVE_WCRTOMB 1
| #define HAVE_DECL__SNPRINTF 1
| #define HAVE_SNPRINTF_RETVAL_C99 1
| #define HAVE_SNPRINTF_TRUNCATION_C99 1
| #define error_t int
| #define __error_t_defined 1
| #define GNULIB_TEST_CALLOC_GNU 1
| #define GNULIB_TEST_CALLOC_POSIX 1
| #define GNULIB_TEST_GETOPT_POSIX 1
| #define HAVE_DECL_PROGRAM_INVOCATION_NAME 0
| #define HAVE_DECL_PROGRAM_INVOCATION_SHORT_NAME 0
| #define HAVE_DECL___ARGV 1
| #define GNULIB_TEST_GETPROGNAME 1
| #define HAVE_ISWBLANK 1
| #define HAVE_DECL_ISWBLANK 1
| #define GNULIB_TEST_ISWBLANK 1
| #define GNULIB_TEST_ISWDIGIT 1
| #define GNULIB_TEST_ISWXDIGIT 1
| #define GNULIB_TEST_MALLOC_GNU 1
| #define GNULIB_TEST_MALLOC_POSIX 1
| #define MBRTOWC_RETVAL_BUG 1
| #define GNULIB_TEST_MBRTOWC 1
| #define GNULIB_TEST_MBSCASECMP 1
| #define GNULIB_TEST_MBSCHR 1
| #define GNULIB_TEST_MBSINIT 1
| #define GNULIB_TEST_MBSLEN 1
| #define GNULIB_TEST_MBSNCASECMP 1
| #define GNULIB_TEST_MBSSTR 1
| #define HAVE_DECL_MBSWIDTH_IN_WCHAR_H 0
| #define HAVE_MBSTATE_T 1
| #define GNULIB_TEST_MEMCHR 1
| #define GNULIB_TEST_MEMRCHR 1
| #define GNULIB_TEST_MKSTEMP 1
| #define GNULIB_TEST_REALLOC_GNU 1
| #define GNULIB_TEST_REALLOC_POSIX 1
| #define GNULIB_REALLOCARRAY 1
| #define GNULIB_TEST_REALLOCARRAY 1
| #define _REGEX_INCLUDE_LIMITS_H 1
| #define _REGEX_LARGE_OFFSETS 1
| #define re_syntax_options rpl_re_syntax_options
| #define re_set_syntax rpl_re_set_syntax
| #define re_compile_pattern rpl_re_compile_pattern
| #define re_compile_fastmap rpl_re_compile_fastmap
| #define re_search rpl_re_search
| #define re_search_2 rpl_re_search_2
| #define re_match rpl_re_match
| #define re_match_2 rpl_re_match_2
| #define re_set_registers rpl_re_set_registers
| #define re_comp rpl_re_comp
| #define re_exec rpl_re_exec
| #define regcomp rpl_regcomp
| #define regexec rpl_regexec
| #define regerror rpl_regerror
| #define regfree rpl_regfree
| #define HAVE_LIBINTL_H 1
| #define HAVE_DECL_ISBLANK 1
| #define GNULIB_TEST_FSCANF 1
| #define GNULIB_FSCANF 1
| #define GNULIB_TEST_SCANF 1
| #define GNULIB_SCANF 1
| #define GNULIB_TEST_FGETC 1
| #define GNULIB_TEST_GETC 1
| #define GNULIB_TEST_GETCHAR 1
| #define GNULIB_TEST_FGETS 1
| #define GNULIB_TEST_FREAD 1
| #define GNULIB_TEST_FPRINTF 1
| #define GNULIB_TEST_PRINTF 1
| #define GNULIB_TEST_VFPRINTF 1
| #define GNULIB_TEST_VPRINTF 1
| #define GNULIB_TEST_FPUTC 1
| #define GNULIB_TEST_PUTC 1
| #define GNULIB_TEST_PUTCHAR 1
| #define GNULIB_TEST_FPUTS 1
| #define GNULIB_TEST_PUTS 1
| #define GNULIB_TEST_FWRITE 1
| #define HAVE_STRCASECMP 1
| #define HAVE_STRNCASECMP 1
| #define HAVE_DECL_STRNCASECMP 1
| #define GNULIB_TEST_STRCASESTR 1
| #define GNULIB_TEST_STRDUP 1
| #define GNULIB_STRERROR 1
| #define GNULIB_TEST_STRERROR 1
| #define GNULIB_TEST_STRNLEN 1
| #define HAVE_C_VARARRAYS 1
| #define HAVE_VASPRINTF 1
| #define GNULIB_TEST_VASPRINTF 1
| #define HAVE_DECL_WCWIDTH 0
| #define GNULIB_TEST_WCWIDTH 1
| #define GNULIB_XALLOC 1
| #define GNULIB_XALLOC_DIE 1
| #define HAVE_MEMPCPY 1
| #define GNULIB_TEST_MEMPCPY 1
| #define GNULIB_TEST_STPCPY 1
| #define GNULIB_TEST_STRNDUP 1
| #define GNULIB_TEST_STRSTR 1
| #define HAVE___BUILTIN_EXPECT 1
| #define GNULIB_MSVC_NOTHROW 1
| #define DOUBLE_SLASH_IS_DISTINCT_ROOT 1
| #define GNULIB_TEST_OPEN 1
| #define GNULIB_TEST_CLOEXEC 1
| #define GNULIB_TEST_DUP2 1
| #define GNULIB_TEST_FCNTL 1
| #define HAVE_WINSOCK2_H 1
| #define GNULIB_TEST_CLOSE 1
| #define GNULIB_TEST_GETDTABLESIZE 1
| #define GNULIB_TEST_FSTAT 1
| #define GNULIB_TEST_STAT 1
| #define SETLOCALE_NULL_ALL_MTSAFE 1
| #define SETLOCALE_NULL_ONE_MTSAFE 1
| #define GNULIB_TEST_SETLOCALE_NULL 1
| #define GNULIB_TEMPNAME 1
| #define HAVE_CLOCK_GETRES 1
| #define HAVE_CLOCK_GETTIME 1
| #define HAVE_CLOCK_SETTIME 1
| /* end confdefs.h.  */
| /* Define getrandom to an innocuous variant, in case <limits.h> declares 
getrandom.
|    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
| #define getrandom innocuous_getrandom
| 
| /* System header to define __stub macros and hopefully few prototypes,
|    which can conflict with char getrandom (void); below.  */
| 
| #include <limits.h>
| #undef getrandom
| 
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char getrandom (void);
| /* The GNU C library defines this for functions which it implements
|     to always fail with ENOSYS.  Some functions are actually named
|     something starting with __ and the normal name is an alias.  */
| #if defined __stub_getrandom || defined __stub___getrandom
| choke me
| #endif
| 
| int
| main (void)
| {
| return getrandom ();
|   ;
|   return 0;
| }
configure:29081: result: no
configure:29096: result: no
--8<---------------cut here---------------end--------------->8---

grep'ing for getrandom shows:

--8<---------------cut here---------------start------------->8---
| #define GNULIB_TEST_GETRANDOM 1 (18 entries of this line)
ac_cv_func_getrandom=no
gl_cv_onwards_func_getrandom=no
GETRANDOM_LIB='-lbcrypt'
GL_COND_OBJ_GETRANDOM_FALSE='#'
GL_COND_OBJ_GETRANDOM_TRUE=''
GL_GNULIB_GETRANDOM='1'
HAVE_GETRANDOM='0'
LIB_GETRANDOM='-lbcrypt'
REPLACE_GETRANDOM='0'
gl_GNULIB_ENABLED_getrandom_FALSE='#'
gl_GNULIB_ENABLED_getrandom_TRUE=''
#define GNULIB_TEST_GETRANDOM 1
--8<---------------cut here---------------end--------------->8---

HTH.  Best, Arash



reply via email to

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