Apache OpenOffice (AOO) Bugzilla – Issue 66700
m173-to-be: W32 build fails in soltools/testhxx
Last modified: 2006-07-10 13:03:12 UTC
If this is a transient issue as m173 is not ready yet please ignore and close. My W32-tcsh build fails with: ------------- /bin/perl -w create.pl < ../wntmsci10.pro/misc/testhxx.output > ../wntmsci10.pro/bin/testhxx.btm bad input: no source file at create.pl line 84, <> line 1. dmake: Error code 2, while making '../wntmsci10.pro/bin/testhxx.btm' dmake: '../wntmsci10.pro/bin/testhxx.btm' removed. ERROR: Error 65280 occurred while making /cygdrive/d/w1/tin_tcsh/soltools/testhxx ---* tg_merge.mk *--- See also: <http://go-oo.org/tinderbox/gunzip.cgi?tree=SRC680_m173&brief-log=1151083740.10830#err3> I'll attach ../wntmsci10.pro/misc/testhxx.output
Created attachment 37303 [details] testhxx.output
testhxx/create.pl mistakes WNT with 4nt. Adding sb as he added that file.
Created attachment 37304 [details] Begin of a patch - please fill in the rest
I forgot a slash '\' + $in =~ s!\S+/testhxx.cxx!${my_tmp}! ------------------------------^ here.
reassign to sb
.
Made minimal changes (soltools/testhxx/create.pl:1.2.2.1, soltools/testhxx/makefile.mk:1.2.2.2) so that the build no longer breaks on the cygwin platform, but the resulting testhxx is not yet functional (it is not needed further down the build). @vq: - I cannot easily test this, so please verify that the fix indeed works. - If you want to have a working testhxx (<http://www.openoffice.org/servlets/ReadMsg?list=interface-announce&msgNo=916>) on the cygwin platform, please do that in an extra issue (and let me know if you need any help).
@sb: The fix looks good. I cannot test currently, but this is roughly what I used as a workaround to keep the build going, so it should be fine.
I forgot the VERIFIED.
On m174 w32/cygwin, I still had the same failure. This fixed it for me. --- soltools/testhxx/create.pl 20 Jun 2006 05:09:44 -0000 1.2 +++ soltools/testhxx/create.pl 7 Jul 2006 03:43:23 -0000 @@ -81,7 +81,7 @@ $in =~ s!\s+-Fo\s*\S+! -Fo%my_tmp%.obj! || die 'bad input: no -Fo'; $in =~ s!\s+-Zi\s! !; $in =~ s!\s+-Fd\s*\S+!!; - $in =~ s!\S+\\testhxx.cxx!%my_tmp%! + $in =~ s!\S+[\\\/]testhxx.cxx!%my_tmp%! || die 'bad input: no source file'; print STDOUT '@ECHO OFF', "\n"; print STDOUT 'SET my_tmp=%TMP%\%_PID%_include.cc', "\n";
@dkeskar: What do you mean with "still"---on a code base where the changes from soltools/testhxx/create.pl:1.2.2.1 and soltools/testhxx/makefile.mk:1.2.2.2 are included? That is, was your comment meant as "here is an alternative fix," or was it meant as "reopen/not yet fixed?"
[Fix only made it into SRC680m175, not SRC680m174. Maybe that explains dkeskar's comment.]