Package Details: zsh-theme-powerlevel10k-git r3918.25e5f59-1

Git Clone URL: https://aur.archlinux.org/zsh-theme-powerlevel10k-git.git (read-only, click to copy)
Package Base: zsh-theme-powerlevel10k-git
Description: Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience.
Upstream URL: https://github.com/romkatv/powerlevel10k
Licenses: MIT
Conflicts: zsh-theme-powerlevel10k
Provides: zsh-theme-powerlevel10k
Submitter: madscience
Maintainer: romkatv
Last Packager: romkatv
Votes: 74
Popularity: 0.39
First Submitted: 2019-03-10 00:06 (UTC)
Last Updated: 2021-08-18 14:58 (UTC)

Dependencies (8)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 Next › Last »

avannus commented on 2023-01-31 00:21 (UTC) (edited on 2023-01-31 00:21 (UTC) by avannus)

Bump pkr, sha256 mismatch https://aur.archlinux.org/packages/zsh-theme-powerlevel10k-git#comment-899905

pkr commented on 2023-01-30 21:52 (UTC)

Hi, can't build the package because of:


[error] sha256 mismatch

  file    : deps/libgit2-tag-0ad3d776aa86dd607dc86dcd7f77ad3ed7ebec61.tar.gz
  expected: c5d0117ae74d3ef244c26f10cce022019077dbc4563e6251fa9f56d36868ce74
  actual  : 9b970293d7ec8897af03587089db50d2fbf84d2d39c75dc84ddd6d3124da759f


Archislove commented on 2022-02-19 10:26 (UTC) (edited on 2022-02-19 10:29 (UTC) by Archislove)

Hi, my build fails with a huge amount of errors and I don't know how to solve them, these are just the last few lines:

/usr/include/c++/12.0.1/bits/basic_string.h:287:21: error: '<unnamed>.gitstatus::Repo::Shard::start_s.std::__cxx11::basic_string<char>::<anonymous>.std::__cxx11::basic_string<char>::<unnamed union>::_M_allocated_capacity' may be used uninitialized [-Werror=maybe-uninitialized]
  287 |           _M_destroy(_M_allocated_capacity);
      |           ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
src/repo.cc: In member function 'void gitstatus::Repo::UpdateShards()':
src/repo.cc:423:20: note: '<anonymous>' declared here
  423 |   shards_.push_back({
      |   ~~~~~~~~~~~~~~~~~^~
  424 |     .start_s = std::move(last_s),
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  425 |     .end_s = "",
      |     ~~~~~~~~~~~~    
  426 |     .start_i = last_i,
      |     ~~~~~~~~~~~~~~~~~~
  427 |     .end_i = index_size});
      |     ~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make: *** [Makefile:31: /tmp/gitstatus-build.BypZhwWgF6/gitstatus/repo.o] Error 1
make: *** Waiting for unfinished jobs....
make: Leaving directory '/home/andrea/.cache/paru/clone/zsh-theme-powerlevel10k-git/src/powerlevel10k/gitstatus'
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'zsh-theme-powerlevel10k-git-r3918.25e5f59-1': 
error: packages failed to build: zsh-theme-powerlevel10k-git-r3918.25e5f59-1

Any idea on what is wrong here?

alex.pyattaev commented on 2021-08-23 05:09 (UTC)

Added logs to github issue as suggested.

romkatv commented on 2021-08-18 15:06 (UTC)

@alex.pyattaev I've added extra logging around this error. Can you try again? If it doesn't work, please leave a comment on https://github.com/romkatv/powerlevel10k/issues/1477. Leaving a comment here would also be OK but the UI on github is better for this sort of stuff.

alex.pyattaev commented on 2021-08-16 19:45 (UTC)

Hi, I'm getting this really odd build error with this package that seems to be related to gitstatus plugin of the powerlevel10k. I have honestly no clue what is wrong but it seems to persist for a while now. Any help is welcome!

==> Do you want to remove all other AUR packages from cache? [Y/n] removing AUR packages from cache... ==> Do you want to remove ALL untracked AUR files? [Y/n] removing untracked AUR files from cache... (4/5) Updating the desktop file MIME type cache... (5/5) Updating the MIME type database... ==> Making package: zsh-theme-powerlevel10k-git r3896.4bcc519-5 (Mon 16 Aug 2021 10:25:40 PM EEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Updating powerlevel10k git repo... Fetching origin ==> Validating source files with md5sums... powerlevel10k ... Skipped ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Creating working copy of powerlevel10k git repo... Cloning into 'powerlevel10k'... done. ==> Starting pkgver()... ==> Updated version: zsh-theme-powerlevel10k-git r3912.32e76e7-1 ==> Sources are ready. ==> Making package: zsh-theme-powerlevel10k-git r3912.32e76e7-1 (Mon 16 Aug 2021 10:25:46 PM EEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> WARNING: Using existing $srcdir/ tree ==> Starting pkgver()... ==> Starting build()... Building gitstatusd...

kernel := linux arch := x86_64 cpu := x86-64 install tools := no download deps := yes /home/<user>/.cache/yay/zsh-theme-powerlevel10k-git/src/powerlevel10k/gitstatus/deps/gitstatusd.libgit2.tmp: No such file or directory ==> ERROR: A failure occurred in build(). Aborting... error making: zsh-theme-powerlevel10k-git yay -Syu 134.55s user 65.18s system 34% cpu 9:33.81 total ❯ cd /home/<user>/.cache/yay/zsh-theme-powerlevel10k-git/src/powerlevel10k/gitstatus/deps/ ❯ ls ❯ cd .. ❯ ls LICENSE README.md build.info docs gitstatus.plugin.zsh gitstatus.prompt.zsh install.info src Makefile build deps gitstatus.plugin.sh gitstatus.prompt.sh install mbuild usrbin ~/.cac/yay/zsh-theme-powerlevel10k-git/s/powerlevel10k/gitstatus

JuniorJPDJ commented on 2021-06-29 21:34 (UTC)

maybe this could help you: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/testing/zsh-theme-powerlevel10k/APKBUILD

romkatv commented on 2021-06-28 15:35 (UTC)

@yochananmarqos I know. That's how I figured out that aarch64 will likely work. I wasn't able to find the info I need. Namely, the output of uname -m on arm, armv6h and armv7h. Unless you really care about these systems, I suggest to leave this topic at rest.

yochananmarqos commented on 2021-06-28 15:24 (UTC)

@romkatv: The possible architecture values are in the wiki: https://wiki.archlinux.org/title/PKGBUILD#arch

romkatv commented on 2021-06-28 08:29 (UTC)

@francoism90 Per https://wiki.archlinux.org/title/PKGBUILD#arch:

arch=('any') indicates the package can be built once on any architecture, and once built, is architecture-independent in its compiled state.

zsh-theme-powerlevel10k-git doesn't satisfy this requirement. It can be built on all mainstream architectures but it cannot be used from a different architecture after it was built.