Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dev/null gets deleted during compilation on some systems #159

Closed
cmumford opened this issue Sep 9, 2014 · 1 comment
Closed

/dev/null gets deleted during compilation on some systems #159

cmumford opened this issue Sep 9, 2014 · 1 comment
Assignees

Comments

@cmumford
Copy link
Contributor

@cmumford cmumford commented Sep 9, 2014

Original issue 153 created by sander@kleykens.com on 2013-03-23T03:40:30.000Z:

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 514c943 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.

@cmumford
Copy link
Contributor Author

@cmumford cmumford commented Sep 9, 2014

Comment #1 originally posted by dgrogan@chromium.org on 2013-05-15T00:10:54.000Z:

<empty>

Loading

@cmumford cmumford self-assigned this Sep 9, 2014
@cmumford cmumford closed this Sep 9, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant