You are not logged in.
How to debug the following warning encountered when building the 'gambit-c' AUR package?
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
usr/lib/gambit-c/libgambit.a
usr/bin/gambuild-x86
usr/bin/gsc
usr/bin/gsi
usr/bin/gambuild-arm
usr/bin/gambuild-riscv-32
usr/bin/gambuild-C
usr/bin/gambuild-riscv-64
usr/bin/gambuild-x86-64
==> Creating package "gambit-c"...
Rather simple PKGBUILD:
pkgname=gambit-c
pkgver=4.9.5
pkgrel=1
pkgdesc='Efficient implementation of the Scheme programming language'
arch=(x86_64)
url='https://github.com/gambit/gambit'
license=(Apache LGPL)
options=(staticlibs !lto)
makedepends=(git)
_srcname=${pkgname/-c}-v${pkgver//./_}
source=("https://gambitscheme.org/latest/${_srcname}.tgz")
b2sums=('1e3c32eb03acb97fafc639941312682c59c173a9605f516bb83bec210c2cc6163ea3357ae08a82572314fa252480a3eb3001a874ea9a8a2e34a389fe090a5de9')
build() {
cd ${_srcname}
./configure \
--docdir=/usr/share/doc/gambit-c \
--enable-gcc-opts \
--enable-single-host \
--infodir=/usr/share/info \
--libdir=/usr/lib/gambit-c \
--prefix=/usr
make
}
package() {
make -C ${_srcname} install DESTDIR="$pkgdir"
}
Support much appreciated.
Thank you.
Last edited by muthuh (2024-12-26 19:44:53)
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline