Re: rcs configure hang

Thien-Thi Nguyen <[email protected]> Wed, 21 Oct 2020 10:36:58 -0400
Newsgroups gmane.comp.version-control.rcs.bugs
Message-ID <[email protected]>
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

() "Kelly Wang (kellythw)" <[email protected]>
() Tue, 20 Oct 2020 20:13:50 +0000

   I download rcs 5.10.0, untarred and try to run ./configure.
   However it is hang in 'checking whether getcwd handles long
   file names properly...' for more than 30+ min and still hang.

Thank-you for the bug report.  Yeah, that's excessive.

   Can you let me know how to configure and install it?
   The server I use to configure rcs is Red Hat 8.
   % cat /etc/motd
   Red Hat Enterprise Linux release 8.1 (Ootpa)

Hmmm.

   + ./configure
   [...]
   checking for error_at_line... yes
   checking whether fcntl handles F_DUPFD correctly... yes
   checking whether fcntl understands F_DUPFD_CLOEXEC... needs runtime check
   checking whether conversion from 'int' to 'long double' works... yes
   checking whether getcwd handles long file names properly...

This is from =E2=80=98gl_FUNC_GETCWD_PATH_MAX=E2=80=99 in m4/getcwd-path-ma=
x.m4.
IIUC, the test tries to create a filename up to, and then a bit
longer than, PATH_MAX in length.  It does this in a =E2=80=98while (1)=E2=
=80=99
loop, relying on =E2=80=98break=E2=80=99 to exit the loop.  Perhaps this is=
 a C
compiler problem?

=2D-=20
Thien-Thi Nguyen -----------------------------------------------
 (defun responsep (query)               ; (2020) Software Libero
   (pcase (context query)               ;       =3D Dissenso Etico
     (`(technical ,ml) (correctp ml))
     ...))                              748E A0E8 1CB8 A748 9BFA
=2D-------------------------------------- 6CE4 6703 2224 4C80 7502

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iG4EARECAC4WIQR0jqDoHLinSJv6bORnAyIkTIB1AgUCX5BHixAcdHRuQGdudXZv
bGEub3JnAAoJEGcDIiRMgHUC4DwAn3kHxxIHkAhglefxHu1BHLbM4t/JAKDbyt32
Ca0g6sMx/ZnxvzU7BPGBfg==
=ck7x
-----END PGP SIGNATURE-----
--=-=-=--