update-patches and directory names containing spaces

Daniel Rucci developer at rucci.org
Sun Aug 19 10:27:18 PDT 2007


Hey, I am having a problem with the update-patches target.

The output produced from running it is below, the directory and
associated work/ folder is located at
http://rucci.org/ports/java/eclipse-europa/ (47MB, I removed a bunch of
files that were unassociated with my problem to lower the size from 140MB).

It seems update-patches works as intended until it reaches patches
located inside plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/ and
based on how it mangles the paths of files located within there it seems
the problem is with the spacing in "Eclipse SWT PI".

make update-patches
Processing features/org.eclipse.rcp/build.xml
Processing features/org.eclipse.jdt.source/build.xml
Processing features/org.eclipse.jdt/build.xml
Processing features/org.eclipse.platform.source/feature.xml
Processing features/org.eclipse.platform.source/build.xml
Processing features/org.eclipse.pde.source/build.xml
Processing features/org.eclipse.pde/build.xml
Processing features/org.eclipse.platform/build.xml
Processing features/org.eclipse.sdk/build.xml
Processing features/org.eclipse.equinox.executable/library/gtk/build.sh
Processing
features/org.eclipse.equinox.executable/library/gtk/make_freebsd.mak
Processing features/org.eclipse.equinox.executable/library/eclipseShm.c
Processing plugins/org.eclipse.platform.doc.user/customBuildCallbacks.xml
Processing plugins/org.eclipse.platform.doc.isv/customBuildCallbacks.xml
Processing plugins/org.eclipse.swt/Eclipse SWT PI/gtk/library/build.sh
[:
/usr/ports/java/eclipse-europa-back/files/patch-plugins_org.eclipse.swt_Eclipse:
unexpected operator
[:
/usr/ports/java/eclipse-europa-back/files/patch-plugins_org.eclipse.swt_Eclipse:
unexpected operator
No patch-* found for plugins/org.eclipse.swt/Eclipse SWT
PI/gtk/library/build.sh, creating patch-plugins_org.eclipse.swt_Eclipse
SWT PI_gtk_library_build.sh
diff: extra operand
diff: Try `diff --help' for more information.
Processing plugins/org.eclipse.swt/Eclipse SWT
PI/gtk/library/make_freebsd.mak
[:
/usr/ports/java/eclipse-europa-back/files/patch-plugins_org.eclipse.swt_Eclipse:
unexpected operator
[:
/usr/ports/java/eclipse-europa-back/files/patch-plugins_org.eclipse.swt_Eclipse:
unexpected operator
No patch-* found for plugins/org.eclipse.swt/Eclipse SWT
PI/gtk/library/make_freebsd.mak, creating
patch-plugins_org.eclipse.swt_Eclipse SWT PI_gtk_library_make_freebsd.mak
diff: extra operand
diff: Try `diff --help' for more information.
Processing plugins/org.eclipse.swt.gtk.freebsd.amd64/build.xml
Processing build
Processing build.xml
Processing package.org.eclipse.sdk.freebsd.gtk.amd64.xml
Processing package.org.eclipse.sdk.freebsd.gtk.x86.xml
Processing package.org.eclipse.sdk.all.xml
*** Patch /usr/ports/java/eclipse-europa-back/files/eclipse.desktop not
accounted for.
*** Patch /usr/ports/java/eclipse-europa-back/files/eclipse.in not
accounted for.
*** Patch
/usr/ports/java/eclipse-europa-back/files/patch-assemble-freebsd-amd64.xml
not accounted for.
*** Patch
/usr/ports/java/eclipse-europa-back/files/patch-assemble-freebsd-x86.xml
not accounted for.
*** Patch
/usr/ports/java/eclipse-europa-back/files/patch-plugins-core-resources-build.xml
not accounted for.
[:
/usr/ports/java/eclipse-europa-back/files/patch-plugins_org.eclipse.swt_Eclipse:
unexpected operator
[:
/usr/ports/java/eclipse-europa-back/files/patch-plugins_org.eclipse.swt_Eclipse:
unexpected operator
*** Patch
/usr/ports/java/eclipse-europa-back/files/post-patch-plugins-swt-gtk-build.sh
not accounted for.
*** Patch
/usr/ports/java/eclipse-europa-back/files/post-patch-plugins-swt-gtk-make_freebsd.mak
not accounted for.
sed: patch-plugins_org.eclipse.swt_Eclipse: No such file or directory
sed: SWT: No such file or directory
sed: PI_gtk_library_build.sh: No such file or directory
sed: patch-plugins_org.eclipse.swt_Eclipse: No such file or directory
sed: SWT: No such file or directory
sed: PI_gtk_library_make_freebsd.mak: No such file or directory
edit patches:

Additional Info:
 6.2-RELEASE FreeBSD 6.2-RELEASE
 ports/Tools/scripts/update-patches,v 1.4 2005/01/09 10:21:17

Thanks for your help,
	Dan


More information about the freebsd-ports mailing list