What steps will reproduce the problem?
1. Run gmake as root on FreeBSD 8.3-RELEASE-p3 in the top-level directory.
What is the expected output? What do you see instead?
The library should have been built successfully when gmake is finished. This
does not happen correctly.
Instead of finishing successfully, /dev/null is removed and the system starts
displaying erroneous behaviour.
"mknod /dev/null c 1 3" (or a reboot of the system) is required to restore
/dev/null.
What version of the product are you using? On what operating system?
Revision 514c943a8e9ce1 on FreeBSD 8.3-RELEASE-p3 (gcc version 4.2.2).
Please provide any additional information below.
The problem is caused by checks for the existence of certain libraries in
"build_detect_platform". These checks use /dev/null as output .
The attached patch fixes the issue by using random temporary files instead of
/dev/null as the target output for the library checks.
Original issue reported on code.google.com by san...@kleykens.com on 23 Mar 2013 at 3:40
Original issue reported on code.google.com by
san...@kleykens.com
on 23 Mar 2013 at 3:40Attachments: