To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97950 Issue #|97950 Summary|oo patches its own patch backup output, and ignores VE |RSION_CONTROL Component|framework Version|OOo 3.0 Platform|Opteron/x86_64 URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P2 Subcomponent|code Assigned to|tm Reported by|bwa
------- Additional comments from b...@openoffice.org Sun Jan 11 16:49:31 +0000 2009 ------- The problem manifests like this: I have Gentoo on AMD 64, so it is virtually rediculous not to build everything to take advantage of 64 bit (Gentoo does have a binary version, but binary versions are very unreliable in general -- they just never match the local system). This makes a BIG difference in performance and reliability my platform. Anyway, OpenOffice 3.0, during building, reveals quite a bug in OpenOffice's source building process: transogl-pixmap-to-texture.diff: testing...( patch -l -p0 -d /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/build/ooo300-m9 --dry-run ) < /var/tmp/paludis/app-office-openoffice-3.0.0/work/ooo/patches/dev300/./transogl-pixmap-to-texture.diff patching file slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx vvvvvvvvvvvvvvvvv ERROR STARTS HERE vvvvvvvvvvvvvvvvvvvvvvvvv can't find file to patch at input line 1093 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -rup slideshow/source/engine/OGLTrans-orig/OGLTrans_TransitionerImpl.cxx.orig slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx.orig |--- slideshow/source/engine/OGLTrans-orig/OGLTrans_TransitionerImpl.cxx.orig 2008-08-26 18:06:46.000000000 +0200 |+++ slideshow/source/engine/OGLTrans/OGLTrans_TransitionerImpl.cxx.orig 2008-08-25 19:10:29.000000000 +0200 -------------------------- File to patch: Comparing my build process log to logs of others whose build processes succeeded allowed me to refine my bug manifestation. Looking at the directory in question at the time of the bug failure, there is no OGLTrans_TransitionerImpl.cxx.orig, but there certainly is an OGLTrans_TransitionerImpl.cxx.~1~. From the "patch" manual page, it is apparent that openoffice is failing to control its own environment. A genuine fix for this bug would be for openoffice to stop patching its own patch backup output. However, a workaround for now would be for openoffice to specify the version control for patch to be using outright. A workaround in that manner that works for the current assumptions is: PATCH_VERSION_CONTROL=simple SIMPLE_BACKUP_PREFIX=.orig export PATCH_VERSION_CONTROL SIMPLE_BACKUP_PREFIX A shorthand in my particular situation in my particular build system in Gentoo ended up being (very implementation dependent, and not general in any way): VERSION_CONTROL= paludis -i openoffice Of course, that only works because PATCH_VERSION_CONTROL was not set in my situation, and VERSION_CONTROL was (and has been since 1995). If it were, then that shorthand would not have worked; "PATCH_VERSION_CONTROL=simple SIMPLE_BACKUP_PREFIX=.orig paludis -i openoffice" would have been the shorthand workaround in that case. Anyway, if you fix this problem one way or the other (using a genuine fix, or by controlling the assumed behavoir of "patch" specifically), then those shorthands would be irrelevent. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org