bug-gettext
[Top][All Lists]
Advanced

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

[bug-gettext] Compiled Gettext Binaries are Corrupted


From: Jordan Irwin
Subject: [bug-gettext] Compiled Gettext Binaries are Corrupted
Date: Tue, 20 Aug 2019 14:04:39 -0700

I have tried compiling both version 0.19.8.1 & 0.20.1 on my Windows system. 0.20.1 compiled successfully, but the executables msgfmt.exemsgmerge.exe, & xgettext.exe all segfault. So, I decided to try downgrading to v0.19.8.1. This one fails when trying to run help2man for gettext-runtime/src/envsubst.exe. Running  gettext-runtime/src/envsubst.exe on its own segfaults. So I assume I am having the same issue with 0.19.8.1 as I was with 0.20.1. The following is the error output:

...
Making all in po
make[5]: Entering directory '/c/Users/antum/Development/MyABCs/code/libraries/build/gettext-0.19.8.1-win32-x86_64/gettext-runtime/po'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/c/Users/antum/Development/MyABCs/code/libraries/build/gettext-0.19.8.1-win32-x86_64/gettext-runtime/po'
Making all in man
make[5]: Entering directory '/c/Users/antum/Development/MyABCs/code/libraries/build/gettext-0.19.8.1-win32-x86_64/gettext-runtime/man'
srcdir=''; \
test -f ./gettext.1.in || srcdir=/c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/man/; \
if test -f ${srcdir}gettext.1.in; then \
  sed -e 's|@''localedir''@|/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/share/locale|g' ${srcdir}gettext.1.in > t-gettext.1 && \
  mv t-gettext.1 gettext.1; \
        fi
srcdir=''; \
test -f ./ngettext.1.in || srcdir=/c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/man/; \
if test -f ${srcdir}ngettext.1.in; then \
  sed -e 's|@''localedir''@|/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/share/locale|g' ${srcdir}ngettext.1.in > t-ngettext.1 && \
  mv t-ngettext.1 ngettext.1; \
        fi
progname=`echo envsubst.1 | sed -e 's/\.in$//' -e 's/\.1$//'`; \
IN_HELP2MAN=1 /bin/sh x-to-1  "/usr/bin/perl" "/usr/bin/perl -w -- /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/man/help2man" \
  ../src/${progname}.exe /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/man/${progname}.x envsubst.1
Updating man page envsubst.1
/usr/bin/perl -w -- /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/man/help2man --include=/c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/man/envsubst.x ../src/envsubst.exe > envsubst.1
sh: line 1: 38981 Segmentation fault      ../src/envsubst.exe --help 2> /dev/null
help2man: can't get `--help' info from ../src/envsubst.exe
make[5]: *** [Makefile:1599: envsubst.1] Error 1


The following is the configuration log:

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by gettext configure 0.19.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/configure --enable-relocatable --disable-curses --disable-java --disable-native-java --disable-csharp --disable-openmp --with-included-libxml --with-included-regex --with-included-libunistring --with-included-libcroco --without-xz --without-emacs --without-cvs --without-git --prefix=/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64 --enable-shared=no --enable-static=yes

## --------- ##
## Platform. ##
## --------- ##

hostname = DESKTOP-23IIIE7
uname -m = x86_64
uname -r = 3.0.7-338.x86_64
uname -s = MINGW64_NT-10.0-17763
uname -v = 2019-07-11 10:58 UTC

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = x86_64
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/bin
PATH: /c/Development/Python/3
PATH: /c/Development/Python/3/Scripts
PATH: /c/Development/Python/2
PATH: /c/Development/Python/2/Scripts
PATH: /mingw64/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /c/Windows/System32
PATH: /c/Windows
PATH: /c/Windows/System32/Wbem
PATH: /c/Windows/System32/WindowsPowerShell/v1.0/
PATH: /usr/bin/site_perl
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1811: loading site script /mingw64/etc/config.site
| # This file is in public domain.
| # Original author: Karlson2k (Evgeny Grin)
| # Written for MSys2/MinGW64 to help running 'configure' scripts
|
| # Defaults for MinGW64-targeted programs
|
| # Set proper selfname on bash and fallback to default name on other shells
| test -n "${BASH_SOURCE}" 2>/dev/null && config_site_me="${BASH_SOURCE[0]##*/}" || config_site_me=config.site
|
| # Set default 'host' to speedup configure
| if test -z "$build_alias"; then
|   build_alias="${MSYSTEM_CHOST-x86_64-w64-mingw32}" && \
|     ${as_echo-echo} "$config_site_me:${as_lineno-$LINENO}: default build_alias set to $build_alias" >&5
| fi
|
| # Set default 'prefix' to "/mingw64"
| if ( test -z "$prefix" || test "x$prefix" = "xNONE" ) && \
|    ( test -z "$exec_prefix" || test "x$exec_prefix" = "xNONE" ); then
|   prefix="${MSYSTEM_PREFIX-/mingw64}" && \
|     ${as_echo-echo} "$config_site_me:${as_lineno-$LINENO}: default prefix set to $prefix" >&5
| fi
config.site:13: default build_alias set to x86_64-w64-mingw32
configure:1953: checking for a BSD-compatible install
configure:2021: result: /usr/bin/install -c
configure:2032: checking whether build environment is sane
configure:2087: result: yes
configure:2238: checking for a thread-safe mkdir -p
configure:2277: result: /usr/bin/mkdir -p
configure:2284: checking for gawk
configure:2300: found /usr/bin/gawk
configure:2311: result: gawk
configure:2322: checking whether make sets $(MAKE)
configure:2344: result: yes
configure:2373: checking whether make supports nested variables
configure:2390: result: yes
configure:2535: checking build system type
configure:2549: result: x86_64-w64-mingw32
configure:2569: checking host system type
configure:2582: result: x86_64-w64-mingw32
configure:3239: checking that generated files are newer than configure
configure:3245: result: done
configure:3253: creating ./config.status

## ---------------------- ##
## Running config.status. ##
## ---------------------- ##

This file was extended by gettext config.status 0.19.8.1, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  CONFIG_FILES    =
  CONFIG_HEADERS  =
  CONFIG_LINKS    =
  CONFIG_COMMANDS =
  $ ./config.status

on DESKTOP-23IIIE7

config.status:767: creating Makefile
config.status:767: creating gnulib-local/Makefile
configure:4339: === configuring in gettext-runtime (/c/Users/antum/Development/MyABCs/code/libraries/build/gettext-0.19.8.1-win32-x86_64/gettext-runtime)
configure:4402: running /bin/sh /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime/configure --disable-option-checking '--prefix=/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64'  '--enable-relocatable' '--disable-curses' '--disable-java' '--disable-native-java' '--disable-csharp' '--disable-openmp' '--with-included-libxml' '--with-included-regex' '--with-included-libunistring' '--with-included-libcroco' '--without-xz' '--without-emacs' '--without-cvs' '--without-git' '--enable-shared=no' '--enable-static=yes' 'CFLAGS=' 'LDFLAGS= -L/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/lib' 'LIBS=' 'CPPFLAGS=-DLIBXML_STATIC -I/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/include' 'CXXFLAGS=' --cache-file=/dev/null --srcdir=/c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-runtime
configure:4339: === configuring in gettext-tools (/c/Users/antum/Development/MyABCs/code/libraries/build/gettext-0.19.8.1-win32-x86_64/gettext-tools)
configure:4402: running /bin/sh /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-tools/configure --disable-option-checking '--prefix=/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64'  '--enable-relocatable' '--disable-curses' '--disable-java' '--disable-native-java' '--disable-csharp' '--disable-openmp' '--with-included-libxml' '--with-included-regex' '--with-included-libunistring' '--with-included-libcroco' '--without-xz' '--without-emacs' '--without-cvs' '--without-git' '--enable-shared=no' '--enable-static=yes' 'CFLAGS=' 'LDFLAGS= -L/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/lib' 'LIBS=' 'CPPFLAGS=-DLIBXML_STATIC -I/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/include' 'CXXFLAGS=' --cache-file=/dev/null --srcdir=/c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/gettext-tools

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-w64-mingw32
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value='-DLIBXML_STATIC -I/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/include'
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_EMACSLOADPATH_set=
ac_cv_env_EMACSLOADPATH_value=
ac_cv_env_EMACS_set=
ac_cv_env_EMACS_value=
ac_cv_env_GCJFLAGS_set=
ac_cv_env_GCJFLAGS_value=
ac_cv_env_GCJ_set=
ac_cv_env_GCJ_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=' -L/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/lib'
ac_cv_env_LIBS_set=set
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-w64-mingw32
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/usr/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes
am_cv_make_support_nested_variables=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/build-aux/missing aclocal-1.16'
AMTAR='$${TAR-tar}'
AM_BACKSLASH='\'
AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
AM_DEFAULT_VERBOSITY='1'
AM_V='$(V)'
AUTOCONF='${SHELL} /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/build-aux/missing autoconf'
AUTOHEADER='${SHELL} /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/build-aux/missing autoheader'
AUTOMAKE='${SHELL} /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/build-aux/missing automake-1.16'
AWK='gawk'
CC=''
CFLAGS=''
CPP=''
CPPFLAGS='-DLIBXML_STATIC -I/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/include'
CXX=''
CXXCPP=''
CXXFLAGS=''
CYGPATH_W='cygpath -w'
DEFS='-DPACKAGE_NAME=\"gettext\" -DPACKAGE_TARNAME=\"gettext\" -DPACKAGE_VERSION=\"0.19.8.1\" -DPACKAGE_STRING=\"gettext\ 0.19.8.1\" -DPACKAGE_BUGREPORT=\"address@hidden\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gettext\" -DVERSION=\"0.19.8.1\"'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EMACS=''
EMACSLOADPATH=''
GCJ=''
GCJFLAGS=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LDFLAGS=' -L/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64/lib'
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
MAKEINFO='${SHELL} /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/build-aux/missing makeinfo'
MKDIR_P='/usr/bin/mkdir -p'
PACKAGE='gettext'
PACKAGE_BUGREPORT='address@hidden'
PACKAGE_NAME='gettext'
PACKAGE_STRING='gettext 0.19.8.1'
PACKAGE_TARNAME='gettext'
PACKAGE_URL=''
PACKAGE_VERSION='0.19.8.1'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.19.8.1'
YACC=''
YFLAGS=''
am__isrc=' -I$(srcdir)'
am__leading_dot='.'
am__tar='${AMTAR} chof - --owner=root --group=root "$$tardir"'
am__untar='$${TAR-tar} xf -'
bindir='${exec_prefix}/bin'
build='x86_64-w64-mingw32'
build_alias='x86_64-w64-mingw32'
build_cpu='x86_64'
build_os='mingw32'
build_vendor='w64'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='${prefix}'
host='x86_64-w64-mingw32'
host_alias=''
host_cpu='x86_64'
host_os='mingw32'
host_vendor='w64'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /c/Users/antum/Development/MyABCs/code/libraries/source/gettext-0.19.8.1/build-aux/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/c/Users/antum/Development/MyABCs/code/libraries/libprefix-win32-x86_64'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' gettext-runtime gettext-tools'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "gettext"
#define PACKAGE_TARNAME "gettext"
#define PACKAGE_VERSION "0.19.8.1"
#define PACKAGE_STRING "gettext 0.19.8.1"
#define PACKAGE_BUGREPORT "address@hidden"
#define PACKAGE_URL ""
#define PACKAGE "gettext"
#define VERSION "0.19.8.1"

configure: exit 0


If anyone wants to see the config.log for 0.20.1, I have that as well.

I am on Windows 10 64-bit compiling under the MSYS2/MinGW-w64 environment. Any help is much appreciated.

Thank you,
- Jordan

http://antumdeluge.wordpress.com/

reply via email to

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