Issue 38948 - dmake fails to build boost project
Summary: dmake fails to build boost project
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Build Tools
Classification: Code
Component: dmake (show other issues)
Version: 680m65
Hardware: PC All
: P1 (highest) Trivial (vote)
Target Milestone: ---
Assignee: hjs
QA Contact: issues@tools
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-14 02:50 UTC by d4manek
Modified: 2004-12-21 23:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description d4manek 2004-12-14 02:50:36 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]$
Comment 1 hjs 2004-12-14 10:24:46 UTC
looks like your "boost-1.30.2.tar.gz" is corrupted. please check manually.
Comment 2 d4manek 2004-12-14 17:15:29 UTC
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.
Comment 3 hjs 2004-12-14 17:54:41 UTC
please open a new issue if you find new problems
Comment 4 hjs 2004-12-14 17:55:01 UTC
.
Comment 5 quetschke 2004-12-21 23:25:45 UTC
> Perhaps it should have been "cp gunzip.exe unzip.exe"?
Definitely not! These are different programs.
Comment 6 d4manek 2004-12-21 23:48:46 UTC
This was totally my problem. I messed up on the cp. Sorry for the false alarm.