Changes

Jump to: navigation, search

User:Arbraini

4,062 bytes added, 00:33, 19 March 2009
Andrew Braini
<tr><td>Use both diffs to help to understand what the task is, and more</td></tr>
</table>
 
In order to create the .diff patch files I needed to find out which milestone of OpenOffice.org the child work space(cws) was based on. I found this out using [http://eis.services.openoffice.org/ EIS]. I found that the Python CWS was based on m41 and created the diff file using the svn command <code> $ svn diff [http://svn.services.openoffice.org/ooo/tags/DEV300_m41/ http://svn.services.openoffice.org/ooo/tags/DEV300_m41/] [http://svn.services.openoffice.org/ooo/cws/python26/ http://svn.services.openoffice.org/ooo/cws/python26/] > python26.diff</code> I then ran the patch on my m41 OOo build using <code> patch -p1 python26.diff</code> from the source root dir.
 
The first build stopping error I ran into was a pretty large one.
<pre>
/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/site.py:150: Warning: 'with' will become a reserved keyword in Python 2.6
'import site' failed; use -v for traceback
/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/site.py:150: Warning: 'with' will become a reserved keyword in Python 2.6
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/compileall.py", line 15, in <module>
import os
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/os.py", line 757
bs = b""
^
SyntaxError: invalid syntax
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/compileall.py", line 15, in <module>
import os
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/os.py", line 757
bs = b""
^
SyntaxError: invalid syntax
/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/site.py:150: Warning: 'with' will become a reserved keyword in Python 2.6
/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/site.py:150: Warning: 'with' will become a reserved keyword in Python 2.6
'import site' failed; use -v for traceback
'import site' failed; use -v for traceback
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/compileall.py", line 15, in <module>
import os
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/os.py", line 757
bs = b""
^
SyntaxError: invalid syntax
error: Bad exit status from /var/tmp/rpm-tmp.nLtV7u (%install)
 
 
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.nLtV7u (%install)
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/compileall.py", line 15, in <module>
import os
File "/home/arbraini/OOo/DEV300_m41/solver/300/unxlngx6.pro/lib/python/os.py", line 757
bs = b""
^
SyntaxError: invalid syntax
error: Bad exit status from /var/tmp/rpm-tmp.Iqx98u (%install)
 
 
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.Iqx98u (%install)
dmake: Error code 1, while making '/home/arbraini/OOo/DEV300_m41/sysui/unxlngx6.pro/bin/desktop-integration/broffice.org-redhat-menus-3.1-9383.noarch.rpm'
 
ERROR: Error 65280 occurred while making /home/arbraini/OOo/DEV300_m41/sysui/desktop/redhat
</pre>
I dug around on the internet and found some similar issues with other projects that include Python such as Blender and Mozilla. I found out it was missing Python Modules that had been causing the error. Arriving at the Germany machine in person I found xorg had frozen. Trying to restart xorg remotely had subsequently locked the whole system. With the help of Chris Tylor who was on the scene we discovered that the machine had been trying to remove key libraries while it was still running. This is what had caused the crash. Python was included in this list of libraries to be removed. Now it looks as if Germany is pooched and I've begin building on another machine.
1
edit

Navigation menu