[ovirt-devel] Error while building ovirt upstream
Shubhendu Tripathi
shtripat at redhat.com
Thu Nov 13 08:26:10 UTC 2014
On 11/13/2014 12:54 PM, Sandro Bonazzola wrote:
> Il 13/11/2014 06:16, Shubhendu Tripathi ha scritto:
>> Hi,
>>
>> Today I rebased with master and getting below error while building the engine.
>>
>> [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ vdsbroker ---
>> [INFO] Compiling 312 source files to <Home>/work/ovirt-engine/backend/manager/modules/vdsbroker/target/classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>> [ERROR] error: error reading
>> <Home>/.m2/repository/org/ovirt/vdsm-jsonrpc-java/vdsm-jsonrpc-java-client/1.1.0-SNAPSHOT/vdsm-jsonrpc-java-client-1.1.0-SNAPSHOT.jar; error in
>> opening zip file
>> [INFO] 1 error
>>
>> Kindly help resolving the same.
>
> Looks like your jar file got corrupted.
> Can you try removing ~/.m2/repository/org/ovirt/vdsm-jsonrpc-java/vdsm-jsonrpc-java-client/1.1.0-SNAPSHOT/vdsm-jsonrpc-java-client-1.1.0-SNAPSHOT.jar
> and rebuild?
Sandro,
I removed the whole dir ~/.m2 and tried again, but still the issue.
I did one more analysis where I took latest master and reset to the
state one patch below change-id
Ib69768ab2b384136308e16624a365c98583fba63 (jsonrpc: json version bumped).
Then the build went through.
If I apply the above mentioned patch again, build fails. So I guess this
issue is specific to some packages (though a weird guess).
Regards,
Shubhendu
>> Regards,
>> Shubhendu
>>
>> _______________________________________________
>> Devel mailing list
>> Devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/devel
>
More information about the Devel
mailing list