[arch-general] hylafax PKGBUILD contains typo - '$spkgdir' line 55

David C. Rankin drankinatty at suddenlinkmail.com
Tue Aug 9 17:21:13 EDT 2011


Guys,

   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...

   If you build with write permission for /var/spool/hylafax (i.e. root) you 
would have removed the notify.awk file from the installed version of hylafax. 
(who builds as root :)


-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list