bug-bash
[Top][All Lists]
Advanced

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

Disabling Job Control or Enabling Minimal Config Breaks Build


From: Adam Pippin
Subject: Disabling Job Control or Enabling Minimal Config Breaks Build
Date: Mon, 26 Nov 2012 21:12:27 -0600

Bash Version: 4.2

Description:

I downloaded a fresh copy of bash 4.2 from the GNU project archives (
http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz), configured with:

    ./configure --disable-job-control --enable-minimal-config
--disable-readline

(Self-Serving Explanation: I'm attempting to debug another issue with this
system at the moment related to bash seemingly masking out the SIGWINCH
signal and not acknowledging terminal resizing.
http://serverfault.com/questions/452340 if anyone's feeling generous and
wishes to take a look.)

However, it seems both --disable-job-control and --enable-minimal-config
break the build.

Specifically, using --enable-minimal-config seems to disable aliases. This
causes an error in parse.y:

    /Users/chet/src/bash/src/parse.y: In function 'shell_getc':
    /Users/chet/src/bash/src/parse.y:2399: error: label 'pop_alias' used
but not defined
    make: *** [y.tab.o] Error 1

Looking at parse.y, the problem seems pretty clear. The label `pop_alias'
is not defined if ALIAS is not defined. However, about 15 lines down there
is a `goto_popalias' statement with no such condition.

The issue with --disable-job-control seems like it may be similar, however
I did not take the time to look any further in to it.

    execute_cmd.c: In function 'execute_pipeline':
    execute_cmd.c:2205: error 'job_control' undeclared (first use in this
function)



Repeat-By:

* Download a copy of bash 4.2.
* Configure with either or both of '--disable-job-control' and
'--enable-minimal-config'.
* Attempt to build.

Replicated on Debian and Ubuntu. Unfortunately I don't have access to any
other family of OS at the moment to ensure this isn't related to that
somehow, however it doesn't seem like it would be.


reply via email to

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