Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [orbit-dev] building master locally fails during p2 repository build

On Thu, Oct 15, 2020 at 8:12 PM Roland Grunberg <rgrunber@xxxxxxxxxx> wrote:
On Thu, 2020-10-15 at 15:23 +0200, Matthias Sohn wrote:
> I currently can't build current master of orbit (945072a) locally.
> Not sure why:
>
> $ cd orbit-recipes
> $ mvn clean install
> -> succeeds
> $ mvn clean install -f releng/aggregationfeature/pom.xml
> -> succeeds
> $ mvn clean package -f releng/repository/pom.xml
> ...
> [ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-
> plugin:1.7.0:assemble-repository (default-assemble-repository) on
> project orbit-bundles-p2-repository: Could not assemble p2
> repository: Mirroring failed: Messages while mirroring artifact
> descriptors.: [I/O exception while reading artifact packed:
> osgi.bundle,org.eclipse.osgi,3.15.200.v20200214-1600]:
> /Users/d029788/.m2/repository/org/eclipse/osgi/org.eclipse.osgi/3.15.
> 200-SNAPSHOT/org.eclipse.osgi-3.15.200-SNAPSHOT-pack200.jar.pack.gz
> (No such file or directory) -> [Help 1]
>
> any idea what's causing this?
> Can you build it locally ?

I'm able to build locally so at the very least it could just be an
issue of local cache contents. I've seen this happen before and usually
if I deleted artifacts while their entries remained in
.m2/repository/.meta/p2-{artifacts,local-metadata}.properties .

You can always try with a completely empty cache to confirm if that
works, though that may be a bit extreme.

thanks a lot, deleting the .meta folder did the trick and the build succeeded

-MatthiasĀ 

Back to the top