Re: Terminal stop when a group of pipelines is piped to a pager

2016-10-02 Thread Chet Ramey
On 10/1/16 2:25 AM, Abhijit Dasgupta wrote:
> Well, on second thought, it seems that the issue I originally reported may be 
> related to a bash bug after all:  It occurs whenever "set -o functrace" and 
> "trap '...' DEBUG" are both in place, and can be reproduced as follows:
> 
> set -o functrace
> trap ':' DEBUG
> { date; who | sort; } | more  # Gets stopped
> { who | sort; date; } | more  # Works fine

Try it on a devel branch version after 9/10/2016.  I can't reproduce it
with the current devel version.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/



bash 4.4: `configure --enable-static-link --without-gnu-malloc` fails with `No rule to make target 'install-'`

2016-10-02 Thread Andrew Tomazos
When I try to configure and make install bash 4.4 as follows:

$ configure --enable-static-link --without-gnu-malloc
$ make install

I get:

( cd examples/loadables && make  DESTDIR= install )
make[1]: Entering directory
'/tmp/tmp.I41FEP4JeE/build/examples/loadables'
make[1]: *** No rule to make target 'install-', needed by 'install'.
Stop.

If I:

   $ cd examples/loadables
   $ make install

I get:

make[1]: *** No rule to make target 'install-', needed by 'install'.
Stop.

When I inspect the Makefile in

examples/loadables/Makefile

I see:

install:install-$(SHOBJ_STATUS)

I assume what is causing this is that $(SHOBJ_STATUS) is empty, and neither
set to "supported" nor "unsupported".

It isn't clear which is the correct value given my configure options, or
what is causing SHOBJ_STATUS to be empty at this point in the build.

Any ideas?

Thanks,
Andrew.