Re: Windows build woes
Am 12.08.2017 um 15:56 schrieb Jim Jagielski: > Can you provide what 'echo $PATH' shows before autoconf and > after the sourcing of winenv.set.sh? > > tia! Sure! Before "autoconf": $ echo $PATH /usr/local/bin:/usr/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Users/Seidel/AppData/Local/Microsoft/WindowsApps After "source winenv.set.sh": $ echo $PATH .:/cygdrive/c/Source/aoo-414/main/solenv/bin:/cygdrive/c/Source/aoo-414/main/solenv/wntmsci12.pro/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_8/bin:/cygdrive/c/PROGRA~2/Java/JDK17~1.0_8/jre/bin/client:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/cygdrive/c/PROGRA~2/MICROS~1.0/Common7/IDE:/cygdrive/c/MICROS~1/Windows/v7.0/bin:/cygdrive/c/Windows/MICROS~1.NET/FRAMEW~1/v3.5:/cygdrive/c/Microsoft_SDKs/Windows/v7.0/bin:/cygdrive/c/PROGRA~2/MICROS~1.0/VC/bin:/usr/bin:/cygdrive/c/NSIS:/usr/local/bin:/cygdrive/c/ProgramData/Oracle/Java/javapath:/cygdrive/c/Windows/system32:/cygdrive/c/Windows:/cygdrive/c/Windows/System32/Wbem:/cygdrive/c/Windows/System32/WindowsPowerShell/v1.0:/cygdrive/c/Users/Seidel/AppData/Local/Microsoft/WindowsApps > >> On Aug 12, 2017, at 9:45 AM, Matthias Seidel>> wrote: >> >> Am 12.08.2017 um 15:14 schrieb Jim Jagielski: >>> Considering that the build system for OO depends on pollution, oops, >>> I mean *population* of the environment, I just wonder if that may >>> be an issue. >>> >>> Are you using the default bash* startup scripts? Any modifications? >>> That sort of thing? >> I never used a script because I had too many different configure >> switches that I tested alternating. >> Maybe after 4.1.4 is released I will create one... ;-) >> >> I just type (in SourceMain): >> >> - autoconf >> - ./configure (with chosen switches) >> - ./bootstrap >> - source winenv.set.sh >> - cd instsetoo_native >> - build --all -P2 -- -P2 >> >> That builds all full installations (as defined in --with-lang) and the >> SDK by default. The SDK can be omitted with --disable-odk. >> >>> - >>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>> For additional commands, e-mail: dev-h...@openoffice.apache.org >>> >> > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > > smime.p7s Description: S/MIME Cryptographic Signature
Re: Windows build woes
Can you provide what 'echo $PATH' shows before autoconf and after the sourcing of winenv.set.sh? tia! > On Aug 12, 2017, at 9:45 AM, Matthias Seidel> wrote: > > Am 12.08.2017 um 15:14 schrieb Jim Jagielski: >> Considering that the build system for OO depends on pollution, oops, >> I mean *population* of the environment, I just wonder if that may >> be an issue. >> >> Are you using the default bash* startup scripts? Any modifications? >> That sort of thing? > > I never used a script because I had too many different configure > switches that I tested alternating. > Maybe after 4.1.4 is released I will create one... ;-) > > I just type (in SourceMain): > > - autoconf > - ./configure (with chosen switches) > - ./bootstrap > - source winenv.set.sh > - cd instsetoo_native > - build --all -P2 -- -P2 > > That builds all full installations (as defined in --with-lang) and the > SDK by default. The SDK can be omitted with --disable-odk. > >> >> - >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: dev-h...@openoffice.apache.org >> > > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
Am 12.08.2017 um 15:14 schrieb Jim Jagielski: > Considering that the build system for OO depends on pollution, oops, > I mean *population* of the environment, I just wonder if that may > be an issue. > > Are you using the default bash* startup scripts? Any modifications? > That sort of thing? I never used a script because I had too many different configure switches that I tested alternating. Maybe after 4.1.4 is released I will create one... ;-) I just type (in SourceMain): - autoconf - ./configure (with chosen switches) - ./bootstrap - source winenv.set.sh - cd instsetoo_native - build --all -P2 -- -P2 That builds all full installations (as defined in --with-lang) and the SDK by default. The SDK can be omitted with --disable-odk. > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > smime.p7s Description: S/MIME Cryptographic Signature
Re: Windows build woes
Considering that the build system for OO depends on pollution, oops, I mean *population* of the environment, I just wonder if that may be an issue. Are you using the default bash* startup scripts? Any modifications? That sort of thing? - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
No, I initially build with Win 7 Home 32bit before I switched to Win 10 Pro 64bit (just to see if it works...). The installed software looks good. You could deinstall all (3) Versions of MS Visual C++ 2008 Redistributable 9.0.30729 leaving only the two with 9.0.30729.6161. Am 11.08.2017 um 18:37 schrieb Jim Jagielski: > I wonder if it's because I'm on Win7, Home Premium. > > The list of installed s/w looks correct: > > http://home.apache.org/~jim/AOO-builds/aoobuilder-sw.png > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > smime.p7s Description: S/MIME Cryptographic Signature
Re: Windows build woes
I wonder if it's because I'm on Win7, Home Premium. The list of installed s/w looks correct: http://home.apache.org/~jim/AOO-builds/aoobuilder-sw.png - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
FWIW, my builds never require multiple steps and I always build with "build --all -P2 -- -P2" The environment is important, you can see my setup for RC1 here: http://svn.apache.org/repos/asf/openoffice/devtools/build-scripts/4.1.4/wntmsci/ReadMe.txt Am 11.08.2017 um 16:39 schrieb Jim Jagielski: > Yep... I've disabled using '--P2 -- --P2' as well, in > case it's something about parallel jobs, etc. > > Weird as anything. The only thing I can think of is that > the links on the step-to-step guide are pointing to newer > versions of things, which is what is breaking my win7 builds. > > I may try w/ a super-bare bones ./configure setup and see > how far I can go. > >> On Aug 11, 2017, at 10:33 AM, Patricia Shanahanwrote: >> >> Have you tried repeating "build --all" a few times? >> >> I quite often have failures that go away with a few repeated builds. My >> interpretation is that whatever is supposed to make sure all dependencies >> are satisfied before building a module does not quite work right. Sooner or >> later, everything that is needed does get built, and the build can proceed. >> >> >> On 8/11/2017 7:30 AM, Jim Jagielski wrote: >>> I've tried reinstalling, putting stuff in different locations, >>> etc... I just cannot get aoo-414 building on my windows7 VM. >>> I am following the step-by-step guide to the letter. >>> - >>> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >>> For additional commands, e-mail: dev-h...@openoffice.apache.org >> - >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: dev-h...@openoffice.apache.org >> > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > smime.p7s Description: S/MIME Cryptographic Signature
Re: Windows build woes
Yep... I've disabled using '--P2 -- --P2' as well, in case it's something about parallel jobs, etc. Weird as anything. The only thing I can think of is that the links on the step-to-step guide are pointing to newer versions of things, which is what is breaking my win7 builds. I may try w/ a super-bare bones ./configure setup and see how far I can go. > On Aug 11, 2017, at 10:33 AM, Patricia Shanahanwrote: > > Have you tried repeating "build --all" a few times? > > I quite often have failures that go away with a few repeated builds. My > interpretation is that whatever is supposed to make sure all dependencies are > satisfied before building a module does not quite work right. Sooner or > later, everything that is needed does get built, and the build can proceed. > > > On 8/11/2017 7:30 AM, Jim Jagielski wrote: >> I've tried reinstalling, putting stuff in different locations, >> etc... I just cannot get aoo-414 building on my windows7 VM. >> I am following the step-by-step guide to the letter. >> - >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: dev-h...@openoffice.apache.org > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
Have you tried repeating "build --all" a few times? I quite often have failures that go away with a few repeated builds. My interpretation is that whatever is supposed to make sure all dependencies are satisfied before building a module does not quite work right. Sooner or later, everything that is needed does get built, and the build can proceed. On 8/11/2017 7:30 AM, Jim Jagielski wrote: I've tried reinstalling, putting stuff in different locations, etc... I just cannot get aoo-414 building on my windows7 VM. I am following the step-by-step guide to the letter. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
I've tried reinstalling, putting stuff in different locations, etc... I just cannot get aoo-414 building on my windows7 VM. I am following the step-by-step guide to the letter. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
> On Aug 8, 2017, at 12:59 PM, Don Lewiswrote: > > On 8 Aug, Jim Jagielski wrote: >> It looks like some sort of variable interpolation issue... Note >> that it's trying to do: >> >>- | awk -f C:/cygwin$S/solenv/gbuild/processdeps.awk >> >> Now with: >> >>S=$R/main >>R=c:/cygwin/home/jim/src/asf/aoo-414 >> >> you can see how what comes out is: >> >>- | awk -f C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main >> >> Now I'm not sure if it's the value of $R which is >> wrong or the awk line itself is mangled... nor can I find >> where these are defined. Nor can I understand why it's just >> affecting me :) > > The awk line looks wrong to me. I *think* it should be awk -f > $S/solenv/gbuild/processdeps.awk. I'm not sure where this is coming > from, though. The platform-specific gbuild makefiles contain this: > $(gb_AWK) -f $(GBUILDDIR)/processdeps.awk > and apr-util sets this: > GBUILDDIR := $(SOLARENV)/gbuild > What is SOLARENV set to in your environment? > SOLARENV=C:/cygwin/home/jim/src/asf/aoo-414/main/solenv - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
The only thing I can think of is some sort of env pollution causing that... starting from a fresh dwnload. > On Aug 8, 2017, at 12:59 PM, Don Lewiswrote: > > On 8 Aug, Jim Jagielski wrote: >> It looks like some sort of variable interpolation issue... Note >> that it's trying to do: >> >>- | awk -f C:/cygwin$S/solenv/gbuild/processdeps.awk >> >> Now with: >> >>S=$R/main >>R=c:/cygwin/home/jim/src/asf/aoo-414 >> >> you can see how what comes out is: >> >>- | awk -f C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main >> >> Now I'm not sure if it's the value of $R which is >> wrong or the awk line itself is mangled... nor can I find >> where these are defined. Nor can I understand why it's just >> affecting me :) > > The awk line looks wrong to me. I *think* it should be awk -f > $S/solenv/gbuild/processdeps.awk. I'm not sure where this is coming > from, though. The platform-specific gbuild makefiles contain this: > $(gb_AWK) -f $(GBUILDDIR)/processdeps.awk > and apr-util sets this: > GBUILDDIR := $(SOLARENV)/gbuild > What is SOLARENV set to in your environment? > > Unfortunately it will be a while before I can spin up my windows VM to > look at this. > > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
On 8 Aug, Jim Jagielski wrote: > It looks like some sort of variable interpolation issue... Note > that it's trying to do: > > - | awk -f C:/cygwin$S/solenv/gbuild/processdeps.awk > > Now with: > > S=$R/main > R=c:/cygwin/home/jim/src/asf/aoo-414 > > you can see how what comes out is: > > - | awk -f C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main > > Now I'm not sure if it's the value of $R which is > wrong or the awk line itself is mangled... nor can I find > where these are defined. Nor can I understand why it's just > affecting me :) The awk line looks wrong to me. I *think* it should be awk -f $S/solenv/gbuild/processdeps.awk. I'm not sure where this is coming from, though. The platform-specific gbuild makefiles contain this: $(gb_AWK) -f $(GBUILDDIR)/processdeps.awk and apr-util sets this: GBUILDDIR := $(SOLARENV)/gbuild What is SOLARENV set to in your environment? Unfortunately it will be a while before I can spin up my windows VM to look at this. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
It looks like some sort of variable interpolation issue... Note that it's trying to do: - | awk -f C:/cygwin$S/solenv/gbuild/processdeps.awk Now with: S=$R/main R=c:/cygwin/home/jim/src/asf/aoo-414 you can see how what comes out is: - | awk -f C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main Now I'm not sure if it's the value of $R which is wrong or the awk line itself is mangled... nor can I find where these are defined. Nor can I understand why it's just affecting me :) - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
I ran into this same error as well when I did an incremental build starting from expat. Cleaning and doing a full build worked. On 8 Aug, Patricia Shanahan wrote: > Regardless of anything else you do, retry the full build, without > cleaning but also without specifying starting from the failure. > > Sometimes the windows builds don't seem to get all the dependency > ordering right. If that is the cause of the failure, repeating the build > can resolve it. For example, my last windows build of 4.1.4 took three > tries. > > > On 8/8/2017 8:16 AM, Jim Jagielski wrote: >> Getting errors when building under Win7: >> >> [ build RES ] apr-util/default >> [ build RES ] >> R=c:/cygwin/home/jim/src/asf/aoo-414 && O=$R/main/solver/414/wntmsci12 && >> W=$R/main/solver/414/wntmsci12/workdir && S=$R/main && >> $O/bin/makedepend.exe -I. -IC:/cygwin$O/inc/stl -IC:/cygwin$O/inc/external >> -IC:/cygwin$O/inc -IC:/cygwin$S/solenv/wntmsci12/inc >> -IC:/cygwin$S/solenv/inc -IC:/cygwin$S/res >> -IC:/AOO41X~1/OPENJD~1.0_U/include/win32 -IC:/AOO41X~1/OPENJD~1.0_U/include >> -IC:/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include >> -IC:/AOO41X~1/dxsdk/include -IC:/AOO41X~1/dxsdk/include -DWINVER=0x0400 >> -DWIN32 -DADDITIONAL_VERINFO1 -DADDITIONAL_VERINFO2 -DADDITIONAL_VERINFO3 >> $W/Dep/WinResTarget/apr-util/default.d -f - | awk -f >> C:/cygwin$S/solenv/gbuild/processdeps.awk -v >> OBJECTFILE=$W/WinResTarget/apr-util/default.res -v OUTDIR=$O/ -v WORKDIR=$W/ >> -v SRCDIR=$S/ -v REPODIR=$R/ > $W/Dep/WinResTarget/apr-util/default.d >> awk: fatal: can't open source file >> `C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main/solenv/gbuild/processdeps.awk' >> for reading (No such file or directory) >> make: *** >> [C:/cygwin/home/jim/src/asf/aoo-414/main/solenv/gbuild/WinResTarget.mk:60: >> /home/jim/src/asf/aoo-414/main/solver/414/wntmsci12/workdir/WinResTarget/apr-util/default.res] >> Error 2 >> dmake: Error code 2, while making './wntmsci12/misc/build/so_built_aprutil' >> >> 1 module(s): >> apr-util >> need(s) to be rebuilt >> >> Reason(s): >> >> ERROR: error 65280 occurred while making >> /home/jim/src/asf/aoo-414/ext_libraries/apr-util >> >> When you have fixed the errors in that module you can resume the build by >> running: >> >> build --from apr-util >> >> awk is gawk as required... The filename >> 'C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main/solenv/gbuild/processdeps.awk' >> look wonky as crud. >> - >> To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org >> For additional commands, e-mail: dev-h...@openoffice.apache.org >> > > - > To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org > For additional commands, e-mail: dev-h...@openoffice.apache.org > - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Windows build woes
Regardless of anything else you do, retry the full build, without cleaning but also without specifying starting from the failure. Sometimes the windows builds don't seem to get all the dependency ordering right. If that is the cause of the failure, repeating the build can resolve it. For example, my last windows build of 4.1.4 took three tries. On 8/8/2017 8:16 AM, Jim Jagielski wrote: Getting errors when building under Win7: [ build RES ] apr-util/default [ build RES ] R=c:/cygwin/home/jim/src/asf/aoo-414 && O=$R/main/solver/414/wntmsci12 && W=$R/main/solver/414/wntmsci12/workdir && S=$R/main && $O/bin/makedepend.exe -I. -IC:/cygwin$O/inc/stl -IC:/cygwin$O/inc/external -IC:/cygwin$O/inc -IC:/cygwin$S/solenv/wntmsci12/inc -IC:/cygwin$S/solenv/inc -IC:/cygwin$S/res -IC:/AOO41X~1/OPENJD~1.0_U/include/win32 -IC:/AOO41X~1/OPENJD~1.0_U/include -IC:/MICROS~1/Windows/v7.0/include -IC:/PROGRA~2/MICROS~1.0/VC/include -IC:/AOO41X~1/dxsdk/include -IC:/AOO41X~1/dxsdk/include -DWINVER=0x0400 -DWIN32 -DADDITIONAL_VERINFO1 -DADDITIONAL_VERINFO2 -DADDITIONAL_VERINFO3 $W/Dep/WinResTarget/apr-util/default.d -f - | awk -f C:/cygwin$S/solenv/gbuild/processdeps.awk -v OBJECTFILE=$W/WinResTarget/apr-util/default.res -v OUTDIR=$O/ -v WORKDIR=$W/ -v SRCDIR=$S/ -v REPODIR=$R/ > $W/Dep/WinResTarget/apr-util/default.d awk: fatal: can't open source file `C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main/solenv/gbuild/processdeps.awk' for reading (No such file or directory) make: *** [C:/cygwin/home/jim/src/asf/aoo-414/main/solenv/gbuild/WinResTarget.mk:60: /home/jim/src/asf/aoo-414/main/solver/414/wntmsci12/workdir/WinResTarget/apr-util/default.res] Error 2 dmake: Error code 2, while making './wntmsci12/misc/build/so_built_aprutil' 1 module(s): apr-util need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /home/jim/src/asf/aoo-414/ext_libraries/apr-util When you have fixed the errors in that module you can resume the build by running: build --from apr-util awk is gawk as required... The filename 'C:/cygwinc:/cygwin/home/jim/src/asf/aoo-414/main/solenv/gbuild/processdeps.awk' look wonky as crud. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org