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

fails with LLVM ERROR: IO failure on output stream #18

Closed
kenz-gelsoft opened this issue Apr 24, 2023 · 6 comments
Closed

fails with LLVM ERROR: IO failure on output stream #18

kenz-gelsoft opened this issue Apr 24, 2023 · 6 comments

Comments

@kenz-gelsoft
Copy link
Owner

44:15.39    Compiling wgpu-types v0.12.0 (https://github.com/gfx-rs/wgpu?rev=b51fd851#b51fd851)
44:40.36    Compiling fluent v0.16.0
49:38.27 LLVM ERROR: IO failure on output stream: Permission denied
49:38.53 error: could not compile `naga`
49:38.54 warning: build failed, waiting for other jobs to finish...
55:08.48 /boot/home/src/firefox-102.9.0/config/makefiles/rust.mk:429: recipe for target 'force-cargo-library-build' failed
55:08.48 make[4]: *** [force-cargo-library-build] Error 101
55:08.49 /boot/home/src/firefox-102.9.0/config/recurse.mk:72: recipe for target 'toolkit/library/rust/target' failed
55:08.49 make[3]: *** [toolkit/library/rust/target] Error 2
55:08.49 /boot/home/src/firefox-102.9.0/config/recurse.mk:32: recipe for target 'compile' failed
55:08.49 make[2]: *** [compile] Error 2
55:08.51 /boot/home/src/firefox-102.9.0/config/rules.mk:361: recipe for target 'default' failed
55:08.51 make[1]: *** [default] Error 2
55:08.52 client.mk:63: recipe for target 'build' failed
55:08.52 make: *** [build] Error 2
55:08.53 0 compiler warnings present.
55:09.80 /bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed
@kenz-gelsoft
Copy link
Owner Author

15:40.25    Compiling unicode-segmentation v1.9.0
15:43.86    Compiling moz_cbor v0.1.2
21:31.04 LLVM ERROR: IO failure on output stream: Permission denied
21:31.58 error: could not compile `wgpu-core`
21:31.59 warning: build failed, waiting for other jobs to finish...
TIER: pre-export export compile misc libs tools

@kenz-gelsoft
Copy link
Owner Author

 1:16.88    Compiling wgpu-core v0.12.0 (https://github.com/gfx-rs/wgpu?rev=b51fd851#b51fd851)
 1:17.59 warning: unnecessary parentheses around match arm expression
 1:17.64    --> gfx/wr/webrender/src/render_target.rs:827:13
 1:17.65     |
 1:17.65 827 |             ((data.r_func.to_int() << 12 |
 1:17.66     |             ^
 1:17.66 ...
 1:17.66 830 |               data.a_func.to_int()) as u16),
 1:17.66     |                                           ^
 1:17.66     |
 1:17.66     = note: `#[warn(unused_parens)]` on by default
 1:17.66 help: remove these parentheses
 1:17.67     |
 1:17.67 827 ~             (data.r_func.to_int() << 12 |
 1:17.68 828 |               data.g_func.to_int() << 8 |
 1:17.68 829 |               data.b_func.to_int() << 4 |
 1:17.68 830 ~               data.a_func.to_int()) as u16,
 1:17.68     |
 7:52.26 LLVM ERROR: IO failure on output stream: Permission denied
 7:52.70 error: could not compile `wgpu-core`
 7:52.71 warning: build failed, waiting for other jobs to finish...
76:51.40 LLVM ERROR: IO failure on output stream: Permission denied
76:52.85 warning: `webrender` (lib) generated 1 warning (run `cargo fix --lib -p webrender` to apply 1 suggestion)
76:52.87 error: could not compile `webrender`; 1 warning emitted
77:20.17 /boot/home/src/firefox-102.9.0/config/makefiles/rust.mk:429: recipe for target 'force-cargo-library-build' failed
77:20.18 make[4]: *** [force-cargo-library-build] Error 101
77:20.22 /boot/home/src/firefox-102.9.0/config/recurse.mk:72: recipe for target 'toolkit/library/rust/target' failed
77:20.22 make[3]: *** [toolkit/library/rust/target] Error 2
77:20.28 /boot/home/src/firefox-102.9.0/config/recurse.mk:32: recipe for target 'compile' failed
77:20.28 make[2]: *** [compile] Error 2
77:20.34 /boot/home/src/firefox-102.9.0/config/rules.mk:361: recipe for target 'default' failed
77:20.35 make[1]: *** [default] Error 2
77:20.40 client.mk:63: recipe for target 'build' failed
77:20.40 make: *** [build] Error 2
77:20.43 0 compiler warnings present.
77:22.07 /bin/notify-send --app-name=Mozilla Build System Mozilla Build System Build failed
~/src/firefox-102.9.0> 

@kenz-gelsoft
Copy link
Owner Author

https://stackoverflow.com/questions/23031197/llvm-io-error-error-writing-to-a-bc-file

other than first occured may be caused by not clearing previous error.

@kenz-gelsoft
Copy link
Owner Author

need more logging to investigate this.

@kenz-gelsoft
Copy link
Owner Author

 1:11.76    Compiling wgpu-core v0.12.0 (https://github.com/gfx-rs/wgpu?rev=b51fd851#b51fd851)
 6:52.42 LLVM ERROR: IO failure on output stream: Permission denied
 6:53.11 error: could not compile `wgpu-core`
 6:53.11 warning: build failed, waiting for other jobs to finish...
Process Process-1:xport compile misc libs tools
1056:03.78 /boot/home/src/firefox-102.9.0/config/makefiles/rust.mk:429: recipe for target 'force-cargo-library-build' failed
1056:03.85 make[4]: *** [force-cargo-library-build] Interrupt
1056:03.85 /boot/home/src/firefox-102.9.0/config/recurse.mk:72: recipe for target 'toolkit/library/rust/target' failed
1056:03.85 make[3]: *** [toolkit/library/rust/target] Interrupt
1056:03.85 /boot/home/src/firefox-102.9.0/config/recurse.mk:32: recipe for target 'compile' failed
1056:03.85 make[2]: *** [compile] Interrupt
Traceback (most recent call last):sc libs tools
  File "/packages/python3.9-3.9.16-1/.self/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
    self.run()
  File "/packages/python3.9-3.9.16-1/.self/lib/python3.9/multiprocessing/process.py", line 108, in run
    self._target(*self._args, **self._kwargs)
  File "/boot/home/src/firefox-102.9.0/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 141, in _collect
    while not _poll(pipe, poll_interval=sleep_interval):
  File "/boot/home/src/firefox-102.9.0/testing/mozbase/mozsystemmonitor/mozsystemmonitor/resourcemonitor.py", line 107, in _poll
    return pipe.poll(poll_interval)
  File "/packages/python3.9-3.9.16-1/.self/lib/python3.9/multiprocessing/connection.py", line 257, in poll
    return self._poll(timeout)
  File "/packages/python3.9-3.9.16-1/.self/lib/python3.9/multiprocessing/connection.py", line 424, in _poll
    r = wait([self], timeout)
  File "/packages/python3.9-3.9.16-1/.self/lib/python3.9/multiprocessing/connection.py", line 931, in wait
    ready = selector.select(timeout)
  File "/packages/python3.9-3.9.16-1/.self/lib/python3.9/selectors.py", line 416, in select
    fd_event_list = self._selector.poll(timeout)
KeyboardInterrupt
1056:03.93 /boot/home/src/firefox-102.9.0/config/rules.mk:361: recipe for target 'default' failed
1056:04.01 make[1]: *** [default] Interrupt
1056:04.13 client.mk:63: recipe for target 'build' failed
1056:04.13 make: *** [build] Interrupt
Error running mach:

    ['build']

The error occurred in code that was called by the mach command. This is either
a bug in the called code itself or in the way that mach is calling it.
You can invoke |./mach busted| to check if this issue is already on file. If it
isn't, please use |./mach busted file build| to report it. If |./mach busted| is
misbehaving, you can also inspect the dependencies of bug 1543241.

If filing a bug, please include the full output of mach, including this error
message.

The details of the failure are as follows:

ProcessLookupError: [Errno -2147454963] No such process

  File "/boot/home/src/firefox-102.9.0/python/mozbuild/mozbuild/build_commands.py", line 221, in build
    return driver.build(
  File "/boot/home/src/firefox-102.9.0/python/mozbuild/mozbuild/controller/building.py", line 1427, in build
    status = self._run_client_mk(
  File "/boot/home/src/firefox-102.9.0/python/mozbuild/mozbuild/controller/building.py", line 1867, in _run_client_mk
    return self._run_make(
  File "/boot/home/src/firefox-102.9.0/python/mozbuild/mozbuild/base.py", line 832, in _run_make
    return fn(**params)
  File "/boot/home/src/firefox-102.9.0/python/mozbuild/mozbuild/base.py", line 835, in _run_command_in_srcdir
    return self.run_process(cwd=self.topsrcdir, **args)
  File "/boot/home/src/firefox-102.9.0/python/mach/mach/mixin/process.py", line 168, in run_process
    status = p.kill(sig=sig)
  File "/boot/home/src/firefox-102.9.0/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 975, in kill
    self.proc.kill(sig=sig, timeout=timeout)
  File "/boot/home/src/firefox-102.9.0/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 263, in kill
    send_sig(sig or signal.SIGKILL)
  File "/boot/home/src/firefox-102.9.0/testing/mozbase/mozprocess/mozprocess/processhandler.py", line 247, in send_sig
    os.kill(pid, sig)
~/src/firefox-102.9.0> 

@kenz-gelsoft
Copy link
Owner Author

Building firefox seems to require a bit powerful PC.

Moving to another desktop w/ old 8-core Core-i7 and 16GB RAM did fix this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant