Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Thu November 09, 2017 12:47 PM

    Originally posted by: KiloBravo


     

    This appears to be a regression - bzip2 v1.0.5 (in the Linux Toolbox and in previous version of rpm.rte) did not have this issue. Confirmed this issue exists on all systems upgraded to AIX 7100-05-01-1731 so far.

     

    Examples:

    $ bzip2 --version
    bzip2, a block-sorting file compressor.  Version 1.0.6, 6-Sept-2010.

    $ lslpp -qLc rpm.rte |cut -d: -f2-3
    rpm.rte:4.13.0.1

    # source file 2355200000  example_dvd.iso

    $ bzip2 example_dvd.iso

    bzip2: Can't open input file example_dvd.iso: Value too large to be stored in data type.

     

    # Source file 1344580393 example_dvd.iso.bz2

    $ bunzip2 -kv example_dvd.iso.bz2
      example_dvd:
    bunzip2: I/O or other error, bailing out.  Possible reason follows.
    bunzip2: File too large
            Input file = example_dvd.iso.bz2, output file = example_dvd.iso
    bunzip2: Deleting output file example_dvd.iso, if it exists.

     

    FWIW - The bzip2-1.0.6-2.aix6.1.ppc.rpm package in the current Linux Toolbox has the same problem, but the bzip2-1.0.5-3.aix5.3.ppc.rpm does not.

     

    Current workaround appears to be to force-downgrade to bzip2-1.0.5-3

     

    -kpb


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 2.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Fri November 10, 2017 01:40 AM

    Originally posted by: sangameshm


    Hi Kevin,

     

    Thanks for reporting the issue.

    One change which i think causing the issue is,  use of  -D_LARGE_FILES flag in 1.0.5 build which looks to be missing in 1.0.6 build.

    We will look this in detail and correct it and provide a fix.

    Also we decided to provide fix for the other rpm.rte issue related to multiple entries.

     

    Thanks,

    Sangamesh

     


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 3.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Wed April 18, 2018 05:33 PM

    Originally posted by: 9DTA_Marc_Beaudoin


    May I have a status on this issue?


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 4.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Thu April 19, 2018 09:59 AM

    Originally posted by: sangameshm


    Please could you test the latest version of rpm.rte uploaded recently and let me know the result ?

    https://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/INSTALLP/ppc/

     

    Thanks,

    Sangamesh


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 5.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Thu April 19, 2018 11:20 AM

    Originally posted by: 9DTA_Marc_Beaudoin


    I got rpm.rte.4.13.0.3 (48545 KB).  I transfered it onto my AIX server.  How do I apply that file?  Should I change its name to rpm.rte?


    #AIXOpenSource
    #AIX-Open-Source-Software


  • 6.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Thu April 19, 2018 11:32 AM
      |   view attached

    Originally posted by: 9DTA_Marc_Beaudoin


    I had to copy rpm.rte.4.13.0.3 to rpm.rte and run "installp -acgXYd . rpm.rte".


    #AIX-Open-Source-Software
    #AIXOpenSource

    Attachment(s)

    Log
    20180419.02.Log   3 KB 1 version


  • 7.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Thu April 19, 2018 02:20 PM

    Originally posted by: 9DTA_Marc_Beaudoin


    It seems to work: I was able to compress a 18032670720-byte file and uncompress it.

     

    Two issues left:

    1) Problem with db4 during installation: is it OK?

    2) When will this fix be included in AIX, in which 7.2's TL?

     

    Regards,

    Marc.


    #AIX-Open-Source-Software
    #AIXOpenSource


  • 8.  Re: No large file support in bzip2 from rpm.rte 4.13.0.1

    Posted Tue April 24, 2018 04:45 AM

    Originally posted by: sangameshm


    Hi Marc,

     

    1) It seems that the original rpm-3 db1 database files (.rpm) which are saved for the backup seems to be corrupted.

        Original rpm-3 database files are copied to /opt/freeware/lib/saveoldrpm/oldrpm/rpmdb during migration from rpm-3 to rpm-4.

        These files aren't needed after successful migration to rpm-4. 

    2) It will be part of AIX 7.2 TL3 release.

     

    Thanks,

    Sangamesh


    #AIXOpenSource
    #AIX-Open-Source-Software