Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Stephen Leake wrote: Ludovic Brenta writes: Stephen Leake wrote: So apparently g++ 4.6.2 has problems with exceptions on Mingw. Cygwin is still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this is not surprising. Yes, Debian (unstable) is at 4.6 and even transitioning to 4.7 now. Debian stable is 15 months old and at 4.4. So the release plan for Debian is to have 4.7? Yes but that came as a slight surprise and is causing a stir[1,2]. [1] http://lists.debian.org/debian-release/2012/05/msg00175.html [2] http://lists.debian.org/debian-gcc/2012/05/msg00075.html I guess mtn has been tested with unstable recently, so the C++ exception bug appears to be specific to MinGW. I built monotone 1.0-6 yesterday night with g++-4.7 and libbotan1.10-dev with no problems. All the tests passed. I'll wait 3 days for 1.0-5 to reach testing before I upload, though. -- Ludovic Brenta. ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Richard Levitte writes: > In message <8262c8jk9h@stephe-leake.org> on Mon, 07 May 2012 12:36:10 > +0100, Stephen Leake said: > > stephen_leake> Stephen Leake writes: > stephen_leake> > stephen_leake> > Completely reinstalling mingw, using an older installer that > has g++ > stephen_leake> > 4.5.2, fixed this particular problem (running 'make check' > now). > stephen_leake> > > stephen_leake> > So apparently g++ 4.6.2 has problems with exceptions on > Mingw. Cygwin is > stephen_leake> > still at 4.5.3; I don't think Debian is at 4.6 yet. So > perhaps this is > stephen_leake> > not surprising. > stephen_leake> > stephen_leake> 'make check' now completed. > stephen_leake> > stephen_leake> tester and unit tests all pass. > stephen_leake> > stephen_leake> func tests had one failure; netsync_key_hooks didn't get the > expected > stephen_leake> return value from the server when sent SIGTERM. I think this > is a known > stephen_leake> bug in MinGW, so we should skip that test. > stephen_leake> > stephen_leake> All of the extra tests failed, as on the previous release. The > failure > stephen_leake> is 'attempt to call global 'mtn_setup' (a nil value)', so > there's > stephen_leake> something fundamental wrong in extra test driver. > stephen_leake> > stephen_leake> In sum; as far as Cygwin and MinGW are concerned, nvm.lua-5.2 > can be > stephen_leake> merged to main. > > Wait, you're saying all of "extra" is failing? I definitely don't get > that on my (Linux) box... Right, this failure is specific to MinGW; it has been there since extra was introduced. > I'm also a bit surprised that we consider failures with the "extra" > part ok. The failure appears to be in the test suite itself; it is not invoking mtn properly. No one has had the time to investigate. I don't use any of the tools tested in extra (on any platform), and apparently no one has complained that they don't work on MinGW (either no one else uses them, or they do work). > Other than that, I agree that nvm.lua-5.2 should be merged into nvm. The test failure occurs on nvm as well, so no need to hold the merge on that account. -- -- Stephe ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Ludovic Brenta writes: > Stephen Leake wrote: >> So apparently g++ 4.6.2 has problems with exceptions on Mingw. >> Cygwin is >> still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this >> is >> not surprising. > > Yes, Debian (unstable) is at 4.6 and even transitioning to 4.7 now. > Debian > stable is 15 months old and at 4.4. So the release plan for Debian is to have 4.7? I guess mtn has been tested with unstable recently, so the C++ exception bug appears to be specific to MinGW. -- -- Stephe ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
In message <8262c8jk9h@stephe-leake.org> on Mon, 07 May 2012 12:36:10 +0100, Stephen Leake said: stephen_leake> Stephen Leake writes: stephen_leake> stephen_leake> > Completely reinstalling mingw, using an older installer that has g++ stephen_leake> > 4.5.2, fixed this particular problem (running 'make check' now). stephen_leake> > stephen_leake> > So apparently g++ 4.6.2 has problems with exceptions on Mingw. Cygwin is stephen_leake> > still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this is stephen_leake> > not surprising. stephen_leake> stephen_leake> 'make check' now completed. stephen_leake> stephen_leake> tester and unit tests all pass. stephen_leake> stephen_leake> func tests had one failure; netsync_key_hooks didn't get the expected stephen_leake> return value from the server when sent SIGTERM. I think this is a known stephen_leake> bug in MinGW, so we should skip that test. stephen_leake> stephen_leake> All of the extra tests failed, as on the previous release. The failure stephen_leake> is 'attempt to call global 'mtn_setup' (a nil value)', so there's stephen_leake> something fundamental wrong in extra test driver. stephen_leake> stephen_leake> In sum; as far as Cygwin and MinGW are concerned, nvm.lua-5.2 can be stephen_leake> merged to main. Wait, you're saying all of "extra" is failing? I definitely don't get that on my (Linux) box... I'm also a bit surprised that we consider failures with the "extra" part ok. Other than that, I agree that nvm.lua-5.2 should be merged into nvm. -- Richard Levitte rich...@levitte.org http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
In message <82bom0jm2s@stephe-leake.org> on Mon, 07 May 2012 11:56:59 +0100, Stephen Leake said: stephen_leake> So apparently g++ 4.6.2 has problems with exceptions on Mingw. Cygwin is stephen_leake> still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this is stephen_leake> not surprising. sid (Debian unstable) is at 4.6.3. No issues there. -- Richard Levitte rich...@levitte.org http://richard.levitte.org/ "Life is a tremendous celebration - and I'm invited!" -- from a friend's blog, translated from Swedish ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Stephen Leake writes: > Completely reinstalling mingw, using an older installer that has g++ > 4.5.2, fixed this particular problem (running 'make check' now). > > So apparently g++ 4.6.2 has problems with exceptions on Mingw. Cygwin is > still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this is > not surprising. 'make check' now completed. tester and unit tests all pass. func tests had one failure; netsync_key_hooks didn't get the expected return value from the server when sent SIGTERM. I think this is a known bug in MinGW, so we should skip that test. All of the extra tests failed, as on the previous release. The failure is 'attempt to call global 'mtn_setup' (a nil value)', so there's something fundamental wrong in extra test driver. In sum; as far as Cygwin and MinGW are concerned, nvm.lua-5.2 can be merged to main. -- -- Stephe ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Stephen Leake wrote: So apparently g++ 4.6.2 has problems with exceptions on Mingw. Cygwin is still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this is not surprising. Yes, Debian (unstable) is at 4.6 and even transitioning to 4.7 now. Debian stable is 15 months old and at 4.4. -- Ludovic Brenta. ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Stephen Leake writes: > Stephen Leake writes: > >> Stephen Leake writes: >> >>> I'll also work on updating INSTALL_windows_native.txt to the latest >>> versions, and test on XP. >> >> I'm getting immediate failures from mtn int the nvm.lua-5.2 branch on >> Mingw; something to do with the Lua interface, possibly exception >> handling. >> >> I'm investigating. > > The Lua interface was a red herring; it's C++ exceptions that are not > working. > > To reproduce: > > cd nvm.lua-5.2-build_mingw > ./mtn.exe --no-standard-rcfiles > > Should get a "no command" error, with usage; instead get: > > This application has requested the Runtime to terminate it in an unusual way. > Please contact the application's support team for more information. > > It's dying on monotone.cc:288 > > if (cmd_id.empty()) > throw usage(commands::command_id()); > > This is compiled with mingw g++ 4.6.2; does that have problems? > > I'll see if I can get an older g++ for mingw. Completely reinstalling mingw, using an older installer that has g++ 4.5.2, fixed this particular problem (running 'make check' now). So apparently g++ 4.6.2 has problems with exceptions on Mingw. Cygwin is still at 4.5.3; I don't think Debian is at 4.6 yet. So perhaps this is not surprising. -- -- Stephe ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
Re: [Monotone-devel] nvm.lua-5.2 failing on mingw
Stephen Leake writes: > Stephen Leake writes: > >> I'll also work on updating INSTALL_windows_native.txt to the latest >> versions, and test on XP. > > I'm getting immediate failures from mtn int the nvm.lua-5.2 branch on > Mingw; something to do with the Lua interface, possibly exception > handling. > > I'm investigating. The Lua interface was a red herring; it's C++ exceptions that are not working. To reproduce: cd nvm.lua-5.2-build_mingw ./mtn.exe --no-standard-rcfiles Should get a "no command" error, with usage; instead get: This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. It's dying on monotone.cc:288 if (cmd_id.empty()) throw usage(commands::command_id()); This is compiled with mingw g++ 4.6.2; does that have problems? I'll see if I can get an older g++ for mingw. Anything else I should look at? -- -- Stephe ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel
[Monotone-devel] nvm.lua-5.2 failing on mingw
Stephen Leake writes: > I'll also work on updating INSTALL_windows_native.txt to the latest > versions, and test on XP. I'm getting immediate failures from mtn int the nvm.lua-5.2 branch on Mingw; something to do with the Lua interface, possibly exception handling. I'm investigating. -- -- Stephe ___ Monotone-devel mailing list Monotone-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/monotone-devel