From marijnh at gmail.com Tue Aug 2 11:09:24 2011 From: marijnh at gmail.com (Marijn Haverbeke) Date: Tue, 2 Aug 2011 13:09:24 +0200 Subject: [postmodern-devel] loading trivial-utf-8 In-Reply-To: <4E2D90D5.3070806@jensteich.de> References: <4E2D525A.2050809@jensteich.de> <4E2D90D5.3070806@jensteich.de> Message-ID: > What do you think of removing these two files? Since Quicklisp it is much > easier to load libraries. That would also be an option, but I think I prefer the cruder approach of just using a different name for now. Quicklisp probably made things better, but the proliferation of tiny packages is still something I'd rather avoid. You apparently have another system using trivial-utf-8, but I think that on the whole there are very few people using that. From lisp.linux at gmail.com Thu Aug 4 09:22:31 2011 From: lisp.linux at gmail.com (Antony) Date: Thu, 04 Aug 2011 02:22:31 -0700 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading Message-ID: <4E3A64D7.6050208@gmail.com> Hi I am beginning to use cl-postgress part of postmodern It is working well, Thank you. I have an issue that would be nice to fix. When I do (asdf:oos 'asdf:load-op :cl-postgres) I see couple of warnings like ;Compiler warnings for "/media/sf_git/thirdparty/postmodern/simple-date/cl-postgres-glue.lisp" : ; In an anonymous lambda form at position 857: Duplicate definitions of (:METHOD CL-POSTGRES:TO-SQL-STRING (DATE)), in this file and in "/media/sf_git/thirdparty/postmodern/simple-date/cl-postgres-glue.lisp" I think they are due to in file cl-postgress.asd at the end you have (asdf:oos 'asdf:load-op :simple-date-postgres-glue) and again in simple-date.asd you have the same line (asdf:oos 'asdf:load-op :simple-date-postgres-glue) Can this be fixed. I am using CCL Clozure Common Lisp Version 1.7-dev-r14812M-trunk (LinuxX8664)! My ASDF is a bit old (2.011.9), asdf is one hting I don't like upgrading, causes me a lot of pain. -Antony From marijnh at gmail.com Fri Aug 12 14:40:49 2011 From: marijnh at gmail.com (Marijn Haverbeke) Date: Fri, 12 Aug 2011 16:40:49 +0200 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading In-Reply-To: <4E3A64D7.6050208@gmail.com> References: <4E3A64D7.6050208@gmail.com> Message-ID: I've pushed a patch. Apparently ASDF2's operation-done-p claims that a package has been loaded, even when it hasn't. This was causing the glue to be loaded after both systems, rather than after the one that got loaded last. I've committed a patch that makes the check a bit more crude, checking directly for packages and symbols, rather than for ASDF operations, but this seems to work. From stassats at gmail.com Sat Aug 13 04:04:12 2011 From: stassats at gmail.com (Stas Boukarev) Date: Sat, 13 Aug 2011 08:04:12 +0400 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading In-Reply-To: (Marijn Haverbeke's message of "Fri, 12 Aug 2011 16:40:49 +0200") References: <4E3A64D7.6050208@gmail.com> Message-ID: <87wreiufcz.fsf@gmail.com> Marijn Haverbeke writes: > I've pushed a patch. Apparently ASDF2's operation-done-p claims that a > package has been loaded, even when it hasn't. This was causing the > glue to be loaded after both systems, rather than after the one that > got loaded last. I've committed a patch that makes the check a bit > more crude, checking directly for packages and symbols, rather than > for ASDF operations, but this seems to work. > I don't understand how is simple-date supposed to be loaded now. Just loading postmodern doesn't seem to be sufficient anymore. Should it be loaded explicitly? -- With best regards, Stas. From lisp.linux at gmail.com Sat Aug 13 07:09:08 2011 From: lisp.linux at gmail.com (Antony) Date: Sat, 13 Aug 2011 00:09:08 -0700 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading In-Reply-To: References: <4E3A64D7.6050208@gmail.com> Message-ID: <4E462314.1090702@gmail.com> On 8/12/2011 7:40 AM, Marijn Haverbeke wrote: > I've pushed a patch. Apparently ASDF2's operation-done-p claims that a > package has been loaded, even when it hasn't. This was causing the > glue to be loaded after both systems, rather than after the one that > got loaded last. I've committed a patch that makes the check a bit > more crude, checking directly for packages and symbols, rather than > for ASDF operations, but this seems to work. > Works for me (I am using only cl-postgres). Warnings are gone. Thank you -Antony From marijnh at gmail.com Sat Aug 13 08:31:43 2011 From: marijnh at gmail.com (Marijn Haverbeke) Date: Sat, 13 Aug 2011 10:31:43 +0200 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading In-Reply-To: <87wreiufcz.fsf@gmail.com> References: <4E3A64D7.6050208@gmail.com> <87wreiufcz.fsf@gmail.com> Message-ID: > I don't understand how is simple-date supposed to be loaded now. Just > loading postmodern doesn't seem to be sufficient anymore. Should it be > loaded explicitly? Yes. (And it has been like this for a long time.) From stassats at gmail.com Sat Aug 13 12:34:18 2011 From: stassats at gmail.com (Stas Boukarev) Date: Sat, 13 Aug 2011 16:34:18 +0400 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading In-Reply-To: (Marijn Haverbeke's message of "Sat, 13 Aug 2011 10:31:43 +0200") References: <4E3A64D7.6050208@gmail.com> <87wreiufcz.fsf@gmail.com> Message-ID: <87sjp5v6b9.fsf@gmail.com> Marijn Haverbeke writes: >> I don't understand how is simple-date supposed to be loaded now. Just >> loading postmodern doesn't seem to be sufficient anymore. Should it be >> loaded explicitly? > > Yes. (And it has been like this for a long time.) It was intended like this? Because before dfb9da112410ccc60d92d7bc8ce0c1efb41b6e9e loading postmodern loaded simple-date too. Anyway, I'm happy with either way, as long as it's deterministic. -- With best regards, Stas. From marijnh at gmail.com Sat Aug 13 13:24:26 2011 From: marijnh at gmail.com (Marijn Haverbeke) Date: Sat, 13 Aug 2011 15:24:26 +0200 Subject: [postmodern-devel] cl-postgress build warning due to multiple loading In-Reply-To: <87sjp5v6b9.fsf@gmail.com> References: <4E3A64D7.6050208@gmail.com> <87wreiufcz.fsf@gmail.com> <87sjp5v6b9.fsf@gmail.com> Message-ID: > It was intended like this? Yes. This way you can also choose to use local-time for date/time representation, or not load a date/time data structure at all if you don't need it.