I recently wanted to compress my webserver log files (which are over 2 GB in
size). bzip2 1.03-r4 gave me an
bzip2: Input file access_log.2005-03 is not a normal file.
and refused to compress the file. I downgraded to 1.03 (which I knew was working
before), and this version works again.
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-
r1, 2.6.11-gentoo-r9 i686)
=================================================================
System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.6.12
dev-lang/python: 2.3.5
sys-apps/sandbox: 1.2.10
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/
etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg distlocks fixpackages sandbox sfperms strict
userpriv"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.
informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/
gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi berkdb bitmap-fonts crypt curl emboss encode
foomaticdb fortran gd gdbm gif gpm gtk2 imagemagick imap imlib jpeg libg++
libwww mad maildir mikmod motif mp3 mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang spell ssl tcpd tiff truetype
truetype-fonts type1-fonts xml2 xmms xv zlib userland_GNU kernel_linux
elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
odd considering the only diff is the security chown patch ...
just to verify, could you edit the bzip-1.0.3-r4 patch and remove this line:
epatch "${FILESDIR}"/${PN}-1.0.2-chmod.patch
and then emerge 1.0.3-r4 again ?
I commented out the epatch and ran emerge --digest bzip2. The resulting binary
still can't handle files >2GB.
It seems to be related to this part of the ebuild:
if ! use static ; then
newbin bzip2-shared bzip2 || die "dobin shared"
fi
If I put "static" into my USE flags, the resulting binary works. The above also
seems to be the only major difference (except the patch I've commented out)
between the two ebuilds.