d) Rebuild tcsh with patches from Fedora
mkdir t2 ; cd t2
dpkg-source -x ../tcsh_6.18.01-5.dsc
cd tcsh-6.18.01/
patch -p1 < ../../t/tcsh-6.19.00-024-use-sysmalloc.patch
patch -p1 < ../../t/tcsh-6.19.00-014-do-not-use-union-wait.patch
dpkg-buildpackage -rfakeroot -uc -b
cd ..
sudo dpkg -i tcsh_6.18.01-5_amd64.deb
Works for me, no more tcsh crashes when pressing TAB.
Note that I had to apply the do-not-use-union-wait patch as well. Without it, I can't get the current Ubuntu 16.10 tcsh source to build on 16.10 at all, which is odd. Is the AMD64 .deb on the ubuntu servers not built on 16.10, or is there some other explanation for why it doesn't experience the "sh.proc.c:155:16: error: storage size of ‘w’ isn’t known" that results without do-not-use-union-wait.patch?
Workaround until 16.10's tcsh is rebuilt with the sysmalloc fix: build your own fixed AMD64 .deb:
a) Pull the Fedora Rawhide src rpm from /www.rpmfind. net/linux/ RPM/fedora/ devel/rawhide/ src/t/tcsh- 6.19.00- 15.fc26. src.html rpmfind. net/linux/ fedora/ linux/developme nt/rawhide/ Everything/ source/ tree/Packages/ t/tcsh- 6.19.00- 15.fc26. src.rpm
https:/
wget ftp://fr2.
b) extract the contents of the src rpm: 19.00-15. fc26.src. rpm > a1.cpio
rpm2cpio tcsh-6.
mkdir t ; cd t
cpio -dmiv < ../a1.cpio
cd ..
c) Pull the current Ubuntu yakkety 16.10 beta tcsh source from packages.ubuntu.com archive. ubuntu. com/ubuntu/ pool/universe/ t/tcsh/ tcsh_6. 18.01-5. dsc http:// archive. ubuntu. com/ubuntu/ pool/universe/ t/tcsh/ tcsh_6. 18.01.orig. tar.gz http:// archive. ubuntu. com/ubuntu/ pool/universe/ t/tcsh/ tcsh_6. 18.01-5. diff.gz
wget http://
d) Rebuild tcsh with patches from Fedora 6.18.01- 5.dsc tcsh-6. 19.00-024- use-sysmalloc. patch tcsh-6. 19.00-014- do-not- use-union- wait.patch 18.01-5_ amd64.deb
mkdir t2 ; cd t2
dpkg-source -x ../tcsh_
cd tcsh-6.18.01/
patch -p1 < ../../t/
patch -p1 < ../../t/
dpkg-buildpackage -rfakeroot -uc -b
cd ..
sudo dpkg -i tcsh_6.
Works for me, no more tcsh crashes when pressing TAB.
Note that I had to apply the do-not- use-union- wait patch as well. Without it, I can't get the current Ubuntu 16.10 tcsh source to build on 16.10 at all, which is odd. Is the AMD64 .deb on the ubuntu servers not built on 16.10, or is there some other explanation for why it doesn't experience the "sh.proc.c:155:16: error: storage size of ‘w’ isn’t known" that results without do-not- use-union- wait.patch?
Dan