FS#61867 - [cracklib] 2.9.6-3 the sources fail to download and the package fails to build
Attached to Project:
Arch Linux
Opened by Leonid Bloch (blochl) - Tuesday, 26 February 2019, 17:46 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 12 March 2019, 13:54 GMT
Opened by Leonid Bloch (blochl) - Tuesday, 26 February 2019, 17:46 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 12 March 2019, 13:54 GMT
|
Details
Description:
The sources fail to download: curl: (22) The requested URL returned error: 404 Not Found ==> ERROR: Failure while downloading https://github.com/cracklib/cracklib/releases/download/cracklib-2.9.6/cracklib-2.9.6.tar.gz Aborting... Even after updating to the correct URL in the PKGBUILD, the package fails to build (not finding the source files). Adding below the patch which fixes these issues: ``` diff --git a/PKGBUILD b/PKGBUILD index b26b62d..42c2937 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -9,22 +9,23 @@ arch=('x86_64') license=('GPL') url="https://github.com/cracklib/cracklib" depends=('glibc' 'zlib') -source=(https://github.com/cracklib/cracklib/releases/download/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz) -md5sums=('c52f463585d85924b28cdc1e373ae06d') +source=(https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz) +sha256sums=('7cd2c01365f199c466b490ad2585beccbe0108ccd606c1bcc6c1e52800e627fe') build() { - cd $srcdir/$pkgname-$pkgver + cd ${srcdir}/${pkgname}-${pkgver}/src + ./autogen.sh ./configure --prefix=/usr --sbindir=/usr/bin --without-python make } check() { - cd $srcdir/$pkgname-$pkgver + cd ${srcdir}/${pkgname}-${pkgver}/src make check } package() { - cd $srcdir/$pkgname-$pkgver + cd ${srcdir}/${pkgname}-${pkgver}/src make DESTDIR=$pkgdir install # symlink cracklib-small #34778 mkdir -p $pkgdir/usr/share/dict ``` |
This task depends upon
Closed by Tobias Powalowski (tpowa)
Tuesday, 12 March 2019, 13:54 GMT
Reason for closing: Fixed
Additional comments about closing: 2.9.7
Tuesday, 12 March 2019, 13:54 GMT
Reason for closing: Fixed
Additional comments about closing: 2.9.7
Comment by Leonid Bloch (blochl) -
Thursday, 28 February 2019, 07:49 GMT
I should also note that the md5sum of the downloaded package also
did not match to the one in the PKGBUILD, despite the same version
number.