help-make
[Top][All Lists]
Advanced

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

error using --output-sync=recurse with pipe on OSX


From: Satish Balay
Subject: error using --output-sync=recurse with pipe on OSX
Date: Fri, 21 Aug 2015 16:52:07 -0500 (CDT)
User-agent: Alpine 2.20 (LFD 67 2015-01-07)

Hi,

I'm getting an error message when using 'make --output-sync=recurse'
on OSX with a pipe.  [linux does not have this issue]

"fcntl(): Bad file descriptor"

Any idea why this happens?

Thanks,
Satish


----------------

address@hidden/junk $ cat makefile 
all:
        @echo test
address@hidden/junk $ ./make  --output-sync=recurse | tee log
fcntl(): Bad file descriptor
test
address@hidden/junk $ cat log
test
address@hidden/junk $ ./make  --output-sync=recurse | grep foobar
fcntl(): Bad file descriptor
address@hidden/junk $ ./make  --output-sync=recurse
test
address@hidden/junk $ ./make  | tee log2
test
address@hidden/junk $ cat log2
test
address@hidden/junk $ ./make  --output-sync=recurse > log3
address@hidden/junk $ cat log3
test
address@hidden/junk $ ./make --version
GNU Make 4.1
Built for x86_64-apple-darwin14.4.0
Copyright (C) 1988-2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
address@hidden/junk $ sw_vers 
ProductName:      Mac OS X
ProductVersion:   10.10.4
BuildVersion:     14E46
address@hidden/junk $ 



reply via email to

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