Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 330261

Summary: PDEBuild on Linux bugs when generate for config=linux,gtk,x86_64
Product: [Eclipse Project] PDE Reporter: Ponyno <ponyno>
Component: BuildAssignee: pde-build-inbox <pde-build-inbox>
Status: RESOLVED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: ponyno, pwebster
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Logs of PDEBuild
none
myproject and myproject.feature
none
log with -verbose option none

Description Ponyno CLA 2010-11-15 11:11:38 EST
Build Identifier: 

My product is feature-based. The only feature it contains includes common plug-in from equinox (see attachment).
PDEBuild has gathering set to true.

While build, the runDirector target send the following message : 
" Missing requirement for filter properties ~= $0: product 0.0.0 (myproject.product 0.0.0) requires 'myproject.product_root.gtk.linux.x86_64 [3.4.0.v20100524-7M7K-FIhIez-egBko15H73]' but it could not be found".

The same build works fine on Windows.

Indeed, myproject.product_root.gtk.linux.x86_64 is not generated by PDEBuild so the director does not find it when installing the product.

Reproducible: Always

Steps to Reproduce:
1. Run myproject.feature/build-product.sh
2.
3.
Comment 1 Ponyno CLA 2010-11-15 11:17:36 EST
Created attachment 183132 [details]
Logs of PDEBuild

In this log, you can see just before the stack traces, the error message sent by the director.
Comment 2 Ponyno CLA 2010-11-15 11:24:25 EST
Created attachment 183134 [details]
myproject and myproject.feature
Comment 3 Andrew Niefer CLA 2010-11-15 12:01:25 EST
Something is going wrong in branding the launchers for the product, in the log:

generate.p2.metadata:
Error occurred while transforming repository: An error occurred while installing the items.
   [delete] Deleting directory /home/isis/myproject.eclipse.build/tmp/p2.branding

This is the step that is supposed to create the myproject.product_root.gtk.linux.x86_64

Can you check if 
${buildDirectory}/buildRepo/binary/org.eclipse.equinox.executable_root.gtk.linux.x86_64_3.4.0.v20100524-7M7K-FIhIez-egBko15H73 
exists?

Perhaps running ant with -verbose might provide more details
Comment 4 Ponyno CLA 2010-11-15 12:29:43 EST
(In reply to comment #3)
> Something is going wrong in branding the launchers for the product, in the log:
> 
> generate.p2.metadata:
> Error occurred while transforming repository: An error occurred while
> installing the items.
>    [delete] Deleting directory
> /home/isis/myproject.eclipse.build/tmp/p2.branding
> 
> This is the step that is supposed to create the
> myproject.product_root.gtk.linux.x86_64
> 
> Can you check if 
> ${buildDirectory}/buildRepo/binary/org.eclipse.equinox.executable_root.gtk.linux.x86_64_3.4.0.v20100524-7M7K-FIhIez-egBko15H73 
> exists?
> 
> Perhaps running ant with -verbose might provide more details



- org.eclipse.equinox.executable_root.gtk.linux.x86_64_3.4.0.v20100524-7M7K-FIhIez-egBko15H73 does exist in ${buildDirectory}/buildRepo/binary.

I attach the log with verbose option.
Comment 5 Ponyno CLA 2010-11-15 12:34:04 EST
Created attachment 183145 [details]
log with -verbose option
Comment 6 Lars Vogel CLA 2018-12-03 09:04:41 EST
Currently we are not actively enhancing PDE build anymore. Therefore, I close this bug as WONTFIX. 

Please reopen, if you plan to provide a fix.