Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1219 - please update gzip i got some strange system freezes with makepkg and tar

Attached to Project: Arch Linux
Opened by Tobias Powalowski (tpowa) - Wednesday, 04 August 2004, 09:56 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity High
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

hi remember this bug?
http://bugs.archlinux.org/index.php?do=details&id=873
it was not a konsole bug but
first i blamed it on my hardware but
after running memchecks, power supply change, bios update/settings etc.

i found the reason for this problem is:

gzip

if you try to compress a directory whith 18000 files at the end it is 300 MB by using:
tar xvfz xy.tar.gz
it definitly happens quite often that i got a complete system freeze, not always but thats really annoying!. wonder nobody else has this problem
happens too with building large packages like the kernel flightgear-data, openoffice

now i updated to gzip 1.3.3 and this problems are gone
here is the PKGBUILD:

# $Id: PKGBUILD,v 1.10 2004/04/12 23:54:38 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=gzip
pkgver=1.3.3
pkgrel=1
pkgdesc="GNU compression utility"
url="http://www.gzip.org"
depends=('glibc' 'bash')
source=(http://www.gzip.org/$pkgname-$pkgver.tar.gz)

build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin
make prefix=$startdir/pkg/usr install
cd $startdir/pkg/usr/bin
mv $pkgname $startdir/pkg/bin
rm gunzip zcat
cd $startdir/pkg/bin
ln -sf $pkgname gunzip
ln -sf $pkgname zcat
ln -sf $pkgname compress
ln -sf gunzip uncompress
}
This task depends upon

Closed by  Judd Vinet (judd)
Friday, 06 August 2004, 20:00 GMT
Reason for closing:  Fixed
Comment by Tobias Powalowski (tpowa) - Wednesday, 04 August 2004, 09:57 GMT
sorry i wanted to post tar cfvz
Comment by Judd Vinet (judd) - Wednesday, 04 August 2004, 16:40 GMT
Does the patch to 1.2.4 (from gzip.org) also fix the problem?

I try to avoid the beta branches as much as possible, or people get mad at me. :)
Comment by Tobias Powalowski (tpowa) - Thursday, 05 August 2004, 06:38 GMT
okay here we go the patched one seems to work too
here is the PKGBUILD:
# $Id: PKGBUILD,v 1.10 2004/04/12 23:54:38 judd Exp $
# Maintainer: judd <jvinet@zeroflux.org>
pkgname=gzip
pkgver=1.2.4b
pkgrel=1
pkgdesc="GNU compression utility"
url="http://www.gzip.org"
depends=('glibc' 'bash')
source=(ftp://wuarchive.wustl.edu/mirrors/gnu/gzip/$pkgname-1.2.4.tar.gz http://www.gzip.org/$pkgname-1.2.4b.patch)

build() {
cd $startdir/src
patch -p0 <gzip-1.2.4b.patch
cd $startdir/src/$pkgname-1.2.4
./configure --prefix=/usr
make || return 1
mkdir -p $startdir/pkg/bin $startdir/pkg/usr/bin
make prefix=$startdir/pkg/usr install
cd $startdir/pkg/usr/bin
mv $pkgname $startdir/pkg/bin
rm gunzip zcat
cd $startdir/pkg/bin
ln -sf $pkgname gunzip
ln -sf $pkgname zcat
ln -sf $pkgname compress
ln -sf gunzip uncompress
}
Comment by Judd Vinet (judd) - Friday, 06 August 2004, 19:58 GMT
Okay. I'm going to patch against 1.2.4a instead of 1.2.4, as that's what we're running now.

Loading...