Search Criteria
Package Details: pms-git r980.628d497-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/pms-git.git (read-only, click to copy) |
---|---|
Package Base: | pms-git |
Description: | Practical Music Search is an interactive Vim-like console client for the Music Player Daemon. |
Upstream URL: | https://github.com/ambientsound/pms |
Licenses: | MIT |
Submitter: | stefanc_diff |
Maintainer: | andrejr |
Last Packager: | andrejr |
Votes: | 1 |
Popularity: | 0.000000 |
First Submitted: | 2019-06-10 17:16 (UTC) |
Last Updated: | 2024-03-27 13:07 (UTC) |
Dependencies (2)
- git (git-gitAUR, git-glAUR) (make)
- go (go-gitAUR, gcc-go-gitAUR, go-sylixosAUR, gcc-go-snapshotAUR, gcc-go) (make)
Latest Comments
« First ‹ Previous 1 2
dschrempf commented on 2020-09-20 09:30 (UTC)
This package fails to build and should be amended!
<deleted-account> commented on 2020-07-26 11:47 (UTC)
Same error on my machine:
sed: can't read /home/user/.cache/yay/pms-git/pms-git/src/pms/Makefile: No such file or directory
archuser1 commented on 2019-12-28 18:03 (UTC) (edited on 2019-12-28 18:03 (UTC) by archuser1)
Failed to build this package on my machine using yay, getting following:
sed: can't read ~/.cache/yay/pms-git/pms-git/src/pms/Makefile: No such file or directory
==> ERROR: A failure occurred in build().
It looks for Makefile in the wrong place, when it is located: ~/.cache/yay/pms-git/src/pms/Makefile.
Thought it might be an issue with yay, but comments history showed that it wasn't only with me.
cheezsteak commented on 2019-07-08 17:07 (UTC)
It's good that you're using a clean root to develop the package but the package should still be installable with vanilla makepkg.
I attempted my suggested changes using makechrootpkg and they failed so here are the updated versions that work in both the chroot and vanilla makepkg:
I don't know how you feel about the GOPATH patch but it's my opinion that PKGBUILD should make as few assumptions as possible about the users setup. Setting GOPATH avoids assuming that GOPATH is set or that ~/go exists. It also has the added effect of not modifying the users actual go environment if it exists. That's a pro in my option but that's probably subjective.
stefanc_diff commented on 2019-07-08 10:02 (UTC)
Thanks for the feedback cheezsteak ! Some context: - the way I build pkgs locally ( including pms-git ) is by using the systemd-nspawn chroot functionality provided by the arch devtools.
This means that pkgs always build in a clean(pristine) environment without any need to interfere/interact with your local workstation GOPATH or any other local pkg. PKGBUILD doesn't assume anything about your GOPATH, "$HOME/go" is the default GOPATH used by the go build tool-chain. pms-git builds fine in this way.
See the wiki for docs - https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_clean_chroot
cheezsteak commented on 2019-07-05 15:09 (UTC)
This package fails to build with makepkg. I noticed two errors. $BUILDDIR/${pkgname} evaluates to "pms-git/pms-git" which is wrong if you're building from inside pms-git. Please replace with just $BUILDDIR.
Also PKGBUILD assumes $HOME/go as $GOPATH instead of just using $GOPATH.
I can provide git patches for both if you need them.
« First ‹ Previous 1 2