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

Karl Richter edited comment on NETBEANS-787 at 5/28/18 3:48 PM:
----------------------------------------------------------------

Apparently the `ant` build system or a tool it uses under the hood isn't 
capable of downloading erroneous files which are stored in 
`~/.hgexternalcache`, but simply fails instead without any useful feedback. The 
issue can thus be fixed by deleting the cache directory. Details at 
https://stackoverflow.com/a/50569774/1797006.

I leave this issue open since the feedback should be improved or the build 
system should be changed to something state-of-the-art, like Maven.


was (Author: krichter):
Apparently the `ant` build system or a tool it uses under the hood isn't 
capable of downloading erroneous files which are stored in 
`~/.hgexternalcache`, but simply fails instead without any useful feedback. 
Details at https://stackoverflow.com/a/50569774/1797006.

I leave this issue open since the feedback should be improved or the build 
system should be changed to something state-of-the-art, like Maven.

> ant fails due to "/tmp/incubator-netbeans/nbbuild/build.xml:72: File 
> /tmp/incubator-netbeans/javahelp/external/jhall-2.0_05.jar requested by 
> /tmp/incubator-netbeans/javahelp/external/binaries-list to have hash [hash] 
> actually had hash [hash]"
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-787
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-787
>             Project: NetBeans
>          Issue Type: Bug
>            Reporter: Karl Richter
>            Priority: Major
>
> A fresh clone fails to build on Ubuntu 18.04 for unknown reasons:
> ```
> > git clone https://github.com/apache/incubator-netbeans
> Cloning into 'incubator-netbeans'...
> remote: Counting objects: 161480, done.
> remote: Compressing objects: 100% (79/79), done.
> remote: Total 161480 (delta 45), reused 103 (delta 30), pack-reused 161321
> Receiving objects: 100% (161480/161480), 126.01 MiB | 5.61 MiB/s, done.
> Resolving deltas: 100% (82375/82375), done.
> Checking out files: 100% (44314/44314), done.
> > cd incubator-netbeans/
> > ant
> OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support 
> was removed in 8.0
> Buildfile: /tmp/incubator-netbeans/build.xml
> -jdk-pre-preinit:
> -jdk-preinit:
> -jdk-warn:
> -jdk-presetdef-basic:
> -jdk-default:
> -jdk-init:
> -load-build-properties:
> bootstrap:
>     [mkdir] Created dir: /tmp/incubator-netbeans/nbbuild/build/antclasses
>     [javac] Compiling 4 source files to 
> /tmp/incubator-netbeans/nbbuild/build/antclasses
> [downloadbinaries] Creating 
> /tmp/incubator-netbeans/javahelp/external/jhall-2.0_05.jar
> BUILD FAILED
> /tmp/incubator-netbeans/nbbuild/build.xml:72: File 
> /tmp/incubator-netbeans/javahelp/external/jhall-2.0_05.jar requested by 
> /tmp/incubator-netbeans/javahelp/external/binaries-list to have hash 
> CA70822C47A67FC3A11670270567C2D01566DAE1 actually had hash 
> DA39A3EE5E6B4B0D3255BFEF95601890AFD80709
> Total time: 1 second
> ```
> This issue does not occur on the CI service, I even [tested different Ubuntu 
> releases](https://travis-ci.org/krichter722/incubator-netbeans/builds/378346484)
>  to get a clue what might be the reason for this failure.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to