FS#12800 - [bash] post_install fails

Attached to Project: Arch Linux
Opened by Allan McRae (Allan) - Thursday, 15 January 2009, 12:40 GMT
Last edited by Allan McRae (Allan) - Wednesday, 21 January 2009, 02:42 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Aaron Griffin (phrakture)
Architecture All
Severity Low
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
pacman -S bash
<snip>
(1/1) upgrading bash [#####################] 100%
error: scriptlet failed to execute correctly

This is because the post_install script tries to add /usr/share/info/bash.info.gz to the info index but that file actually does not exsit. Only /usr/share/info/bash.info does.

Steps to reproduce:
pacman -S bash
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 21 January 2009, 02:42 GMT
Reason for closing:  Fixed
Additional comments about closing:  bash-3.2.048-2
Comment by Aaron Griffin (phrakture) - Thursday, 15 January 2009, 17:19 GMT
I think the previous package was built without zipman. Totally my fault
Comment by Xavier (shining) - Thursday, 15 January 2009, 21:10 GMT
Afaik, zipman doesn't compress info pages. But it will with makepkg 3.3.
Comment by Aaron Griffin (phrakture) - Thursday, 15 January 2009, 21:24 GMT
Oh, well then. I will manually zip this info page and reupload
Comment by Allan McRae (Allan) - Tuesday, 20 January 2009, 02:53 GMT
I know this is probably too late... but is there any chance this could be pushed before the new install iso is made? The error message probably is not good for people doing a core install.
Comment by Xavier (shining) - Tuesday, 20 January 2009, 15:44 GMT
This issue is quite annoying : in makepkg 3.3, the /usr/share/info/dir will be removed and info files will be compressed.
In the meantime, packages with info files are being rebuilt with makepkg 3.2 and are being converted to remove /usr/share/info/dir manually, and to install info pages.
But when makepkg 3.3 is released, removing /usr/share/info/dir manually will be unnecessary (ok thats not a big deal), but all scriptlets will have to be converted again to add the .gz suffix to info files? What a mess.

I was all for providing info pages, but what about letting the users who actually care deal with that? Running install-info should not be that hard. They could even use something like incron : http://www.archlinux.org/pipermail/pacman-dev/2008-August/007424.html
That would also prevent having to add scriptlets only for info docs.
Comment by Aaron Griffin (phrakture) - Tuesday, 20 January 2009, 17:21 GMT
Allan, do you have a chance to fix this? Simply gzip the info page in the PKGBUILD and push to testing.

2009 ISOs coming this friday, I hope

Loading...