Apache OpenOffice (AOO) Bugzilla – Issue 38948
dmake fails to build boost project
Last modified: 2004-12-21 23:48:46 UTC
I am having trouble doing a full build of 680m65. Below is a transcript of my dmake. [Dave@davef-xp ...d/ooo_1.9.65_src]$ source winenv.set [Dave@davef-xp ...d/ooo_1.9.65_src]$ rehash [Dave@davef-xp ...d/ooo_1.9.65_src]$ ./bootstrap [Dave@davef-xp ...d/ooo_1.9.65_src]$ dmake build -- version: 1.130 Fetching dependencies for module animations from solver... failed... Fetching from CVS... failed ============= Building project solenv ============= deliver -- version: 1.77 Statistics: Files copied: 0 Files unchanged/not matching: 1 ============= Building project freetype ============= /cygdrive/d/ooo_1.9.65_src/freetype ------------- deliver -- version: 1.77 Statistics: Files copied: 0 Files unchanged/not matching: 7 ============= Building project beanshell ============= deliver -- version: 1.77 Statistics: Files copied: 0 Files unchanged/not matching: 2 ============= Building project xalan ============= deliver -- version: 1.77 Statistics: Files copied: 0 Files unchanged/not matching: 4 ============= Building project boost ============= /cygdrive/d/ooo_1.9.65_src/boost ------------- mv ./wntmsci10.pro/misc/build ./wntmsci10.pro/misc/build/boost-1.30.2_removeme mv: cannot copy a directory, `./wntmsci10.pro/misc/build', into itself, `./wntms ci10.pro/misc/build/boost-1.30.2_removeme' rm -rf ./wntmsci10.pro/misc/build/boost-1.30.2_removeme cd ./wntmsci10.pro/misc/build && ( gunzip -c ../../../download/boost- 1.30.2.tar. gz | tar -xvf -) && /usr/bin/touch.exe so_unpacked_ooo_boost End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of ../../../download/boost- 1.30.2.t ar.gz or ../../../download/boost-1.30.2.tar.gz.zip, and cannot find ../../../down load/boost-1.30.2.tar.gz.ZIP, period. make writeable... chmod: getting attributes of `boost-1.30.2': No such file or directory dmake: Error code 1, while making './wntmsci10.pro/misc/build/so_unpacked_ooo_b oost' dmake: './wntmsci10.pro/misc/build/so_unpacked_ooo_boost' removed. ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /cygdrive/d/ooo_1.9.65_src/boost dmake: Error code 1, while making 'build_all' ---* tg_merge.mk *--- [Dave@davef-xp ...d/ooo_1.9.65_src]$
looks like your "boost-1.30.2.tar.gz" is corrupted. please check manually.
After a complete reinstall of Cygwin, I am now working. Here's what lead me to the problem initially... I was reading "Building OpenOffice.org 2.x (680er series) under Windows with tcsh" at http://tools.openoffice.org/dev_docs/build_windows_tcsh.html#BuildRequirements. In this article it there is a note that reads: "Important Note 5: Within the Cygwin Toolkit, three executables might be realised as symlinks, namely awk.exe, gunzip.exe and tar.exe. This might lead to a break of the build later, and the symlinks should be replaced with copies of the command they link to. Check, in a cygwin shell, with ls -l /bin/awk.exe whether awk.exe is a symlink. For instance, awk.exe could be a link to gawk.exe, in which case you should copy gawk.exe to awk.exe: cd /bin; cp gawk.exe awk.exe. Take similar action for unzip.exe and tar.exe." Since awk.exe and gunzip.exe looked like symlinks, I tried doing a "cp gawk.exe awk.exe" and a "cp gunzip.exe gzip.exe". These commands failed because it said I was overwriting the same file. I'm not sure if the "cp gunzip.exe gzip.exe" was correct anyway. Perhaps it should have been "cp gunzip.exe unzip.exe"? So I removed awk.exe and gunzip.exe and peformed the copy again, which worked. In any event, I think this caused a failure when gunzipping the boost archive. In the end, "Important Note 5" appears to be something that should be ignored when building in Windows environment with the latest Cygwin. I am part way through the build now and it appears to be working. I will add more information if my build doesn't work.
please open a new issue if you find new problems
.
> Perhaps it should have been "cp gunzip.exe unzip.exe"? Definitely not! These are different programs.
This was totally my problem. I messed up on the cp. Sorry for the false alarm.