<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>98802</bug_id>
          
          <creation_ts>2005-07-12 12:02 0000</creation_ts>
          <short_desc>bzip2 1.03-r4 doesn&apos;t support files &gt;2GB anymore</short_desc>
          <delta_ts>2005-07-13 03:15:54 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Unspecified</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>gentoo-bugzilla@cracks.de</reporter>
          <assigned_to>base-system@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@cracks.de</who>
            <bug_when>2005-07-12 12:02:57 0000</bug_when>
            <thetext>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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2 -march=athlon-xp -fomit-frame-pointer&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -march=athlon-xp -fomit-frame-pointer&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig buildpkg distlocks fixpackages sandbox sfperms strict 
userpriv&quot;
GENTOO_MIRRORS=&quot;http://pandemonium.tiscali.de/pub/gentoo/ http://mirrors.sec.
informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/
gentoo/&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.de.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2005-07-12 20:11:57 0000</bug_when>
            <thetext>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 &quot;${FILESDIR}&quot;/${PN}-1.0.2-chmod.patch

and then emerge 1.0.3-r4 again ?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>gentoo-bugzilla@cracks.de</who>
            <bug_when>2005-07-13 00:42:22 0000</bug_when>
            <thetext>I commented out the epatch and ran emerge --digest bzip2. The resulting binary 
still can&apos;t handle files &gt;2GB.

It seems to be related to this part of the ebuild:

  if ! use static ; then
    newbin bzip2-shared bzip2 || die &quot;dobin shared&quot;
  fi


If I put &quot;static&quot; into my USE flags, the resulting binary works. The above also 
seems to be the only major difference (except the patch I&apos;ve commented out) 
between the two ebuilds.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>azarah@gentoo.org</who>
            <bug_when>2005-07-13 03:15:54 0000</bug_when>
            <thetext>The shared makefile did not add large file support .. fixed in -r5.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>