On 12 Oct 2017, at 12:53, Konstanski, Carlos wrote:
All signs point at puri being the culprit. I am absolutely not disagreeing with that. I provided the offending code in the bug report myself. The question is: what to do about it? The project is dead. The home page is gone. Here is what I will do: I'll see if I can get drakma to steer clear of it. They will undoubtedly be interested in not having their fine code dragged down by a dead library.
The only other option is to fix puri. I don't even know how to begin doing that with a dead project. Where did Kevin Rosenberg disappear off to?
2017-10-12 11:45 GMT-06:00 Robert Goldman rpgoldman@sift.info:
Forwarded message:
From: 73budden . budden73@gmail.com To: Robert Goldman rpgoldman@sift.info Cc: Faré fahree@gmail.com, ASDF-devel asdf-devel@common-lisp.net Subject: Re: [E] new compiler error re: SET-DISPATCH-MACRO-CHARACTER Date: Thu, 12 Oct 2017 20:09:44 +0300
Warning about modifying standard readtable is issued by SBCL (at least in my SBCL 1.3.18), please grep for the message in SBCL sources, and it seem to be introduced in 1.0.24. I took a look at puri's definition (maybe old, in my local copy of quicklisp) and it looks like it actually tries to modify standard readtable. But here it does not happen when it is being loaded via my patched asdf 3.1.6 and my own IDE with forked SLIME with many systems pre-loaded. I don't know why and have no time to investigate further. Obviously, my insights would be of limited use because my environment is very different from that of OP.
So we might be able to help you debug this
It'd be very nice to have instructions on how to trace what happens while system is being built:that is, which files are compiled, which are loaded and what is a readtable in the beginning of each load operation.
Running builds in old and new asdf versions and comparing logs it would be relatively easy to figure out what is wrong.
I guess that in OP's setup something had changed readtable before, but this does not happen anymore. And obviously many people would face similar problems.
This tracing tool should help a lot.
I believe this tool should be supplied by asdf team. Even I begin to be more positive towards efforts of ASDF team to clean up all the mess that was in ASDF initially, but obviously society is not quite happy with breaking changes, so some small tool with a good manual would make life easier.
Printing readtable before loading, I think, requires just a line or two. Dumping log of operations might be one (trace) call, so that's trivial for the person who knows how ASDF is organized. Writing a small two-paragraph addition to manual would relief a lot of pain and stress for all.
WBR, Budden
2017-10-12 18:46 GMT+03:00, Robert Goldman rpgoldman@sift.info:
I'm with Faré on this one. I don't see evidence that this change is because ASDF is doing something bad. I believe it's consistent with the hypothesis that there was some imperfectly-controlled aspect of building that is done differently now (e.g., files loaded in a different order where both orders are compatible with the constraints in the system definitions).
This doesn't even look like an ASDF error to me -- it looks like an error that occurred while loading a system that ASDF has re-packaged.
So we might be able to help you debug this, but without more evidence, there's no reason to believe that ASDF has done anything to you: it looks like the change in ASDF just reveals a pre-existing bug.
-- Carlos Konstanski MTS IV Cslt Verizon Cloud Platform carlos.konstanski@verizonwireless.com Cell: 15126218301 Slack: vzw-vsi.slack.com username: @ckonstanski
That may be, but it was unfair to get angry at the ASDF maintainers about this. This is just a pre-existing error that was *manifested* because of a change in ASDF. It's not our fault that this error appeared, it's not our fault that the puri library is no longer maintained, and we can't be expected to avoid releasing improved versions of ASDF because there exists buggy, unmaintained code in Quicklisp.
An apology from you would be appropriate at this point.
On Thu, 2017-10-12 at 13:03 -0500, Robert Goldman wrote:
That may be, but it was unfair to get angry at the ASDF maintainers about this. This is just a pre-existing error that was *manifested* because of a change in ASDF. It's not our fault that this error appeared, it's not our fault that the puri library is no longer maintained, and we can't be expected to avoid releasing improved versions of ASDF because there exists buggy, unmaintained code in Quicklisp.
No it's not your fault, but I think it would be a very sensitive idea to avoid annoying ASDF users, simply for practical reasons, because you'll find yourself with people who fork or refuse to update ASDF.
Something more useful would be to: * introduce the notion of ASDF compilation options, as a set of key- value pairs which control different compilation modes or effects * make the new strictness modes, like preserving the readtable, depend on those toggles, but upon introduction the default should be perfect backwards-compatibility, even if that is something you consider broken * blog about the fancy new way toggle and explain why it's better to use it than not * let the libraries' users nag the developers to change the code to be compatible with the new strictness checks * wait a couple of years (at least) until you see that most of Quicklisp libraries have been ported to the new way of doing things and if that happens maybe consider turning it on by default. In that case, announce it publicly * if adoption didn't happen, keep it disabled happily knowing that you can always turn it on in your company's internal projects.
This is more or less how we do things at work. It has a certain amount of overhead but it gains you good will from the community; on the other hand enabling things by default, and on a short notice, only makes you seem like you're imposing your preference on everybody else just for the sake of it. I think it's better to let things sink in and allow the users of ASDF to come to a consensus, although that's a slow process.
On Thu, Oct 12, 2017 at 6:53 PM, Stelian Ionescu sionescu@cddr.org wrote:
On Thu, 2017-10-12 at 13:03 -0500, Robert Goldman wrote:
That may be, but it was unfair to get angry at the ASDF maintainers about this. This is just a pre-existing error that was *manifested* because of a change in ASDF. It's not our fault that this error appeared, it's not our fault that the puri library is no longer maintained, and we can't be expected to avoid releasing improved versions of ASDF because there exists buggy, unmaintained code in Quicklisp.
No it's not your fault, but I think it would be a very sensitive idea to avoid annoying ASDF users, simply for practical reasons, because you'll find yourself with people who fork or refuse to update ASDF.
Well, in this case, it was a combination of things that are not our fault, and things that are. So my apologies for the things that were my fault.
Something more useful would be to:
- introduce the notion of ASDF compilation options, as a set of key-
value pairs which control different compilation modes or effects
ASDF already kind of has that, as keyword arguments to operate. They was a bit of a cleanup in ASDF 3.3.0 already: the arguments are not passed blindly into non-sensical arguments to the operation class anymore, and are now well-defined. Thus they can now be used the way you propose.
- make the new strictness modes, like preserving the readtable, depend
on those toggles, but upon introduction the default should be perfect backwards-compatibility, even if that is something you consider broken
Agreed. Any new strictness should be added cautiously and slowly, disabled by default or adding only a (style-)warning. In this case, the strictness was added by accident (because the forms that prevented the strictness were victim of a refactoring I botched while adding a different feature, and the strictness was only added in a corner case for which I had no test, but just added one now).
- blog about the fancy new way toggle and explain why it's better to
use it than not
Will do, if I keep hacking on it.
- let the libraries' users nag the developers to change the code to be
compatible with the new strictness checks
Maybe. Historically, the main problem has been unmaintained libraries.
- wait a couple of years (at least) until you see that most of
Quicklisp libraries have been ported to the new way of doing things and if that happens maybe consider turning it on by default. In that case, announce it publicly
Yes, we've typically waited for a year or two before we added any new strictness (e.g. everything is now UTF-8 by default).
- if adoption didn't happen, keep it disabled happily knowing that you
can always turn it on in your company's internal projects.
This has happened in the past, e.g. for properly catching deferred warnings. Most users never bothered to do it, maintainers never bothered to fix their libraries, etc. Maybe with more outreach they would, but I'm kind of burned out with CL right now.
This is more or less how we do things at work. It has a certain amount of overhead but it gains you good will from the community; on the other hand enabling things by default, and on a short notice, only makes you seem like you're imposing your preference on everybody else just for the sake of it. I think it's better to let things sink in and allow the users of ASDF to come to a consensus, although that's a slow process.
I've tried very hard not to do that this time. It was a bug. (Unlike four to five years ago, when I learned the hard way not to push too hard the deferred warning support or the syntax-control branch; the latter just came back and bit me.)
—♯ƒ • François-René ÐVB Rideau •Reflection&Cybernethics• http://fare.tunes.org Amateur bureaucrats are often even worse than professional bureaucrats. — John McCarthy