commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namrata Bhave (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (COMPRESS-453) Facing block overrun error while building TensorFlow
Date Wed, 23 May 2018 12:31:00 GMT

    [ https://issues.apache.org/jira/browse/COMPRESS-453?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16487152#comment-16487152
] 

Namrata Bhave edited comment on COMPRESS-453 at 5/23/18 12:30 PM:
------------------------------------------------------------------

[~bodewig], I tried building Compress 1.16.1 and it built successfully on s390x .

Also tried above example with both Java Variants.
{quote}{{  $ java -cp ~/.m2/repository/org/apache/commons/commons-compress/1.16.1/commons-compress-1.16.1.jar:.
Test}}
 {{   $}}
 {{   $ java -version}}
 {{  openjdk version "1.8.0_171"}}
 {{  OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11)}}
 {{  OpenJDK 64-Bit Zero VM (build 25.171-b11, interpreted mode)}}
{quote}
 

whereas:
{quote}{{$ java -cp ~/.m2/repository/org/apache/commons/commons-compress/1.16.1/commons-compress-1.16.1.jar:.
Test}}
{{    Exception in thread "main" java.io.IOException: block overrun}}
{{            at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.getAndMoveToFrontDecode(BZip2CompressorInputStream.java:655)}}}}}}
{{            at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.initBlock(BZip2CompressorInputStream.java:323)}}}}}}
{{            at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.setupNoRandPartA(BZip2CompressorInputStream.java:809)}}}}}}
{{            at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.setupNoRandPartB(BZip2CompressorInputStream.java:857)}}}}}}
{{            at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.read0(BZip2CompressorInputStream.java:220)}}}}}}
{{            at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.read(BZip2CompressorInputStream.java:176)}}}}}}
{{            at java.io.InputStream.read(InputStream.java:101)}}
{{            at org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:80)}}{{          
at org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:60)}}
{{           at Test.main(Test.java:11) }}
{{   $ java -version  }}
{{   openjdk version "1.8.0_162"}}
{{   OpenJDK Runtime Environment (build 1.8.0_162-b12)}}
{{   Eclipse OpenJ9 VM (build openj9-0.8.0, JRE 1.8.0 Linux s390x-64 Compressed References
20180315_97 (JIT enabled, AOT enabled)}}
{{    OpenJ9   - e24e8aa9}}
{{   OMR      - 3e8296b4}}
{{   JCL      - ee1e77df1d based on jdk8u162-b12)}}{quote}
 


was (Author: bhavenamrata):
[~bodewig], I tried building Compress 1.16.1 and it built successfully on s390x .

Also tried above example with both Java Variants.
{quote}{{  $ java -cp ~/.m2/repository/org/apache/commons/commons-compress/1.16.1/commons-compress-1.16.1.jar:.
Test}}
 {{   $}}
 {{   $ java -version}}
 {{  openjdk version "1.8.0_171"}}
 {{  OpenJDK Runtime Environment (build 1.8.0_171-8u171-b11-0ubuntu0.16.04.1-b11)}}
 {{  OpenJDK 64-Bit Zero VM (build 25.171-b11, interpreted mode)}}
{quote}
 

whereas:
{quote}{{test@f5b3ec0f70ed:~$ java -cp ~/.m2/repository/org/apache/commons/commons-compress/1.16.1/commons-compress-1.16.1.jar:.
Test}}
{{   Exception in thread "main" java.io.IOException: block overrun}}
{{           at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.getAndMoveToFrontDecode(BZip2CompressorInputStream.java:655)}}}}
{{           at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.initBlock(BZip2CompressorInputStream.java:323)}}}}
{{           at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.setupNoRandPartA(BZip2CompressorInputStream.java:809)}}}}
{{           at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.setupNoRandPartB(BZip2CompressorInputStream.java:857)}}}}
{{           at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.read0(BZip2CompressorInputStream.java:220)}}}}
{{           at org.apache.commons.compress.compressors.bzip2.BZip2CompressorInputStream.read(BZip2CompressorInputStream.java:176)}}}}
{{           at java.io.InputStream.read(InputStream.java:101)}}
{{           at org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:80)}}
{{           at org.apache.commons.compress.utils.IOUtils.copy(IOUtils.java:60)}}
{{          at Test.main(Test.java:11) }}
{{   test@f5b3ec0f70ed:~$ java -version  }}
{{   openjdk version "1.8.0_162"}}
{{   OpenJDK Runtime Environment (build 1.8.0_162-b12)}}
{{  Eclipse OpenJ9 VM (build openj9-0.8.0, JRE 1.8.0 Linux s390x-64 Compressed References
20180315_97 (JIT enabled, AOT enabled)}}
{{   OpenJ9   - e24e8aa9}}
{{  OMR      - 3e8296b4}}
{{  JCL      - ee1e77df1d based on jdk8u162-b12)}}
{quote}
 

> Facing block overrun error while building TensorFlow
> ----------------------------------------------------
>
>                 Key: COMPRESS-453
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-453
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.9, 1.16.1
>         Environment: Linux Ubuntu 16.04 s390x
>            Reporter: Namrata Bhave
>            Priority: Major
>
> Building TensorFlow master using Bazel v0.12.0.
> Facing build issue immediately with error:
> {{ERROR: /home/jenkins/tensorflow/tensorflow/tools/pip_package/BUILD:117:1: no such package
'@nasm//': java.io.IOException: block overrun and referenced by '//tensorflow/tools/pip_package:licenses'}}
> {{ ERROR: Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed;
build aborted: no such package '@nasm//': java.io.IOException: block overrun}}
> This is intermittent. Sometimes the build goes ahead. Also observed this error once:
> {{ERROR: /home/test/tensorflow/tensorflow/tools/pip_package/BUILD:117:1: no such package
'@nasm//': java.io.IOException: Error detected parsing the header and referenced by '//tensorflow/tools/pip_package:licenses'ERROR:
Analysis of target '//tensorflow/tools/pip_package:build_pip_package' failed; build aborted:
no such package '@nasm//': java.io.IOException: Error detected parsing the header}}
> Can someone please help in resolving this?
> Getting this error with AdoptJDK 8.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message