Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 389985 - default-build-qualifier-aggregator fails to build source feature
Summary: default-build-qualifier-aggregator fails to build source feature
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Tycho (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 389983
  Show dependency tree
 
Reported: 2012-09-20 05:43 EDT by Paul Webster CLA
Modified: 2021-04-28 16:54 EDT (History)
1 user (show)

See Also:


Attachments
Real org.eclipse.platform.source feature.xml with version #s (5.87 KB, text/plain)
2012-09-20 05:43 EDT, Paul Webster CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Webster CLA 2012-09-20 05:43:18 EDT
Created attachment 221289 [details]
Real org.eclipse.platform.source feature.xml with version #s

While trying to build the Eclipse Platform with CBI, we created a manual feature as a workaround for bug 389762

http://git.eclipse.org/c/platform/eclipse.platform.releng.aggregator.git/tree/eclipse.platform.releng.tychoeclipsebuilder/org.eclipse.platform.source?h=R4_2_maintenance

The build fails with an error on this source feature:

[DEBUG]   (f) execution = org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator {execution: default-build-qualifier-aggregator}
[DEBUG]   (s) format = 'v'yyyyMMdd-HHmm
[DEBUG]   (f) packaging = eclipse-feature
[DEBUG]   (f) project = MavenProject: org.eclipse.platform-feature:org.eclipse.platform.source:4.2.1-SNAPSHOT @ /home/paul/git-storage/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.platform.releng.tychoeclipsebuilder/org.eclipse.platform.source/pom.xml
[DEBUG]   (f) session = org.apache.maven.execution.MavenSession@35213521
[DEBUG]   (f) timestampProvider = jgit
[DEBUG] -- end configuration --
[DEBUG] Could not parse qualifier timestamp v201205102330

Looks like it can't parse the 3rd party orbit bundle:

<plugin id="com.jcraft.jsch.source" version="0.1.46.v201205102330"     unpack="false"/>

PW
Comment 1 Paul Webster CLA 2012-09-20 13:52:15 EDT
The actual failure in the build was:
[ERROR] Failed to execute goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator (default-build-qualifier-aggregator) on project org.eclipse.platform.source: Execution default-build-qualifier-aggregator of goal org.eclipse.tycho:tycho-packaging-plugin:0.16.0-SNAPSHOT:build-qualifier-aggregator failed: Feature /opt/pwebster/git/cbi/r4/eclipse.platform.releng.aggregator/eclipse.platform.releng/features/org.eclipse.rcp with id org.eclipse.rcp is not part of the project build target platform -> [Help 1]

the feature that's being built has 2 feature includes in it, one of the org.eclipse.rcp

PW
Comment 2 Igor Fedorenko CLA 2012-09-24 07:28:37 EDT
The debug message is part of expected behaviour and I do not believe the build fails because of it. As I explains in [1], Tycho attempts to parse all version qualifiers as build timestamps, it prints debug message for version qualifiers it cannot parse, but otherwise ignores them.


[1] http://wiki.eclipse.org/Tycho/Reproducible_Version_Qualifiers#Feature_version_qualifiers
Comment 3 Paul Webster CLA 2012-09-24 07:43:24 EDT
(In reply to comment #2)
> The debug message is part of expected behaviour and I do not believe the
> build fails because of it. As I explains in [1], Tycho attempts to parse all
> version qualifiers as build timestamps, it prints debug message for version
> qualifiers it cannot parse, but otherwise ignores them.

I agree, it was a feature dependency issue, not related to the version.

PW