| Summary: | Building java/eclipse-devel (3.4) port fails during patch stage | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Matt D. Harris <ngsfw> |
| Component: | Individual Port(s) | Assignee: | freebsd-eclipse (Nobody) <eclipse> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Matt D. Harris
2008-10-09 22:50:01 UTC
Responsible Changed From-To: freebsd-ports-bugs->freebsd-eclipse Over to maintainer (via the GNATS Auto Assign Tool) It seems that you tried to apply the patch twice. Could you try again with a clean working directory? (cd /usr/ports/java/eclipse-devel && make clean install) ----- "Stephane E. Potvin" <sepotvin@FreeBSD.org> wrote: > It seems that you tried to apply the patch twice. Could you try again > with a clean working directory? (cd /usr/ports/java/eclipse-devel && > make clean install) Yeah, I've tried a couple of times to `make clean` before making install, a= nd even tried blowing away the distfile. My ports are cvsup'd to the lates= t; just in case there's any question here's my CVS tag in java/eclipse-deve= l/Makefile: # $FreeBSD: ports/java/eclipse-devel/Makefile,v 1.20 2008/09/13 04:06:44 gl= ewis Exp $ I just tried this again, here's the output: (root@vesper) [/usr/ports/java/eclipse-devel]: make clean =3D=3D=3D> Cleaning for eclipse-devel-3.4 =20 (root@vesper) [/usr/ports/java/eclipse-devel]: make install WITH_GECKO=3Dxu= lrunner eclipse-devel is using xulrunner for gecko support, but you can change that by defining WITH_GECKO to the following values: =20 firefox=20 xulrunner=20 mozilla =20 seamonkey=20 =3D=3D=3D> Extracting for eclipse-devel-3.4 =3D> MD5 Checksum OK for eclipse/eclipse-sourceBuild-srcIncluded-3.4.zip. =3D> SHA256 Checksum OK for eclipse/eclipse-sourceBuild-srcIncluded-3.4.zip= . =3D=3D=3D> eclipse-devel-3.4 depends on executable: unzip - found = =20 =3D=3D=3D> Patching for eclipse-devel-3.4 = =20 =3D=3D=3D> eclipse-devel-3.4 depends on executable: gpatch - found = =20 Copying assemble.org.eclipse.sdk.linux.gtk.x86.xml into assemble.org.eclips= e.sdk.freebsd.gtk.x86.xml Copying assemble.org.eclipse.sdk.linux.gtk.x86_64.xml into assemble.org.ecl= ipse.sdk.freebsd.gtk.amd64.xml Copying package.org.eclipse.sdk.linux.gtk.x86.xml into package.org.eclipse.= sdk.freebsd.gtk.x86.xml Copying package.org.eclipse.sdk.linux.gtk.x86_64.xml into package.org.eclip= se.sdk.freebsd.gtk.amd64.xml Copying features/org.eclipse.platform/about_files/linux.gtk.x86 into featur= es/org.eclipse.platform/about_files/freebsd.gtk.x86 Copying features/org.eclipse.platform/about_files/linux.gtk.x86_64 into fea= tures/org.eclipse.platform/about_files/freebsd.gtk.amd64 Copying features/org.eclipse.equinox.executable/bin/gtk/linux into features= /org.eclipse.equinox.executable/bin/gtk/freebsd Copying features/org.eclipse.equinox.executable/bin/gtk/linux/x86 into feat= ures/org.eclipse.equinox.executable/bin/gtk/freebsd/x86 Copying features/org.eclipse.equinox.executable/bin/gtk/linux/x86_64 into f= eatures/org.eclipse.equinox.executable/bin/gtk/freebsd/amd64 Copying features/org.eclipse.equinox.executable/library/gtk/make_linux.mak = into features/org.eclipse.equinox.executable/library/gtk/make_freebsd.mak Copying plugins/org.eclipse.core.filesystem/natives/unix/linux into plugins= /org.eclipse.core.filesystem/natives/unix/freebsd Copying plugins/org.eclipse.core.filesystem.linux.x86 into plugins/org.ecli= pse.core.filesystem.freebsd.x86 Copying plugins/org.eclipse.core.filesystem.linux.x86_64 into plugins/org.e= clipse.core.filesystem.freebsd.amd64 Copying plugins/org.eclipse.core.filesystem.linux.x86/os/linux into plugins= /org.eclipse.core.filesystem.freebsd.x86/os/freebsd Copying plugins/org.eclipse.core.filesystem.linux.x86_64/os/linux into plug= ins/org.eclipse.core.filesystem.freebsd.amd64/os/freebsd Copying plugins/org.eclipse.core.net.linux.x86 into plugins/org.eclipse.cor= e.net.freebsd.x86 Copying plugins/org.eclipse.core.net/fragments/org.eclipse.core.net.linux.x= 86 into plugins/org.eclipse.core.net/fragments/org.eclipse.core.net.freebsd= .x86 Copying plugins/org.eclipse.equinox.launcher.gtk.linux.x86 into plugins/org= .eclipse.equinox.launcher.gtk.freebsd.x86 Copying plugins/org.eclipse.equinox.launcher.gtk.linux.x86/launcher.gtk.lin= ux.x86.properties into plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86= /launcher.gtk.freebsd.x86.properties Copying plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64 into plugins/= org.eclipse.equinox.launcher.gtk.freebsd.amd64 Copying plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64/launcher.gtk.= linux.x86_64.properties into plugins/org.eclipse.equinox.launcher.gtk.freeb= sd.amd64/launcher.gtk.freebsd.amd64.properties Copying plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.= launcher.gtk.linux.x86 into plugins/org.eclipse.equinox.launcher/fragments/= org.eclipse.equinox.launcher.gtk.freebsd.x86 Copying plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.= launcher.gtk.linux.x86/launcher.gtk.linux.x86.properties into plugins/org.e= clipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.freebsd.= x86/launcher.gtk.freebsd.x86.properties Copying plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.= launcher.gtk.linux.x86_64 into plugins/org.eclipse.equinox.launcher/fragmen= ts/org.eclipse.equinox.launcher.gtk.freebsd.amd64 Copying plugins/org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.= launcher.gtk.linux.x86_64/launcher.gtk.linux.x86_64.properties into plugins= /org.eclipse.equinox.launcher/fragments/org.eclipse.equinox.launcher.gtk.fr= eebsd.amd64/launcher.gtk.freebsd.amd64.properties Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts= _linux.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/reso= urce/jfacefonts_freebsd.properties Copying plugins/org.eclipse.jface/src/org/eclipse/jface/resource/jfacefonts= _linux_gtk.properties into plugins/org.eclipse.jface/src/org/eclipse/jface/= resource/jfacefonts_freebsd_gtk.properties Copying plugins/org.eclipse.swt.gtk.linux.x86 into plugins/org.eclipse.swt.= gtk.freebsd.x86 Copying plugins/org.eclipse.swt.gtk.linux.x86 into plugins/org.eclipse.swt.= gtk.freebsd.x86 Copying plugins/org.eclipse.swt.gtk.linux.x86.source into plugins/org.eclip= se.swt.gtk.freebsd.x86.source Copying plugins/org.eclipse.swt.gtk.linux.x86_64 into plugins/org.eclipse.s= wt.gtk.freebsd.amd64 Copying plugins/org.eclipse.swt.gtk.linux.x86_64.source into plugins/org.ec= lipse.swt.gtk.freebsd.amd64.source Copying plugins/org.eclipse.update.core.linux into plugins/org.eclipse.upda= te.core.freebsd Copying plugins/org.eclipse.update.core.linux/os/linux into plugins/org.ecl= ipse.update.core.freebsd/os/freebsd Copying plugins/org.eclipse.update.core.linux.source into plugins/org.eclip= se.update.core.freebsd.source Copying plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_linux.mak i= nto plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/make_freebsd.mak =3D=3D=3D> Applying FreeBSD patches for eclipse-devel-3.4 Reversed (or previously applied) patch detected! Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file plugins/org.eclipse.core.= filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.j= ava.rej =3D> Patch patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-i= nternal-filesystem-local-LocalFileSystem.java failed to apply cleanly. =3D> Patch(es) patch-assemble.org.eclipse.sdk.all.xml patch-build patch-bui= ld.properties patch-build.xml patch-features-org.eclipse.cvs-build.xml patc= h-features-org.eclipse.cvs.source-build.xml patch-features-org.eclipse.equi= nox.executable-feature.xml patch-features-org.eclipse.equinox.executable-li= brary-gtk-build.sh patch-features-org.eclipse.equinox.executable-library-gt= k-make_freebsd.mak patch-features-org.eclipse.equinox.executable-target.bui= ld.properties patch-features-org.eclipse.equinox.executable-target.build.xm= l patch-features-org.eclipse.equinox.p2.user.ui-build.xml patch-features-or= g.eclipse.equinox.p2.user.ui.source-build.xml patch-features-org.eclipse.he= lp-build.xml patch-features-org.eclipse.help.source-build.xml patch-feature= s-org.eclipse.jdt-build.xml patch-features-org.eclipse.jdt.source-build.xml= patch-features-org.eclipse.pde-build.xml patch-features-org.eclipse.pde.p2= -build.xml patch-features-org.eclipse.pde.p2.source-build.xml patch-feature= s-org.eclipse.pde.source-build.xml patch-features-org.eclipse.platform-buil= d.properties patch-features-org.eclipse.platform-build.xml patch-features-o= rg.eclipse.platform-feature.xml patch-features-org.eclipse.platform.source-= build.xml patch-features-org.eclipse.platform.source-feature.xml patch-feat= ures-org.eclipse.rcp-build.properties patch-features-org.eclipse.rcp-build.= xml patch-features-org.eclipse.rcp-feature.xml patch-features-org.eclipse.r= cp.source-build.xml patch-features-org.eclipse.rcp.source-feature.xml patch= -features-org.eclipse.sdk-build.properties patch-features-org.eclipse.sdk-b= uild.xml patch-plugins-org.eclipse.ant.ui-buildfiles-buildRemoteExtraJAR.xm= l patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-Makefile p= atch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-include-os_cu= stom.h patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-inter= nal-filesystem-local-LocalFileS applied cleanly. *** Error code 1 Stop in /usr/ports/java/eclipse-devel. Thanks for your quick response! =20 NG Software wrote: > ----- "Stephane E. Potvin" <sepotvin@FreeBSD.org> wrote: > >> It seems that you tried to apply the patch twice. Could you try again >> with a clean working directory? (cd /usr/ports/java/eclipse-devel && >> make clean install) > > Yeah, I've tried a couple of times to `make clean` before making install, and even tried blowing away the distfile. My ports are cvsup'd to the latest; just in case there's any question here's my CVS tag in java/eclipse-devel/Makefile: > # $FreeBSD: ports/java/eclipse-devel/Makefile,v 1.20 2008/09/13 04:06:44 glewis Exp $ > > > I just tried this again, here's the output: > > (root@vesper) [/usr/ports/java/eclipse-devel]: make clean > ===> Cleaning for eclipse-devel-3.4 > (root@vesper) [/usr/ports/java/eclipse-devel]: make install WITH_GECKO=xulrunner > [...] > ===> Applying FreeBSD patches for eclipse-devel-3.4 > Reversed (or previously applied) patch detected! Skipping patch. > 1 out of 1 hunk ignored -- saving rejects to file plugins/org.eclipse.core.filesystem/src/org/eclipse/core/internal/filesystem/local/LocalFileSystem.java.rej > => Patch patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal-filesystem-local-LocalFileSystem.java failed to apply cleanly. > => Patch(es) patch-assemble.org.eclipse.sdk.all.xml patch-build patch-build.properties patch-build.xml patch-features-org.eclipse.cvs-build.xml patch-features-org.eclipse.cvs.source-build.xml patch-features-org.eclipse.equinox.executable-feature.xml patch-features-org.eclipse.equinox.executable-library-gtk-build.sh patch-features-org.eclipse.equinox.executable-library-gtk-make_freebsd.mak patch-features-org.eclipse.equinox.executable-target.build.properties patch-features-org.eclipse.equinox.executable-t arget.build.xml patch-features-org.eclipse.equinox.p2.user.ui-build.xml patch-features-org.eclipse.equinox.p2.user.ui.source-build.xml patch-features-org.eclipse.help-build.xml patch-features-org.eclipse.help.source-build.xml patch-features-org.eclipse.jdt-build.xml patch-features-org.eclipse.jdt.source-build.xml patch-features-org.eclipse.pde-build.xml patch-features-org.eclipse.pde.p2-build.xml patch-features-org.eclipse.pde.p2.source-build.xml patch-features-org.eclipse. pde.source-build.xml patch-features-org.eclipse.platform-build.properties patch-features-org.eclipse.platform-build.xml patch-features-org.eclipse.platform-feature.xml patch-features-org.eclipse.platform.source-build.xml patch-features-org.eclipse.platform.source-feature.xml patch-features-org.eclipse.rcp-build.properties patch-features-org.eclipse.rcp-build.xml patch-features-org.eclipse.rcp-feature.xml patch-features-org.eclipse.rcp.source-build.xml patch-features-org.eclipse.rcp.source-feature.xml patch -features-org.eclipse.sdk-build.properties patch-features-org.eclipse.sdk-build.xml patch-plugins-org.eclipse.ant.ui-buildfiles-buildRemoteExtraJAR.xml patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-Makefile patch-plugins-org.eclipse.core.filesystem-natives-unix-freebsd-include-os_custom.h patch-plugins-org.eclipse.core.filesystem-src-org-eclipse-core-internal-filesystem-local-LocalFileS applied cleanly. > *** Error code 1 > > Stop in /usr/ports/java/eclipse-devel. > This is weird. It failed again with a previously applied patch but this time on a different file. In your original report, it failed on patch-assemble.org.eclipse.sdk.all.xml Could you completely nuke your eclipse-devel directory and get a fresh copy? Also, the version you are trying to build doesn't work with xulrunner as GECKO provider. See PR ports/127353 for a patch that fix this. That was weird. A normal cvsup did not fix it (I tried doing so a while back), but after blowing away the port and running csup to grab it again and then patching in the diff in 127353, it worked fine. I've now got the port installed and working, and your patch works, as well. Thanks! State Changed From-To: open->closed Looks like this has been resolved. |