Cool thanks very much! Can confirm that works. I had tried to fix this earlier but somehow missed that wiki section Makepkg fails, but make succeeds
.
Search Criteria
Package Details: cli-visualizer-git 1.8+36+gb98068f-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/cli-visualizer-git.git (read-only, click to copy) |
---|---|
Package Base: | cli-visualizer-git |
Description: | A cli visualizer for mpd |
Upstream URL: | https://github.com/dpayne/cli-visualizer |
Keywords: | spectrum visualizer |
Licenses: | MIT |
Conflicts: | cli-visualizer, vis |
Provides: | cli-visualizer |
Submitter: | dpayne |
Maintainer: | toitenminh |
Last Packager: | toitenminh |
Votes: | 6 |
Popularity: | 0.000000 |
First Submitted: | 2016-02-04 18:08 (UTC) |
Last Updated: | 2022-07-02 09:36 (UTC) |
Latest Comments
tuurep commented on 2022-07-01 21:28 (UTC)
toitenminh commented on 2022-07-01 21:06 (UTC) (edited on 2022-07-01 21:57 (UTC) by toitenminh)
a fix: added !buildflags
flag to the PKGBUILD options
array.
reference: https://wiki.archlinux.org/title/Makepkg#Troubleshooting
toitenminh commented on 2022-07-01 20:46 (UTC) (edited on 2022-07-02 14:09 (UTC) by toitenminh)
a temporary fix by removing flag -Wp,-D_GLIBCXX_ASSERTIONS
build() {
cd "${srcdir}/${pkgname}"
mkdir -p build/
cd build/
cmake ../ && make clean
sed -i 's/-Wp,-D_GLIBCXX_ASSERTIONS//g' CMakeCache.txt #walkaround
make -j$(nproc)
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 build/vis "$pkgdir"/usr/bin/vis
install -Dm644 examples/basic_colors "$pkgdir"/usr/share/doc/"$provides"/basic_colors
install -Dm644 examples/blue "$pkgdir"/usr/share/doc/"$provides"/blue
install -Dm644 examples/config "$pkgdir"/usr/share/doc/"$provides"/config
install -Dm644 examples/rainbow "$pkgdir"/usr/share/doc/"$provides"/rainbow
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$provides"/LICENSE
}
tuurep commented on 2022-05-13 06:12 (UTC)
This package is broken. Running vis
outputs Aborted (core dumped)
Manually building from the github repo works. Does something need an update in PKGBUILD?
JP-Ellis commented on 2017-11-06 23:26 (UTC)
This package should provide cli-visualizer so that Pacman knows that cli-visualizer and cli-visualizer-git provide the same software.
Pinned Comments
toitenminh commented on 2022-07-01 21:06 (UTC) (edited on 2022-07-01 21:57 (UTC) by toitenminh)
a fix: added
!buildflags
flag to the PKGBUILDoptions
array. reference: https://wiki.archlinux.org/title/Makepkg#Troubleshooting