Bug 852024 - Missing BR/R on objectweb-asm4
Summary: Missing BR/R on objectweb-asm4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: tycho
Version: 18
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Roland Grunberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-08-27 11:26 UTC by Krzysztof Daniel
Modified: 2014-01-13 00:27 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-09-17 23:32:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Krzysztof Daniel 2012-08-27 11:26:54 UTC
Result:



    [WARNING] The POM for org.ow2.asm:asm-all:jar:4.0 is missing, no dependency information available
    [ERROR] Internal error: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm: Plugin org.eclipse.tycho:tycho-p2-plugin:0.16.0-SNAPSHOT or one of its dependencies could not be resolved: The repository system is offline but the artifact org.ow2.asm:asm-all:jar:4.0 is not available in the local repository. -> [Help 1]
    org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:170)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
    Caused by: java.lang.RuntimeException: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:166)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.setupProjects(P2TargetPlatformResolver.java:128)
    at org.eclipse.tycho.core.resolver.DefaultTychoDependencyResolver.setupProject(DefaultTychoDependencyResolver.java:76)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:75)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:276)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:158)
    ... 11 more
    Caused by: org.apache.maven.MavenExecutionException: Could not setup plugin ClassRealm
    at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.newMavenExecutionException(PluginRealmHelper.java:134)
    at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:123)
    at org.eclipse.tycho.p2.resolver.P2TargetPlatformResolver.getDependencyMetadata(P2TargetPlatformResolver.java:146)
    ... 16 more
    Caused by: org.apache.maven.plugin.PluginResolutionException: Plugin org.eclipse.tycho:tycho-p2-plugin:0.16.0-SNAPSHOT or one of its dependencies could not be resolved: The repository system is offline but the artifact org.ow2.asm:asm-all:jar:4.0 is not available in the local repository.
    at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:215)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm(DefaultMavenPluginManager.java:353)
    at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm(DefaultMavenPluginManager.java:321)
    at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm(DefaultBuildPluginManager.java:175)
    at org.eclipse.tycho.core.maven.utils.PluginRealmHelper.execute(PluginRealmHelper.java:105)
    ... 17 more
    Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: The repository system is offline but the artifact org.ow2.asm:asm-all:jar:4.0 is not available in the local repository.
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
    at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
    at org.apache.maven.plugin.internal.DefaultPluginDependenciesResolver.resolve(DefaultPluginDependenciesResolver.java:207)
    ... 21 more
    Caused by: org.sonatype.aether.transfer.ArtifactNotFoundException: The repository system is offline but the artifact org.ow2.asm:asm-all:jar:4.0 is not available in the local repository.
    at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:348)
    ... 24 more
    [ERROR]
    [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
    [ERROR] Re-run Maven using the -X switch to enable full debug logging.
    [ERROR]
    [ERROR] For more information about the errors and possible solutions, please read the following articles:
    [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
    error: Bad exit status from /var/tmp/rpm-tmp.zLdGB9 (%build)
     
     
    RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.zLdGB9 (%build)

Comment 1 Roland Grunberg 2012-08-27 14:03:09 UTC
I would have thought objectweb-asm4 would have been brought in due to the dependency on animal-sniffer, and therfore maven, but as a result of this change :

http://pkgs.fedoraproject.org/cgit/maven.git/commit/?id=4e46797c532d5b34b29540c322bed7697671a8ad

and given that its an explicit dependency, I'll make the necessary changes.

Comment 2 Stanislav Ochotnicky 2012-08-27 15:06:43 UTC
Just for future...relying on package A that it will keep requiring package B while B is your direct dependency anyway is not ideal and will lead to things like this. We have a lot of packages with this kind of problem, but it's not that easy to track and verify...

Comment 3 Roland Grunberg 2012-08-27 18:35:50 UTC
This is now in rawhide. I'm changing the version to f18 as this will need to be pushed there as well.

Comment 4 Fedora Update System 2012-08-27 21:14:39 UTC
tycho-0.16.0-7.df2c35.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/FEDORA-2012-12647/tycho-0.16.0-7.df2c35.fc18

Comment 5 Fedora Update System 2012-08-28 18:16:10 UTC
Package tycho-0.16.0-7.df2c35.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing tycho-0.16.0-7.df2c35.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12647/tycho-0.16.0-7.df2c35.fc18
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-09-17 23:32:31 UTC
tycho-0.16.0-7.df2c35.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.