pop-os / cosmic-panel

WIP
GNU General Public License v3.0
113 stars 26 forks source link

build not possible for a long time #286

Open misterhsp opened 1 day ago

misterhsp commented 1 day ago

Since some time cosmic-panel cannot be built because a git-checkout always fails. By the way, the same thing also happens with cosmic-settings.

if ! ischroot && test "1" = "1"; then \
    mkdir -p .cargo; \
    cargo vendor --sync Cargo.toml | head -n -1 > .cargo/config; \
    echo 'directory = "vendor"' >> .cargo/config; \
    tar pcf vendor.tar vendor; \
    rm -rf vendor; \
fi
warning: `/media/dummy/build/cosmic-panel/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: patch for `smithay-client-toolkit` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism
    Updating git repository `https://github.com/Smithay/client-toolkit//`
warning: spurious network error (3 tries remaining): failed to receive HTTP 200 response: got 404; class=Net (12)
warning: spurious network error (2 tries remaining): failed to receive HTTP 200 response: got 404; class=Net (12)
warning: spurious network error (1 tries remaining): failed to receive HTTP 200 response: got 404; class=Net (12)
error: failed to sync

Caused by:
  failed to load pkg lockfile

Caused by:
  failed to load source for dependency `smithay-client-toolkit`

Caused by:
  Unable to update https://github.com/Smithay/client-toolkit//#618a8764

Caused by:
  failed to clone into: /home/holgi/.cargo/git/db/_empty-f31853f5765173d8

Caused by:
  network failure seems to have happened
  if a proxy or similar is necessary `net.git-fetch-with-cli` may help here
  https://doc.rust-lang.org/cargo/reference/config.html#netgit-fetch-with-cli

Caused by:
  failed to receive HTTP 200 response: got 404; class=Net (12)
make[1]: Verzeichnis „/media/dummy/build/cosmic-panel“ wird verlassen
   dh_clean
 dpkg-source -b .
dpkg-source: Information: Quellformat »3.0 (native)« wird verwendet
dpkg-source: Information: cosmic-panel wird in cosmic-panel_0.1.0.tar.xz gebaut
dpkg-source: Information: cosmic-panel wird in cosmic-panel_0.1.0.dsc gebaut
 debian/rules build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_build
make[1]: Verzeichnis „/media/dummy/build/cosmic-panel“ wird betreten
just build-vendored
cargo build --release --frozen --offline 
warning: `/media/dummy/build/cosmic-panel/.cargo/config` is deprecated in favor of `config.toml`
note: if you need to support cargo 1.38 or earlier, you can symlink `config` to `config.toml`
warning: patch for `smithay-client-toolkit` uses the features mechanism. default-features and features will not take effect because the patch dependency does not support this mechanism
error: failed to load source for dependency `smithay-client-toolkit`

Caused by:
  Unable to update https://github.com/Smithay/client-toolkit//#618a8764

Caused by:
  can't checkout from 'https://github.com/Smithay/client-toolkit//': you are in the offline mode (--offline)
error: Recipe `build-debug` failed on line 29 with exit code 101
make[1]: *** [debian/rules:27: override_dh_auto_build] Fehler 101
make[1]: Verzeichnis „/media/dummy/build/cosmic-panel“ wird verlassen
make: *** [debian/rules:8: build] Fehler 2
dpkg-buildpackage: Fehler: Unterprozess debian/rules build lieferte Exitstatus 2
garrettjwilke commented 1 day ago

i just attempted to build, and it worked. this could be something with your ~/.gitconfig file. i would backup that file, and try removing it. it might be trying to update/clone using https rather than ssh.

misterhsp commented 1 day ago

I don't have ~/.gitconfig. It is the pure clone of your repo. I have not changed anything.

Am 05.11.24 um 17:09 schrieb garrettjwilke:

i just attempted to build, and it worked. this could be something with your |~/.gitconfig| file. i would backup that file, and try removing it. it might be trying to update/clone using https rather than ssh.

— Reply to this email directly, view it on GitHub https://github.com/pop-os/cosmic-panel/issues/286#issuecomment-2457591635, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGJLRMFO6WHSFC4XAZOTT3Z7DUSBAVCNFSM6AAAAABRG3NCOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGU4TCNRTGU. You are receiving this because you authored the thread.Message ID: @.***>

garrettjwilke commented 1 day ago

on Pop_OS! 22.04 i just tested on a clean install with nothing else on it. perhaps you could clone the repo in another directory and try again? i made sure to have rustup, debhelper, just, and libxkbcommon-dev installed. then i ran the following:

dpkg-buildpackage -b -d

also what distro/OS are you running?

misterhsp commented 1 day ago

Distro is Debian SID. My last build about 2 - 3 weeks ago ran without errors. But since then it doesn't work anymore.

Am 05.11.24 um 17:38 schrieb garrettjwilke:

on Pop_OS! 22.04 i just tested on a clean install with nothing else on it. perhaps you could clone the repo in another directory and try again? i made sure to have |rustup|, |debhelper|, |just|, and |libxkbcommon-dev| installed. then i ran the following:

|dpkg-buildpackage -b -d |

also what distro/OS are you running?

— Reply to this email directly, view it on GitHub https://github.com/pop-os/cosmic-panel/issues/286#issuecomment-2457662645, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKGJLRP6UCA4USDYGZ5ANR3Z7DYCHAVCNFSM6AAAAABRG3NCOSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXGY3DENRUGU. You are receiving this because you authored the thread.Message ID: @.***>

misterhsp commented 8 hours ago

I can do what I want here, this error remains. Otherwise it always worked without errors

....