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

Issues building libretro core on Debian 8 amd64 #33

Open
mdeguzis opened this issue Nov 16, 2016 · 2 comments
Open

Issues building libretro core on Debian 8 amd64 #33

mdeguzis opened this issue Nov 16, 2016 · 2 comments

Comments

@mdeguzis
Copy link

  Compiling gl v0.5.2
   Compiling rustation-retro v0.1.0 (file:///tmp/buildd/libretro-rustation-0.0.0+git20161116.562d367~1)
src/libretro.rs:785:33: 785:56 error: unresolved name `panic::AssertUnwindSafe` [E0425]
src/libretro.rs:785     let r = panic::catch_unwind(panic::AssertUnwindSafe(|| {
                                                    ^~~~~~~~~~~~~~~~~~~~~~~
src/libretro.rs:785:33: 785:56 help: run `rustc --explain E0425` to see a detailed explanation
src/libretro.rs:785:13: 785:32 error: unresolved name `panic::catch_unwind` [E0425]
src/libretro.rs:785     let r = panic::catch_unwind(panic::AssertUnwindSafe(|| {
                                ^~~~~~~~~~~~~~~~~~~
src/libretro.rs:785:13: 785:32 help: run `rustc --explain E0425` to see a detailed explanation
src/libretro.rs:795:8: 795:18 error: the type of this value must be known in this context
src/libretro.rs:795     if r.is_err() {
                           ^~~~~~~~~~
error: aborting due to previous error
Could not compile `rustation-retro`.

To learn more, run the command again with --verbose.
debian/rules:14: recipe for target 'override_dh_auto_build' failed
@simias
Copy link
Owner

simias commented Nov 16, 2016

It seems that the version of rustc is too old for this:

Selecting previously unselected package rustc.
Preparing to unpack .../rustc_1.8.0+bsos-1_amd64.deb ...
Unpacking rustc (1.8.0+bsos-1) ...

catch_unwind was introduced in 1.9.0. It's possible to comment that code and not catch the panic here however, it'll just prevent some cleanup before the emulator crashes but nothing critical.

@mdeguzis
Copy link
Author

Got it, thanks for catching that. I'll boost my package build of rustc. I'll close once I retry here.

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

2 participants