pkgsrc-Bugs archive

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

Re: pkg/49522 (devel/idutils is stuck in an endless loop at configure)



The following reply was made to PR pkg/49522; it has been noted by GNATS.

From: Valery Ushakov <uwe%stderr.spb.ru@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/49522 (devel/idutils is stuck in an endless loop at configure)
Date: Fri, 2 Jan 2015 22:22:36 +0300

 On Fri, Jan 02, 2015 at 12:57:05 +0000, wiz%NetBSD.org@localhost wrote:
 
 > I've modified the package to run autoconf before configure
 > Does this fix the problem for you?
 
 That seems like an overkill.  Why not just fix configure with the
 change I quoted:
 
 --- configure.oirg	2012-02-03 14:41:35.000000000 +0400
 +++ configure	2015-01-02 22:17:45.000000000 +0300
 @@ -479,6 +479,10 @@
    chmod +x "$as_me.lineno" ||
      { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  
 +  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
 +  # already done that, so ensure we don't try to do so again and fall
 +  # in an infinite loop.  This has already happened in practice.
 +  _as_can_reexec=no; export _as_can_reexec
    # Don't try to exec as it changes $[0], causing all sort of problems
    # (the dirname of $[0] is not the place where we might find the
    # original and so on.  Autoconf is especially sensitive to this).
 
 -uwe
 


Home | Main Index | Thread Index | Old Index