Install locks up my server
Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server.
I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload.
I'm running Centos 6 under OpenVZ.
What am I missing? I think there's a serious bug.
31233 pts/3 S 0:00 /bin/sh ./config.guess
31235 pts/3 S 0:00 \_ /bin/sh ./config.guess
31238 pts/3 S 0:00 \_ /bin/sh ./config.guess
31240 pts/3 S 0:00 \_ /bin/sh ./config.guess
31241 pts/3 S 0:00 \_ /bin/sh ./config.guess
31267 pts/3 S 0:00 \_ /bin/sh ./config.guess
31272 pts/3 S 0:00 \_ /bin/sh ./config.guess
31279 pts/3 S 0:00 \_ /bin/sh
./config.guess
31280 pts/3 S 0:00 \_ /bin/sh
./config.guess
31281 pts/3 S 0:00 \_ /bin/sh
./config.guess
31283 pts/3 S 0:00 \_
/bin/sh ./config.guess
31284 pts/3 S 0:00 \_ /bin/sh ./config.guess
31285 pts/3 S 0:00 \_
/bin/sh ./config.guess
31292 pts/3 S 0:00
\_ /bin/sh ./config.guess
31303 pts/3 S
0:00 \_ /bin/sh
./config.guess
31304 pts/3 S
0:00 \_ /bin/sh
./config.guess
31305 pts/3 S
0:00 \_
/bin/sh ./config.guess
31306 pts/3 S 0:00 \_ /bin/sh ./config.guess
31307 pts/3 S 0:00 \_ /bin/sh ./config.guess
31321 pts/3 S 0:00 \_ /bin/sh ./config.guess
31340 pts/3 S 0:00 \_ /bin/sh ./config.guess
31341 pts/3 S 0:00 \_ /bin/sh ./config.guess
31426 pts/3 S 0:00 \_ /bin/sh ./config.guess
31530 pts/3 S 0:00 \_ /bin/sh ./config.guess
On 26 Jun 2017, at 23.19, Marc Perkel marc@perkel.com wrote:
Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server.
I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload.
I'm running Centos 6 under OpenVZ.
What am I missing? I think there's a serious bug.
31233 pts/3 S 0:00 /bin/sh ./config.guess 31235 pts/3 S 0:00 \_ /bin/sh ./config.guess 31238 pts/3 S 0:00 \_ /bin/sh ./config.guess 31240 pts/3 S 0:00 \_ /bin/sh ./config.guess
I think I remember seeing this before, but unfortunately can't remember what the solution was. Maybe it was something something messed up in the OS or in the build directory. Are you compiling from the tarballs? So it's the "configure" that fails? Also if you run "./config.guess" manually? What's the output if you run "bash -x ./config.guess"?
On 06/26/17 14:42, Timo Sirainen wrote:
On 26 Jun 2017, at 23.19, Marc Perkel marc@perkel.com wrote:
Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server.
I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload.
I'm running Centos 6 under OpenVZ.
What am I missing? I think there's a serious bug.
31233 pts/3 S 0:00 /bin/sh ./config.guess 31235 pts/3 S 0:00 \_ /bin/sh ./config.guess 31238 pts/3 S 0:00 \_ /bin/sh ./config.guess 31240 pts/3 S 0:00 \_ /bin/sh ./config.guess I think I remember seeing this before, but unfortunately can't remember what the solution was. Maybe it was something something messed up in the OS or in the build directory. Are you compiling from the tarballs? So it's the "configure" that fails? Also if you run "./config.guess" manually? What's the output if you run "bash -x ./config.guess"?
bash -x ./config.guess
- timestamp=2015-08-20 ++ sed -e 's,.*/,,' ++ echo ./config.guess
- me=config.guess
- usage='Usage: ./config.guess [OPTION]
Output the configuration name of the system `config.guess'\'' is run on.
Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit
Report bugs and patches to config-patches@gnu.org.'
- version='GNU config.guess (2015-08-20)
Originally written by Per Bothner. Copyright 1992-2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp
- help=' Try `config.guess --help'\'' for more information.'
- test 0 -gt 0
- test 0 '!=' 0
- trap 'exit 1' 1 2 15
- set_cc_for_build='
2>/dev/null) && exit \$exitcode" 0 ;
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2
13 15 ;
: ${TMPDIR=/tmp} ;
{ tmp=(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null
&&
test -n "$tmp" && test -d "$tmp" ; } ||
{ test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir
$tmp) ; } ||
{ tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning:
creating insecure temp directory" >&2 ; } ||
{ echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ;
exit 1 ; } ;
dummy=$tmp/dummy ;
tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ;
case $CC_FOR_BUILD,$HOST_CC,$CC in
,,) echo "int x;" > $dummy.c ;
for c in cc gcc c89 c99 ; do
if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then
CC_FOR_BUILD="$c"; break ;
fi ;
done ;
if test x"$CC_FOR_BUILD" = x ; then
CC_FOR_BUILD=no_compiler_found ;
fi
;;
,,*) CC_FOR_BUILD=$CC ;;
,*,*) CC_FOR_BUILD=$HOST_CC ;;
esac ; set_cc_for_build= ;'
then 'CC_FOR_BUILD="$c";' break ';' fi ';' done ';' if test
- UNAME_MACHINE=x86_64
- UNAME_RELEASE=2.6.32-042stab123.3
- UNAME_SYSTEM=Linux
- UNAME_VERSION='#1 SMP Fri May 5 12:29:05 MSK 2017'
- case "${UNAME_SYSTEM}" in
- LIBC=gnu
- eval trap '"exitcode=\$?;' '(rm' -f '\$tmpfiles' '2>/dev/null;' rmdir
'\$tmp' '2>/dev/null)' '&&' exit '\$exitcode"' 0 ';' trap '"rm' -f
'\$tmpfiles' '2>/dev/null;' rmdir '\$tmp' '2>/dev/null;' exit '1"' 1 2
13 15 ';' : '${TMPDIR=/tmp}' ';' '{' 'tmp=
(umask' 077 '&&' mktemp -d '"$TMPDIR/cgXXXXXX")' '2>/dev/null
' '&&' test -n '"$tmp"' '&&' test -d '"$tmp"' ';' '}' '||' '{' test -n '"$RANDOM"' '&&' 'tmp=$TMPDIR/cg$$-$RANDOM' '&&' '(umask' 077 '&&' mkdir '$tmp)' ';' '}' '||' '{' 'tmp=$TMPDIR/cg-$$' '&&' '(umask' 077 '&&' mkdir '$tmp)' '&&' echo '"Warning:' creating insecure temp 'directory"' '>&2' ';' '}' '||' '{' echo '"$me:' cannot create a temporary directory in '$TMPDIR"' '>&2' ';' exit 1 ';' '}' ';' 'dummy=$tmp/dummy' ';' 'tmpfiles="$dummy.c' '$dummy.o' '$dummy.rel' '$dummy"' ';' case '$CC_FOR_BUILD,$HOST_CC,$CC' in ',,)' echo '"int' 'x;"' '>' '$dummy.c' ';' for c in cc gcc c89 c99 ';' do if '($c' -c -o '$dummy.o' '$dummy.c)' '>/dev/null' '2>&1' ';'
'x"$CC_FOR_BUILD"' = x ';' then CC_FOR_BUILD=no_compiler_found ';' fi ';;' ',,*)' 'CC_FOR_BUILD=$CC' ';;' ',*,*)' 'CC_FOR_BUILD=$HOST_CC' ';;' esac ';' set_cc_for_build= ';' ++ trap 'exitcode=$?; (rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null) && exit $exitcode' 0 ++ trap 'rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null; exit 1' 1 2 13 15 ++ : /tmp ++ tmp=/tmp/cgpmW24a ++ test -n /tmp/cgpmW24a ++ test -d /tmp/cgpmW24a ++ dummy=/tmp/cgpmW24a/dummy ++ tmpfiles='/tmp/cgpmW24a/dummy.c /tmp/cgpmW24a/dummy.o /tmp/cgpmW24a/dummy.rel /tmp/cgpmW24a/dummy' ++ case $CC_FOR_BUILD,$HOST_CC,$CC in ++ echo 'int x;' ++ for c in cc gcc c89 c99
This is still broken in the 2.2.32 release candidate. config.guess forks copies till the server dies. Running Centos 6.6 under OpenVZ.
On 06/26/17 16:03, Marc Perkel wrote:
On 06/26/17 14:42, Timo Sirainen wrote:
Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server.
I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload.
I'm running Centos 6 under OpenVZ.
What am I missing? I think there's a serious bug.
31233 pts/3 S 0:00 /bin/sh ./config.guess 31235 pts/3 S 0:00 \_ /bin/sh ./config.guess 31238 pts/3 S 0:00 \_ /bin/sh ./config.guess 31240 pts/3 S 0:00 \_ /bin/sh ./config.guess I think I remember seeing this before, but unfortunately can't remember what the solution was. Maybe it was something something messed up in the OS or in the build directory. Are you compiling from
On 26 Jun 2017, at 23.19, Marc Perkel marc@perkel.com wrote: the tarballs? So it's the "configure" that fails? Also if you run "./config.guess" manually? What's the output if you run "bash -x ./config.guess"?
bash -x ./config.guess
- timestamp=2015-08-20 ++ sed -e 's,.*/,,' ++ echo ./config.guess
- me=config.guess
- usage='Usage: ./config.guess [OPTION]
Output the configuration name of the system `config.guess'\'' is run on.
Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit
Report bugs and patches to config-patches@gnu.org.'
- version='GNU config.guess (2015-08-20)
Originally written by Per Bothner. Copyright 1992-2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp
- help=' Try `config.guess --help'\'' for more information.'
- test 0 -gt 0
- test 0 '!=' 0
- trap 'exit 1' 1 2 15
- set_cc_for_build='
2>/dev/null) && exit \$exitcode" 0 ; trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=
(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null
&& test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;'
- UNAME_MACHINE=x86_64
- UNAME_RELEASE=2.6.32-042stab123.3
- UNAME_SYSTEM=Linux
- UNAME_VERSION='#1 SMP Fri May 5 12:29:05 MSK 2017'
- case "${UNAME_SYSTEM}" in
- LIBC=gnu
- eval trap '"exitcode=\$?;' '(rm' -f '\$tmpfiles' '2>/dev/null;' rmdir '\$tmp' '2>/dev/null)' '&&' exit '\$exitcode"' 0 ';' trap '"rm' -f '\$tmpfiles' '2>/dev/null;' rmdir '\$tmp' '2>/dev/null;' exit '1"' 1 2 13 15 ';' : '${TMPDIR=/tmp}' ';' '{' 'tmp=
(umask' 077 '&&' mktemp -d '"$TMPDIR/cgXXXXXX")' '2>/dev/null
' '&&' test -n '"$tmp"' '&&' test -d '"$tmp"' ';' '}' '||' '{' test -n '"$RANDOM"' '&&' 'tmp=$TMPDIR/cg$$-$RANDOM' '&&' '(umask' 077 '&&' mkdir '$tmp)' ';' '}' '||' '{' 'tmp=$TMPDIR/cg-$$' '&&' '(umask' 077 '&&' mkdir '$tmp)' '&&' echo '"Warning:' creating insecure temp 'directory"' '>&2' ';' '}' '||' '{' echo '"$me:' cannot create a temporary directory in '$TMPDIR"' '>&2' ';' exit 1 ';' '}' ';' 'dummy=$tmp/dummy' ';' 'tmpfiles="$dummy.c' '$dummy.o' '$dummy.rel' '$dummy"' ';' case '$CC_FOR_BUILD,$HOST_CC,$CC' in ',,)' echo '"int' 'x;"' '>' '$dummy.c' ';' for c in cc gcc c89 c99 ';' do if '($c' -c -o '$dummy.o' '$dummy.c)' '>/dev/null' '2>&1' ';' then 'CC_FOR_BUILD="$c";' break ';' fi ';' done ';' if test 'x"$CC_FOR_BUILD"' = x ';' then CC_FOR_BUILD=no_compiler_found ';' fi ';;' ',,*)' 'CC_FOR_BUILD=$CC' ';;' ',*,*)' 'CC_FOR_BUILD=$HOST_CC' ';;' esac ';' set_cc_for_build= ';' ++ trap 'exitcode=$?; (rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null) && exit $exitcode' 0 ++ trap 'rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null; exit 1' 1 2 13 15 ++ : /tmp ++ tmp=/tmp/cgpmW24a ++ test -n /tmp/cgpmW24a ++ test -d /tmp/cgpmW24a ++ dummy=/tmp/cgpmW24a/dummy ++ tmpfiles='/tmp/cgpmW24a/dummy.c /tmp/cgpmW24a/dummy.o /tmp/cgpmW24a/dummy.rel /tmp/cgpmW24a/dummy' ++ case $CC_FOR_BUILD,$HOST_CC,$CC in ++ echo 'int x;' ++ for c in cc gcc c89 c99
No idea. config.guess is generated by autotools, so I don't think I can really affect it anyway. Also it works fine at least in CentOS 6.7 & 6.9. My guess is also that it might work ok in CentOS 6.6 and the brokenness is somehow specific to your system.
On 18 Aug 2017, at 18.43, Marc Perkel marc@perkel.com wrote:
This is still broken in the 2.2.32 release candidate. config.guess forks copies till the server dies. Running Centos 6.6 under OpenVZ.
On 06/26/17 16:03, Marc Perkel wrote:
On 06/26/17 14:42, Timo Sirainen wrote:
On 26 Jun 2017, at 23.19, Marc Perkel marc@perkel.com wrote:
Ever since 2.26 I haven't been able to upgrade. In fact the install locks up my server.
I get into and infinite recursive loop where the config-guess program calls itself until the server locks up from overload.
I'm running Centos 6 under OpenVZ.
What am I missing? I think there's a serious bug.
31233 pts/3 S 0:00 /bin/sh ./config.guess 31235 pts/3 S 0:00 \_ /bin/sh ./config.guess 31238 pts/3 S 0:00 \_ /bin/sh ./config.guess 31240 pts/3 S 0:00 \_ /bin/sh ./config.guess I think I remember seeing this before, but unfortunately can't remember what the solution was. Maybe it was something something messed up in the OS or in the build directory. Are you compiling from the tarballs? So it's the "configure" that fails? Also if you run "./config.guess" manually? What's the output if you run "bash -x ./config.guess"?
bash -x ./config.guess
- timestamp=2015-08-20 ++ sed -e 's,.*/,,' ++ echo ./config.guess
- me=config.guess
- usage='Usage: ./config.guess [OPTION]
Output the configuration name of the system `config.guess'\'' is run on.
Operation modes: -h, --help print this help, then exit -t, --time-stamp print date of last modification, then exit -v, --version print version number, then exit
Report bugs and patches to config-patches@gnu.org.'
- version='GNU config.guess (2015-08-20)
Originally written by Per Bothner. Copyright 1992-2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.' trap "exitcode=\$?; (rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null) && exit \$exitcode" 0 ;
- help=' Try `config.guess --help'\'' for more information.'
- test 0 -gt 0
- test 0 '!=' 0
- trap 'exit 1' 1 2 15
- set_cc_for_build='
trap "rm -f \$tmpfiles 2>/dev/null; rmdir \$tmp 2>/dev/null; exit 1" 1 2 13 15 ; : ${TMPDIR=/tmp} ; { tmp=
(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null
&& test -n "$tmp" && test -d "$tmp" ; } || { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir $tmp) ; } || { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir $tmp) && echo "Warning: creating insecure temp directory" >&2 ; } || { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; } ; dummy=$tmp/dummy ; tmpfiles="$dummy.c $dummy.o $dummy.rel $dummy" ; case $CC_FOR_BUILD,$HOST_CC,$CC in ,,) echo "int x;" > $dummy.c ; for c in cc gcc c89 c99 ; do if ($c -c -o $dummy.o $dummy.c) >/dev/null 2>&1 ; then CC_FOR_BUILD="$c"; break ; fi ; done ; if test x"$CC_FOR_BUILD" = x ; then CC_FOR_BUILD=no_compiler_found ; fi ;; ,,*) CC_FOR_BUILD=$CC ;; ,*,*) CC_FOR_BUILD=$HOST_CC ;; esac ; set_cc_for_build= ;'
- UNAME_MACHINE=x86_64
- UNAME_RELEASE=2.6.32-042stab123.3
- UNAME_SYSTEM=Linux
- UNAME_VERSION='#1 SMP Fri May 5 12:29:05 MSK 2017'
- case "${UNAME_SYSTEM}" in
- LIBC=gnu
- eval trap '"exitcode=\$?;' '(rm' -f '\$tmpfiles' '2>/dev/null;' rmdir '\$tmp' '2>/dev/null)' '&&' exit '\$exitcode"' 0 ';' trap '"rm' -f '\$tmpfiles' '2>/dev/null;' rmdir '\$tmp' '2>/dev/null;' exit '1"' 1 2 13 15 ';' : '${TMPDIR=/tmp}' ';' '{' 'tmp=
(umask' 077 '&&' mktemp -d '"$TMPDIR/cgXXXXXX")' '2>/dev/null
' '&&' test -n '"$tmp"' '&&' test -d '"$tmp"' ';' '}' '||' '{' test -n '"$RANDOM"' '&&' 'tmp=$TMPDIR/cg$$-$RANDOM' '&&' '(umask' 077 '&&' mkdir '$tmp)' ';' '}' '||' '{' 'tmp=$TMPDIR/cg-$$' '&&' '(umask' 077 '&&' mkdir '$tmp)' '&&' echo '"Warning:' creating insecure temp 'directory"' '>&2' ';' '}' '||' '{' echo '"$me:' cannot create a temporary directory in '$TMPDIR"' '>&2' ';' exit 1 ';' '}' ';' 'dummy=$tmp/dummy' ';' 'tmpfiles="$dummy.c' '$dummy.o' '$dummy.rel' '$dummy"' ';' case '$CC_FOR_BUILD,$HOST_CC,$CC' in ',,)' echo '"int' 'x;"' '>' '$dummy.c' ';' for c in cc gcc c89 c99 ';' do if '($c' -c -o '$dummy.o' '$dummy.c)' '>/dev/null' '2>&1' ';' then 'CC_FOR_BUILD="$c";' break ';' fi ';' done ';' if test 'x"$CC_FOR_BUILD"' = x ';' then CC_FOR_BUILD=no_compiler_found ';' fi ';;' ',,*)' 'CC_FOR_BUILD=$CC' ';;' ',*,*)' 'CC_FOR_BUILD=$HOST_CC' ';;' esac ';' set_cc_for_build= ';' ++ trap 'exitcode=$?; (rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null) && exit $exitcode' 0 ++ trap 'rm -f $tmpfiles 2>/dev/null; rmdir $tmp 2>/dev/null; exit 1' 1 2 13 15 ++ : /tmp ++ tmp=/tmp/cgpmW24a ++ test -n /tmp/cgpmW24a ++ test -d /tmp/cgpmW24a ++ dummy=/tmp/cgpmW24a/dummy ++ tmpfiles='/tmp/cgpmW24a/dummy.c /tmp/cgpmW24a/dummy.o /tmp/cgpmW24a/dummy.rel /tmp/cgpmW24a/dummy' ++ case $CC_FOR_BUILD,$HOST_CC,$CC in ++ echo 'int x;' ++ for c in cc gcc c89 c99
participants (2)
-
Marc Perkel
-
Timo Sirainen