Giter VIP home page Giter VIP logo

Comments (8)

nickelc avatar nickelc commented on June 23, 2024

what's your system specs (os, 32bit/64bit) and rust version?

from hpk.

Quix0r avatar Quix0r commented on June 23, 2024

Updated post

from hpk.

nickelc avatar nickelc commented on June 23, 2024

hmmm, travis-ci has built it on ubuntu 14.04 and rustc 1.33.0 without problems.

can you apply this patch to remove the zstd support and try again with RUST_BACKTRACE=1 cargo build?
no_zstd.patch.txt

Next try with flate2 using its rust backend.
Cargo.toml

- flate2 = "1"
+ flate2 = { version = "1", default-features = false, features = ["rust_backend"] }

from hpk.

Quix0r avatar Quix0r commented on June 23, 2024

I have tried all 3 possibilities:

  • 1st patch (no_zstd.patch.txt) alone
  • 2nd change alone
  • both together

... and all 3 give same error message. I guess Debian has maybe out-dated libraries? It was the case with yaml-cpp (0.5.2 is known for having bugs but now with 0.6.0 I can build a game again).

from hpk.

Quix0r avatar Quix0r commented on June 23, 2024

Lucky guess: maybe optimization level is to high? with GCC sometimes -O3 is to much, you have to go back to -O2.

from hpk.

Quix0r avatar Quix0r commented on June 23, 2024

No, not even opt-level=2 did it (in [profile.release] category). But I was able to compile a debug build.

from hpk.

nickelc avatar nickelc commented on June 23, 2024

yeah, Debian 7.3 seems way too outdated. but at least the debug build is working for you.

from hpk.

Quix0r avatar Quix0r commented on June 23, 2024

At least it is documented here. :-)

from hpk.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.