Bug 903693 - Previously successful build now fails in rawhide (eclipse-m2e-core)
Summary: Previously successful build now fails in rawhide (eclipse-m2e-core)
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: tycho
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Roland Grunberg
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-24 15:26 UTC by Gerard Ryan
Modified: 2013-01-24 23:35 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-24 23:35:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Gerard Ryan 2013-01-24 15:26:50 UTC
Description of problem:
A scratch build[1] of eclipse-m2e-core (that was done during review), completed successfully on Tue, 22 Jan 2013 17:20:07 UTC. An initial build of the package[2] (with trivial changes, hence the NVR bump) failed on Wed, 23 Jan 2013 19:50:36 UTC. I made a small change and tried another scratch[3] because of a couple of errors (bogus changelog dates) in the build.log for the previous failed attempt. The build still failed with the primary problem of seemingly trying to connect to an external repository for Eclipse stuff.

[1] http://koji.fedoraproject.org/koji/taskinfo?taskID=4894328
[2] http://koji.fedoraproject.org/koji/taskinfo?taskID=4897472
[3] http://koji.fedoraproject.org/koji/taskinfo?taskID=4897841

Version-Release number of selected component (if applicable):
maven-local-0.11.0-1.fc19

How reproducible:
I can reproduce failed builds but can no longer reproduce successful builds.

Comment 1 Mikolaj Izdebski 2013-01-24 15:31:58 UTC
This is a bug in tycho package. Reassigning to tycho.

Comment 2 Roland Grunberg 2013-01-24 15:42:03 UTC
Tycho was depending on maven.local.mode to determine whether mvn, mvn-local, mvn-rpmbuild was being used. The flag is no longer safe to use and so Tycho wrongly assumed mvn was in use (this is why it attempted to resolve those remote repos)  I see http://git.fedorahosted.org/cgit/javapackages.git/commit/?id=7d6201dfe3ff4cd7ed0c6a68e445363d49ccc23e is in so I'll commit the necessary changes.

Comment 3 Roland Grunberg 2013-01-24 18:46:09 UTC
Just as a quick update. I'll need to issue a bootstrap build for this (current Tycho has BR on itself so even building would fail in the same way). I've tested that this would work, but ran into some API changes with maven surefire 2.13, so I'll need to make some additional changes there.

Comment 4 Mikolaj Izdebski 2013-01-24 18:57:27 UTC
(In reply to comment #3)
> I'll need to issue a bootstrap build for this
> (current Tycho has BR on itself so even building would fail in the same
> way).

You could use the old mvn-rpmbuild script (available in /usr/share/maven/bin) instead of bootstrapping. After you rebuild tycho with support for XMvn you could revert to using mvn-rpmbuild script from /usr/bin again.

Comment 5 Roland Grunberg 2013-01-24 22:01:57 UTC
I've committed a fix as http://pkgs.fedoraproject.org/cgit/tycho.git/commit/?id=94c249b7f48f3c301115cdc257ea0df7d1b58530 . It should be in the rawhide buildroot shortly. This should resolve the issue.

Comment 6 Mikolaj Izdebski 2013-01-24 23:15:29 UTC
I confirm that this fix solves the issue: eclipse-m2e-core builds fine now:
http://koji.fedoraproject.org/koji/taskinfo?taskID=4900333

Comment 7 Gerard Ryan 2013-01-24 23:35:14 UTC
(In reply to comment #6)
> I confirm that this fix solves the issue: eclipse-m2e-core builds fine now:
> http://koji.fedoraproject.org/koji/taskinfo?taskID=4900333

Great, thanks guys, I guess I'll close this then!


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