jeaye / q3

A Quake 3 like game with voxelized, destructible maps; written in Rust
BSD 3-Clause "New" or "Revised" License
500 stars 25 forks source link

./configure failure on linux x86_64 #58

Open blak3mill3r opened 6 years ago

blak3mill3r commented 6 years ago

Similar to #55 but not the same. No warnings about not finding submodules, but looks like bin/rustpkg is missing with the upstream versions, or something.

 ➢$ ./configure 
»»» Configuring Q³
»»» WARNING: This project is not actively under development
»»» WARNING: This script will build an old Rust version to run Q³
»»» Platform: Linux
»»» Build directory: /home/blake/src/q3/build
»»» Source directory: /home/blake/src/q3
»»» Updating submodules
Submodule 'lib/gl-rs' (https://github.com/bjz/gl-rs.git) registered for path 'lib/gl-rs'
Submodule 'lib/glfw' (git://github.com/glfw/glfw.git) registered for path 'lib/glfw'
Submodule 'lib/glfw-rs' (https://github.com/bjz/glfw-rs.git) registered for path 'lib/glfw-rs'
Submodule 'lib/ncurses-rs' (git://github.com/jeaye/ncurses-rs.git) registered for path 'lib/ncurses-rs'
Submodule 'lib/rust' (https://github.com/mozilla/rust.git) registered for path 'lib/rust'
Submodule 'lib/rust-opengles' (https://github.com/mozilla-servo/rust-opengles.git) registered for path 'lib/rust-opengles'
Submodule 'lib/stb-image' (https://github.com/mozilla-servo/rust-stb-image.git) registered for path 'lib/stb-image'
Cloning into '/home/blake/src/q3/lib/gl-rs'...
Cloning into '/home/blake/src/q3/lib/glfw'...
Cloning into '/home/blake/src/q3/lib/glfw-rs'...
Cloning into '/home/blake/src/q3/lib/ncurses-rs'...
Cloning into '/home/blake/src/q3/lib/rust'...
Cloning into '/home/blake/src/q3/lib/rust-opengles'...
Cloning into '/home/blake/src/q3/lib/stb-image'...
Submodule 'src/gyp' (https://github.com/brson/gyp.git) registered for path 'lib/rust/src/gyp'
Submodule 'src/libuv' (https://github.com/alexcrichton/libuv.git) registered for path 'lib/rust/src/libuv'
Submodule 'src/llvm' (https://github.com/alexcrichton/llvm.git) registered for path 'lib/rust/src/llvm'
Cloning into '/home/blake/src/q3/lib/rust/src/gyp'...
Cloning into '/home/blake/src/q3/lib/rust/src/libuv'...
Cloning into '/home/blake/src/q3/lib/rust/src/llvm'...
»»» Building rust (will be a while)
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   183  100   183    0     0   2489      0 --:--:-- --:--:-- --:--:--  2506
Traceback (most recent call last):
  File "/home/blake/src/q3/lib/rust/src/etc/get-snapshot.py", line 91, in <module>
    raise Exception("bad hash on download")
Exception: bad hash on download
make: *** [x86_64-unknown-linux-gnu/stage0/bin/rustc] Error 1
make: *** Waiting for unfinished jobs....
»»» Building glfw_static
»»» Building glfw_shared
CMake Warning (dev) in src/CMakeLists.txt:
  Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
  interface.  Run "cmake --help-policy CMP0022" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  Target "glfw" has an INTERFACE_LINK_LIBRARIES property which differs from
  its LINK_INTERFACE_LIBRARIES properties.

  INTERFACE_LINK_LIBRARIES:

    /usr/lib/x86_64-linux-gnu/libX11.so;-lpthread;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libXrandr.so;/usr/lib/x86_64-linux-gnu/libXi.so;/usr/lib/x86_64-linux-gnu/libXxf86vm.so;/usr/lib/x86_64-linux-gnu/librt.so;/usr/lib/x86_64-linux-gnu/libm.so;/usr/lib/x86_64-linux-gnu/libGL.so

  LINK_INTERFACE_LIBRARIES:

This warning is for project developers.  Use -Wno-dev to suppress it.

»»» Building glfw-rs
./configure: line 157: /home/blake/src/q3/bin/rustpkg: No such file or directory
jeaye commented 6 years ago

Yeah, q3 isn't gonna build at this point. The deps I hosted are gone, the deps others hosted have been rebased so the commits are different, and it requires some love which it won't likely see. We can leave this open, since it's a valid issue, but I don't have time for Rust tinkerings these days.

Thanks for the ticket!