Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1077914 - maven-invoker-plugin ftbfs due to missing BR for modello
Summary: maven-invoker-plugin ftbfs due to missing BR for modello
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: maven-invoker-plugin
Version: rawhide
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Mikolaj Izdebski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
 
Reported: 2014-03-18 20:03 UTC by Brent Baude
Modified: 2014-03-19 07:17 UTC (History)
3 users (show)

Fixed In Version: 1.8-10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-03-19 07:17:37 UTC


Attachments (Terms of Use)

Description Brent Baude 2014-03-18 20:03:20 UTC
Mock Version: 1.1.35
Mock Version: 1.1.35
ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'], False, '/var/lib/mock/f21-build-4213-290/root/', None, 86400, True, False, 998, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x10024d8b450>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target noarch --nodeps builddir/build/SPECS/maven-invoker-plugin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
Building target platforms: noarch
Building for target noarch
Wrote: /builddir/build/SRPMS/maven-invoker-plugin-1.8-9.fc21.src.rpm
Child return code was: 0
LEAVE do --> 

ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/maven-invoker-plugin.spec'], False, '/var/lib/mock/f21-build-4213-290/root/', None, 86400, True, False, 998, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=<mockbuild.trace_decorator.getLog object at 0x10024d8b450>)
Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/maven-invoker-plugin.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n "<mock-chroot>"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}
Building target platforms: noarch
Building for target noarch
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I1tOQg
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf maven-invoker-plugin-1.8
+ /usr/bin/unzip -qq /builddir/build/SOURCES/maven-invoker-plugin-1.8-source-release.zip
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd maven-invoker-plugin-1.8
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ echo 'Patch #0 (pom-xml.patch):'
Patch #0 (pom-xml.patch):
+ /usr/bin/cat /builddir/build/SOURCES/pom-xml.patch
+ /usr/bin/patch -p0 --fuzz=0
patching file pom.xml
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.cOL12H
+ umask 022
+ cd /builddir/build/BUILD
+ cd maven-invoker-plugin-1.8
+ python /usr/share/java-utils/mvn_build.py -n maven-invoker-plugin -f
[INFO] Scanning for projects...
[INFO] 
[INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Invoker Plugin 1.8
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact: org.codehaus.modello:modello-maven-plugin:pom:1.4
[WARNING] The POM for org.codehaus.modello:modello-maven-plugin:jar:1.4 is missing, no dependency information available
[INFO] Failed to resolve artifact: org.codehaus.modello:modello-maven-plugin:jar:1.4
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Maven Invoker Plugin
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.944 s
[INFO] Finished at: 2014-03-18T14:23:44-06:00
[INFO] Final Memory: 9M/36M
[INFO] ------------------------------------------------------------------------
[ERROR] Plugin org.codehaus.modello:modello-maven-plugin:1.4 or one of its dependencies could not be resolved: Cannot access central (http://repo.maven.apache.org/maven2) in offline mode and the artifact org.codehaus.modello:modello-maven-plugin:jar:1.4 has not been downloaded from it before. -> [Help 1]
[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/PluginResolutionException
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.cOL12H (%build)
    Bad exit status from /var/tmp/rpm-tmp.cOL12H (%build)
Child return code was: 1
EXCEPTION: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/maven-invoker-plugin.spec']
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/mockbuild/trace_decorator.py", line 70, in trace
    result = func(*args, **kw)
  File "/usr/lib/python2.7/site-packages/mockbuild/util.py", line 376, in do
    raise mockbuild.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), child.returncode)
Error: Command failed. See logs for output.
 # ['bash', '--login', '-c', 'rpmbuild -bb --target noarch --nodeps  builddir/build/SPECS/maven-invoker-plugin.spec']
LEAVE do --> EXCEPTION RAISED

Adding the BR for modello fixes the problem.

Comment 1 Mikolaj Izdebski 2014-03-19 07:09:51 UTC
Fixed in maven-invoker-plugin-1.8-10

Comment 2 Mikolaj Izdebski 2014-03-19 07:17:37 UTC
I believe that this bug is fixed in maven-invoker-plugin-1.8-10,
which is available in Fedora Rawhide, so I am closing this bug now.

The build containing the fix can be found at Koji:
http://koji.fedoraproject.org/koji/buildinfo?buildID=505449


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