oculante: Error while compiling with Aur package

i have seem to run into an error while compiling, cargo cannot compile notan_graphics

error: /home/[REDACTED]/.cache/paru/clone/oculante/src/oculante-0.6.64/target/release/deps/libnotan_macro-a1472673a4fa611c.so: undefined symbol: sc_internal_compiler_glsl_build_combined_image_samplers
  --> /home/[REDACTED]/.cargo/registry/src/github.com-1ecc6299db9ec823/notan_graphics-0.9.5/src/prelude.rs:13:9
   |
13 | pub use notan_macro::{
   |         ^^^^^^^^^^^

error: /home/[REDACTED]/.cache/paru/clone/oculante/src/oculante-0.6.64/target/release/deps/libnotan_macro-a1472673a4fa611c.so: undefined symbol: sc_internal_compiler_glsl_build_combined_image_samplers
  --> /home/[REDACTED]/.cargo/registry/src/github.com-1ecc6299db9ec823/notan_graphics-0.9.5/src/lib.rs:26:9
   |
26 | pub use notan_macro::{
   |         ^^^^^^^^^^^

error: could not compile `notan_graphics` due to 2 previous errors

i have attempted at cleaning the cargo cache, it did not fixed it.

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 27 (10 by maintainers)

Most upvoted comments

i am not sure, since disabling the lto flag in my makepkg.conf is what let me compile the program, i didnt edit the cargo.toml, i wonder if makepkg adds another flag on top of that

its worth noting that lto is enabled by default in arch

Thank you so much! I got an email with the comment, but could not make much sense of it. Thank you for the context - I made the changes and will publish the update in the next release. Please let me know and reopen if this still fails.