pkgsrc-Bugs archive

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

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



>Number:         49522
>Category:       pkg
>Synopsis:       devel/idutils is stuck in an endless loop at configure
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 02 02:20:00 +0000 2015
>Originator:     Valery Ushakov
>Release:        pkgsrc-2014Q4
>Organization:
>Environment:
NetBSD pony 6.1.5 NetBSD 6.1.5 (GENERIC) macppc

>Description:
Trying to build devel/idutils is stuck in an endless loop in configure
that keeps re-executing itself.

As far as I can tell when configure is started the sequence of events
is as follows:

. CONFIG_SHELL is set in the environment
. _as_can_reexec is not set
. _as_can_reexec is set to "no" in the environment
. configure re-execs itself
. this time the re-exec check is passed
. _as_can_reexec is unset
. LINENO support is tested and /bin/sh doesn't support it
. configure.lineno is generated with $LINENO substituted with sed
. configure.lineno is sourced with "."
. goto beginning

>How-To-Repeat:

>Fix:
As a workaround

  CONFIG_SHELL=/usr/pkg/bin/bash make

helps to break the endless loop since bash provides LINENO.



Home | Main Index | Thread Index | Old Index