To ensure a clean build use the --cleanbuild argument
@Swizz when you build using makepkg use these arguments
makepkg --syncdeps --rmdeps --clean --install --cleanbuild
or the short version
makepkg -srciC
Git Clone URL: | https://aur.archlinux.org/polybar.git (read-only, click to copy) |
---|---|
Package Base: | polybar |
Description: | A fast and easy-to-use status bar |
Upstream URL: | https://github.com/polybar/polybar |
Keywords: | bar bspwm i3 lemonbar lemonbuddy polybar |
Licenses: | |
Conflicts: | |
Submitter: | jaagr |
Maintainer: | jaagr (NBonaparte, patrick96) |
Last Packager: | patrick96 |
Votes: | 342 |
Popularity: | 13.15 |
First Submitted: | 2016-11-19 05:09 |
Last Updated: | 2021-01-07 13:27 |
To ensure a clean build use the --cleanbuild argument
@Swizz when you build using makepkg use these arguments
makepkg --syncdeps --rmdeps --clean --install --cleanbuild
or the short version
makepkg -srciC
@Swizz I run yay
with --removemake
@banachtarski So there is definitely something weird with your python installation. Is `python3` actually using `/usr/bin/python3` or something else? You should probably also verify that `xcb-proto` is not corrupted: `pacman -Qk xcb-proto`
@patrick96 I get "ModuleNotFoundError: No module named 'xcbgen'
I see the comments saying people addressed it with "pyenv global system." Thing is, I don't even have or use pyenv. Everything should just be vanilla pacman packages.
Was able to install using a clean chroot. Not sure what caused Sphinx instl to corrupt, but I am back up an running. Thanks!
@banachtarski I'm guessing there is something wrong with you python or xcb-proto installation. What does the following command output: python3 -c "import re,xcbgen;print(re.compile('/xcbgen/__init__.py.*').sub('',xcbgen.__file__))"
@patrick96 I don't have a custom python installation and do not use python for day-to-day development. Everything is installed through pacman I believe. Is there anything else you can think of that might be the cause of the issue?
@Sherlock Then it's an issue with your sphinx installation and not with polybar
@patrick96 - I ran sphinx-build and it gave the same error.
Pinned Comments
bl4n commented on 2019-12-23 10:13
Got a problem today with
CMake Error at lib/xpp/CMakeLists.txt:70 (message): Missing required python module: xcbgen
, even if I got xcb-proto.While using pyenv, I resolved this problem by using:
pyenv global system
.patrick96 commented on 2019-09-17 12:07
To solve the
libjsoncpp
issue you need to recompile polybar (particularly re-link). The easiest way to do that is to use a fresh clone of this AUR repo and runmakepkg
there. It is probably also possible with your AUR helper by telling it to remove existing build files (or deleting them yourself).@victorz a clean installation will solve the issue. If it didn't for you, you likely reused an already compiled polybar executable when building the package.
TheGreatAndyChow commented on 2019-04-23 03:46
For problems with conda, simply "conda deactivate", it will install. No need to purge path or remove anaconda.