FS#25484 - [hylafax]PKGBUILD contains typo - '$spkgdir' line 55

Attached to Project: Arch Linux
Opened by David C. Rankin (drankinatty) - Tuesday, 09 August 2011, 22:23 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 10 August 2011, 12:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The hylafax pkgbuild needs to be fixed. (/var/abs/extra/hylafax/PKGBUILD) There is an extra 's' in $spkgdir on lines 54-55. Reads:

install -D -m 755 $srcdir/${pkgname}-${pkgver}/util/notify.awk \
$spkgdir/var/spool/hylafax/bin/notify.awk

Should read:

install -D -m 755 $srcdir/${pkgname}-${pkgver}/util/notify.awk \
$pkgdir/var/spool/hylafax/bin/notify.awk


Currently it tries to remove the real '/var/spool/hylafax/bin/notify.awk' resulting in the error:

make[1]: Leaving directory `/home/david/tmp/hylafax/src/hylafax-6.0.5/po'
install: cannot remove `/var/spool/hylafax/bin/notify.awk': Permission denied
==> ERROR: A failure occurred in package().
Aborting...

Steps to reproduce:

cp -a /var/abs/extra/hylafax .
cd hylafax
makepkg -s (not as root!)


This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 10 August 2011, 12:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  6.0.5-2

Loading...