Hi,
tried to build this package from 3c6b96c1b06f, but it failed on packing step
==> Starting package()...
install -m755 -d /home/mmc-utils-git/pkg/mmc-utils-git/usr/bin
install mmc /home/mmc-utils-git/pkg/mmc-utils-git/usr/bin
install -m 644 mmc.1 /home/mmc-utils-git/pkg/mmc-utils-git/usr/share/man/man1
install: cannot create regular file '/home/mmc-utils-git/pkg/mmc-utils-git/usr/share/man/man1': No such file or directory
make: *** [Makefile:54: install] Error 1
so here is a patch to make it work:
diff --git a/PKGBUILD b/PKGBUILD
index 40c7b2a..6e77560 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,8 +3,8 @@
_pkgname=mmc-utils
pkgname=${_pkgname}-git
-pkgver=r113.9582278
-pkgrel=2
+pkgver=r128.f757f41
+pkgrel=1
epoch=1
pkgdesc="Userspace tools for MMC/SD devices"
arch=('x86_64' 'i686' 'aarch64' 'armv7h' 'armv6h')
@@ -28,6 +28,6 @@ build() {
package() {
cd "${_pkgname}"
+ mkdir -p "${pkgdir}/usr/share/man/man1/"
make DESTDIR="${pkgdir}" prefix=/usr install
- install -Dm644 man/mmc.1 "${pkgdir}/usr/share/man/man1/mmc.1"
}
Pinned Comments
jpegxguy commented on 2021-12-15 16:13 (UTC) (edited on 2021-12-15 16:26 (UTC) by jpegxguy)
Hi guys,
I found this documentation on kernel.org which points to a different repo:
https://git.kernel.org/pub/scm/utils/mmc/mmc-utils.git
I'm thinking this might be why the tree we knew moved to
mmc-utils-old
I'll probably end up changing the source to that newer repo after testing for a bit, because the new tree seems more active.
UPDATE: The new tree builds fine for me. Also,
make
is part of the groupbase-devel
, which is an implied make dependency of any AUR package.