I'm playing around with a couple of Eclipse plugin packages that are almost ready to go up for review. They both now build cleanly on my (i386) computer in mock, so I decided to try out koji.
One of them reproduceably fails to build on x86_64 and ppc64, with errors like this: Building feature = org.vimplugin.feature. Symlinking SDK into /builddir/build/BUILD/eclipse-vimplugin-0.3.4/build/SDK directory. /bin/sh /usr/lib64/eclipse/buildscripts/copy-platform /builddir/build/BUILD/eclipse-vimplugin-0.3.4/build/SDK /usr/lib64/eclipse ln: creating symbolic link `about.html' : File exists ln: creating symbolic link `artifacts.xml': File exists ln: creating symbolic link `configuration' : File exists
(lots more errors of this type can be seen in the build.log under https://koji.fedoraproject.org/koji/taskinfo?taskID=1091518 or https://koji.fedoraproject.org/koji/taskinfo?taskID=1091543)
This failure (a) doesn't happen with the other plugin I just built in koji (https://koji.fedoraproject.org/koji/taskinfo?taskID=1091481), and (b) doesn't happen on i386 or ppc (https://koji.fedoraproject.org/koji/taskinfo?taskID=1091529).
pdebuild is basically a mystery to me ... any idea what's going on?
MEF
Hi, * Mary Ellen Foster foster@in.tum.de [2009-01-29 11:47]:
I'm playing around with a couple of Eclipse plugin packages that are almost ready to go up for review. They both now build cleanly on my (i386) computer in mock, so I decided to try out koji.
This sounds like a bug in pdebuild (aka Andrew's crap-tacular shell script). Can you send me a pointer to the SRPM? I'm on x86_64 so will hopefully be able to figure out what's going on.
Thanks,
Andrew
On Thu, Jan 29, 2009 at 6:23 PM, Andrew Overholt overholt@redhat.com wrote:
This sounds like a bug in pdebuild (aka Andrew's crap-tacular shell script). Can you send me a pointer to the SRPM? I'm on x86_64 so will hopefully be able to figure out what's going on.
I'm at home using my netbook now and having a bit of difficulty loading koji, but you should be able to get the SRPMs from this successful (ExcludeArch *64) build:
https://koji.fedoraproject.org/koji/taskinfo?taskID=1091529
Don't forget to remove the ExcludeArch in the spec. :)
Thanks for any help you can give,
MEF
On Thu, Jan 29, 2009 at 6:58 PM, Mary Ellen Foster foster@in.tum.de wrote:
On Thu, Jan 29, 2009 at 6:23 PM, Andrew Overholt overholt@redhat.com wrote:
This sounds like a bug in pdebuild (aka Andrew's crap-tacular shell script). Can you send me a pointer to the SRPM? I'm on x86_64 so will hopefully be able to figure out what's going on.
It actually seems to be a very weird problem in copy-platform, and I can't figure out why. On my i386 machine, copy-platform contains a bunch of lines like this: [ ! -e about.html ] && ln -s $eclipse/about.html about.html [ ! -e artifacts.xml ] && ln -s $eclipse/artifacts.xml artifacts.xml
And on 64-bit platforms, all of those lines are failing with "File exists" which shouldn't be POSSIBLE, should it?! (But only with this one plugin, and not with others ...)
I took a look at the contents of this file from the 64-bit version of eclipse-pde, but it seems to be basically identical so no luck there.
Hmph. Back to $DAYJOB now ...
MEF
I think the problem may stem from the fact that there is already a build and build/SDK directory (with symlink contents) in your source tarball.
Andrew
On Fri, Jan 30, 2009 at 4:39 PM, Andrew Overholt overholt@redhat.com wrote:
I think the problem may stem from the fact that there is already a build and build/SDK directory (with symlink contents) in your source tarball.
Huh. Okay, never noticed that part, I'll just delete it before building. So why does it only fail on 64-bit machines then?
MEF
* Mary Ellen Foster foster@in.tum.de [2009-01-30 11:09]:
On Fri, Jan 30, 2009 at 4:39 PM, Andrew Overholt overholt@redhat.com wrote:
I think the problem may stem from the fact that there is already a build and build/SDK directory (with symlink contents) in your source tarball.
Huh. Okay, never noticed that part, I'll just delete it before building. So why does it only fail on 64-bit machines then?
I'm not 100% sure but I think it's 'cause the broken symlinks in the source tarball are to /usr/lib/eclipse stuff which doesn't exist on x86_64.
Andrew
On Fri, Jan 30, 2009 at 5:15 PM, Andrew Overholt overholt@redhat.com wrote:
- Mary Ellen Foster foster@in.tum.de [2009-01-30 11:09]:
On Fri, Jan 30, 2009 at 4:39 PM, Andrew Overholt overholt@redhat.com wrote:
I think the problem may stem from the fact that there is already a build and build/SDK directory (with symlink contents) in your source tarball.
Huh. Okay, never noticed that part, I'll just delete it before building. So why does it only fail on 64-bit machines then?
I'm not 100% sure but I think it's 'cause the broken symlinks in the source tarball are to /usr/lib/eclipse stuff which doesn't exist on x86_64.
Aha, yes, of course -- "test -e broken-symlink" returns false because it follows the link. That explains it.
So if I delete the "build" directory first, things seem to build cleanly on all architectures: https://koji.fedoraproject.org/koji/taskinfo?taskID=1094129 Yay!
Expect to see a couple of new Eclipse plugins going up for review in the next few days. :)
MEF
* Mary Ellen Foster foster@in.tum.de [2009-01-30 11:37]:
So if I delete the "build" directory first, things seem to build cleanly on all architectures: https://koji.fedoraproject.org/koji/taskinfo?taskID=1094129 Yay!
Cool, I'm glad it builds.
Expect to see a couple of new Eclipse plugins going up for review in the next few days. :)
:)
Andrew
java-devel@lists.fedoraproject.org