Coder Social home page Coder Social logo

ztunnel build fails because of "Unable to update https://github.com/howardjohn/boring/?branch=hyper-boring/adopt-hyper-1.0.0#5185311a" about ztunnel HOT 9 CLOSED

clairelz-zhang avatar clairelz-zhang commented on July 2, 2024
ztunnel build fails because of "Unable to update https://github.com/howardjohn/boring/?branch=hyper-boring/adopt-hyper-1.0.0#5185311a"

from ztunnel.

Comments (9)

howardjohn avatar howardjohn commented on July 2, 2024 1

should be fixed now, sorry about that. We will be off of my forks soon

from ztunnel.

hzxuzhonghu avatar hzxuzhonghu commented on July 2, 2024

Cannot reproduce, do you need to clean cache?

from ztunnel.

clairelz-zhang avatar clairelz-zhang commented on July 2, 2024

@hzxuzhonghu
Did you try to reproduce in version 1.19.4. Because I tried in the 1.20.0, it works.
This commit id 5185311af8addc6851a48bd5747ec634dbb72811 really doesn't exist in the branch "hyper-boring/adopt-hyper-1.0.0"

from ztunnel.

hzxuzhonghu avatar hzxuzhonghu commented on July 2, 2024

Yes, on 1.19

from ztunnel.

clairelz-zhang avatar clairelz-zhang commented on July 2, 2024

Do I need to modify the Cargo.lock file?

from ztunnel.

xocodergit avatar xocodergit commented on July 2, 2024

I got the same error while trying to build tag 1.19.4, the commit 5185311a is indeed not exist @howardjohn

from ztunnel.

xocodergit avatar xocodergit commented on July 2, 2024

Do I need to modify the Cargo.lock file?

I had tried to use the newest commit of the branch hyper-boring/adopt-hyper-1.0.0 which full SHA is 423c260d87b69a926594ded0dd693b5cf1220452(also change version to 5.0.0), then a dependency conflict error appears:

$ BUILD_WITH_CONTAINER=1 make build
cargo build
    Updating git repository `https://github.com/howardjohn/boring/`
    Updating git submodule `https://github.com/google/boringssl.git`
    Updating git submodule `https://github.com/google/boringssl.git`
    Updating git repository `https://github.com/howardjohn/hyper-util`
    Updating crates.io index
error: failed to select a version for `hyper`.
    ... required by package `hyper-boring v5.0.0 (https://github.com/howardjohn/boring/?branch=hyper-boring/adopt-hyper-1.0.0#423c260d)`
    ... which satisfies git dependency `hyper-boring` (locked to 5.0.0) of package `ztunnel v0.0.0 (/work)`
versions that meet the requirements `^1.0` are: 1.0.1, 1.0.0

all possible versions conflict with previously selected packages.

  previously selected package `hyper v1.0.0-rc.3`
    ... which satisfies dependency `hyper = "=1.0.0-rc.3"` (locked to 1.0.0-rc.3) of package `hyper-util v0.0.0 (https://github.com/howardjohn/hyper-util?branch=h2-timer-expose-exec#b9eaeca8)`
    ... which satisfies git dependency `hyper-util` (locked to 0.0.0) of package `ztunnel v0.0.0 (/work)`

failed to select a version for `hyper` which could resolve this conflict
make[1]: *** [Makefile.core.mk:11: build] Error 101
make: *** [build] Error 2

seems the hyper is also needed by another dependency but they referenced different version.

from ztunnel.

xocodergit avatar xocodergit commented on July 2, 2024

Cannot reproduce, do you need to clean cache?

maybe the '5185311af8addc6851a48bd5747ec634dbb72811' exists in your local cache?

from ztunnel.

GregHanson avatar GregHanson commented on July 2, 2024

related to #726

from ztunnel.

Related Issues (20)

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.