FS#16109 - [zsh] Rebuild with --disable-gdbm

Attached to Project: Arch Linux
Opened by JD (jdhore) - Wednesday, 09 September 2009, 08:50 GMT
Last edited by Giovanni Scafora (giovanni) - Wednesday, 09 September 2009, 22:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Giovanni Scafora (giovanni)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

I believe ZSH should be rebuilt without support for GDBM via the --disable-gdbm configure flag. All it does is allow you to use a GDBM database such as a ZSH hash, but it adds a "dependency" on /usr. If i have ZSH set as my /bin/sh or my default shell for all users and my system gets borked and /usr/lib goes away for some reason, ZSH will fail to start, leaving me mostly stranded (except chroot). GDBM is the only library ZSH is built against that is not in /lib . Also, it's great the ZSH is treated as a "first-class citizen" in Arch with being put into /bin, but if it's built against a library in /usr, does that really matter?

Also, in the same screw-up situation i mentioned, bash would be fine since its only built against libc6 and libreadline which are both in /lib, so why should ZSH not get similar treatment.

The other option (i suppose) would be to rebuild gdbm with / as the prefix/path, but that would also require the rebuild of ~22 other packages.
This task depends upon

Closed by  Giovanni Scafora (giovanni)
Wednesday, 09 September 2009, 22:56 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in zsh-4.3.10-2 for both arch

Loading...