Re: MonetDB: Oct2012 - autogen: fix for Python 3
This (or previous?) checkin(s) seem to break compilation with python 2.7.3: Making all in python make[4]: Entering directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make all-am make[5]: Entering directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || cp -p '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/setup.py' 'setup.py' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || mkdir -p '['monetdb']' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || cp -p '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/['monetdb']'/*.py '['monetdb']' cp: cannot stat `/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/[monetdb]/*.py': No such file or directory make[5]: *** [all-local-python_setup] Error 1 make[5]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make[4]: *** [all] Error 2 make[4]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients' make[2]: *** [all] Error 2 make[2]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize' make: *** [all] Error 2 Stefan On Tue, Dec 04, 2012 at 09:08:46PM +0100, Fabian Groffen wrote:
Changeset: d46e57d76fec for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d46e57d76fec Modified Files: buildtools/autogen/autogen.py buildtools/autogen/autogen/am.py buildtools/autogen/autogen/codegen.py buildtools/autogen/autogen/msc.py buildtools/autogen/autogen/var.py Branch: Oct2012 Log Message:
autogen: fix for Python 3
[...] -- | Stefan.Manegold @ CWI.nl | DB Architectures (INS1) | | http://CWI.nl/~manegold/ | Science Park 123 (L321) | | Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) | _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 04-12-2012 21:26:48 +0100, Stefan Manegold wrote:
This (or previous?) checkin(s) seem to break compilation with python 2.7.3:
It also breaks with Python 3, and I'm getting pretty much pissed off, I so HATE python. Anyway, sorry for the bother, I'm going to try and fix it. Testing failed because of another screwup anyway :(
Making all in python make[4]: Entering directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make all-am make[5]: Entering directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || cp -p '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/setup.py' 'setup.py' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || mkdir -p '['monetdb']' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || cp -p '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/['monetdb']'/*.py '['monetdb']' cp: cannot stat `/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/[monetdb]/*.py': No such file or directory make[5]: *** [all-local-python_setup] Error 1 make[5]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make[4]: *** [all] Error 2 make[4]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients' make[2]: *** [all] Error 2 make[2]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize' make: *** [all] Error 2
Stefan
On Tue, Dec 04, 2012 at 09:08:46PM +0100, Fabian Groffen wrote:
Changeset: d46e57d76fec for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d46e57d76fec Modified Files: buildtools/autogen/autogen.py buildtools/autogen/autogen/am.py buildtools/autogen/autogen/codegen.py buildtools/autogen/autogen/msc.py buildtools/autogen/autogen/var.py Branch: Oct2012 Log Message:
autogen: fix for Python 3
[...]
-- | Stefan.Manegold @ CWI.nl | DB Architectures (INS1) | | http://CWI.nl/~manegold/ | Science Park 123 (L321) | | Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) | _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
-- Fabian Groffen fabian@monetdb.org column-store pioneer http://www.monetdb.org/Home _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 2012-12-04 21:30, Fabian Groffen wrote:
On 04-12-2012 21:26:48 +0100, Stefan Manegold wrote:
This (or previous?) checkin(s) seem to break compilation with python 2.7.3:
It also breaks with Python 3, and I'm getting pretty much pissed off, I so HATE python.
Anyway, sorry for the bother, I'm going to try and fix it. Testing failed because of another screwup anyway :(
I fixed it.
Making all in python make[4]: Entering directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make all-am make[5]: Entering directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || cp -p '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/setup.py' 'setup.py' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || mkdir -p '['monetdb']' [ '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python' -ef . ] || cp -p '/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/['monetdb']'/*.py '['monetdb']' cp: cannot stat `/ufs/manegold/_/Monet/HG/Oct2012/source/MonetDB/clients/python/[monetdb]/*.py': No such file or directory make[5]: *** [all-local-python_setup] Error 1 make[5]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make[4]: *** [all] Error 2 make[4]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients/python' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients' make[2]: *** [all] Error 2 make[2]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize/clients' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/net/rome.ins.cwi.nl/export/scratch1/manegold/Monet/HG/Oct2012/builds/--disable-debug_--enable-assert_--enable-optimize' make: *** [all] Error 2
Stefan
On Tue, Dec 04, 2012 at 09:08:46PM +0100, Fabian Groffen wrote:
Changeset: d46e57d76fec for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=d46e57d76fec Modified Files: buildtools/autogen/autogen.py buildtools/autogen/autogen/am.py buildtools/autogen/autogen/codegen.py buildtools/autogen/autogen/msc.py buildtools/autogen/autogen/var.py Branch: Oct2012 Log Message:
autogen: fix for Python 3
[...]
-- | Stefan.Manegold @ CWI.nl | DB Architectures (INS1) | | http://CWI.nl/~manegold/ | Science Park 123 (L321) | | Tel.: +31 (0)20 592-4212 | 1098 XG Amsterdam (NL) | _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
_______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
-- Sjoerd Mullender _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 04-12-2012 21:44:46 +0100, Sjoerd Mullender wrote:
On 2012-12-04 21:30, Fabian Groffen wrote:
On 04-12-2012 21:26:48 +0100, Stefan Manegold wrote:
This (or previous?) checkin(s) seem to break compilation with python 2.7.3:
It also breaks with Python 3, and I'm getting pretty much pissed off, I so HATE python.
Anyway, sorry for the bother, I'm going to try and fix it. Testing failed because of another screwup anyway :(
I fixed it.
thanks I did so too. I found we shouldn't be using posixpath any more according to the docs. posixpath.join returns a list, the apply() thinghy from python2 somehow changed that into a string. Since Python 3 doesn't do apply() any more, we now got a list, resulting in the mess. -- Fabian Groffen fabian@monetdb.org column-store pioneer http://www.monetdb.org/Home _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
On 04-12-2012 21:44:46 +0100, Sjoerd Mullender wrote:
I fixed it.
With your fix, I can now do a completely clean build with Python 3 as main interpreter (vomac). Fabian -- Fabian Groffen fabian@monetdb.org column-store pioneer http://www.monetdb.org/Home _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list
participants (3)
-
Fabian Groffen
-
Sjoerd Mullender
-
Stefan Manegold