foxnne / pixi

Pixel art editor made with Zig.
https://foxnne.github.io/pixi/
MIT License
645 stars 20 forks source link

Build error due to hash mismatch #47

Closed nitingupta910 closed 4 months ago

nitingupta910 commented 4 months ago

System info

zig version: 0.12.0-dev.1092+68ed78775 OS: Ubuntu 22.04.3 LTS

Build error output

$ zig build run
Fetch Packages [9/8] /home/ngupta/src/pixi/build.zig.zon:16:21: error: hash mismatch: manifest declares 12209c255c69822b57cd8906754bbee815e69678741d48a64e945168e611874da662 but the fetched package has 1220e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
            .hash = "12209c255c69822b57cd8906754bbee815e69678741d48a64e945168e611874da662",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:20:21: error: hash mismatch: manifest declares 1220120328740b87b10f373b8b716d5fb7f73b437c770d18cc9012137328f2dd30e2 but the fetched package has 1220e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
            .hash = "1220120328740b87b10f373b8b716d5fb7f73b437c770d18cc9012137328f2dd30e2",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:24:21: error: hash mismatch: manifest declares 122098cc0b0a39d24aaffcd6d5556e8f31f5dd1a754559ffa468918f2ed6c1ad0a03 but the fetched package has 1220c254a60ad909c6eed868977cfec39a9f6e475f7df1794dd8ff4e0f8ee346c50d
            .hash = "122098cc0b0a39d24aaffcd6d5556e8f31f5dd1a754559ffa468918f2ed6c1ad0a03",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:28:21: error: hash mismatch: manifest declares 12202044ed9fd69af156b0afde619ffd1d111554c557f57ab670ca9960e76d60d0b8 but the fetched package has 1220cf991e2155684c173f03dbc470e3745645eb1da9c2b04e8221fe3ea575130a5e
            .hash = "12202044ed9fd69af156b0afde619ffd1d111554c557f57ab670ca9960e76d60d0b8",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:32:21: error: hash mismatch: manifest declares 1220d0bf732d8291b8629ce7e115efb6adef84dcc1218317ee0a89a6f1663153f2a9 but the fetched package has 1220e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
            .hash = "1220d0bf732d8291b8629ce7e115efb6adef84dcc1218317ee0a89a6f1663153f2a9",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:36:21: error: hash mismatch: manifest declares 12206ca5fe2c3d35964b3a1cd30c4ff4e1050852f0062db0dda122513dc9477d5115 but the fetched package has 12205c30ad438ec20bc16300b10eede7c26788e5ed41e99200b57f3bab2f85c1b46e
            .hash = "12206ca5fe2c3d35964b3a1cd30c4ff4e1050852f0062db0dda122513dc9477d5115",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:40:21: error: hash mismatch: manifest declares 12206ed50a939287c717f76547baf24e54301de4500505c19f10965ef559619baf10 but the fetched package has 1220e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
            .hash = "12206ed50a939287c717f76547baf24e54301de4500505c19f10965ef559619baf10",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/ngupta/src/pixi/build.zig.zon:44:21: error: hash mismatch: manifest declares 1220cba50a09790cc799b5923b61f65425dd82959408efdc5c221a6801d5af4e4c89 but the fetched package has 1220e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
            .hash = "1220cba50a09790cc799b5923b61f65425dd82959408efdc5c221a6801d5af4e4c89",
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foxnne commented 4 months ago

Sorry for the delay in responding! Many users had this issue with a non-supported zig version but I see that you've listed the same zig version I'm using. I don't currently have a Linux machine to test but I will be working on this soon and try to reproduce.

foxnne commented 4 months ago

I just updated this project to 0.12.0-dev.2063+804cee3b9, so we are now synced up with 2024.1.0-mach.

nitingupta910 commented 4 months ago

It builds fine with the Zig build you mentioned in your last comment, and staying in sync with the Mach validated Zig version makes sense anyway. Closing the issue. Thanks.