Re: A thing I should know myself....

2018-06-22 Thread Robert Goldman

Not sure why that took 8 days to post...

On 14 Jun 2018, at 12:50, Robert Goldman wrote:

I have a library that provides `DEF-UNIMPLEMENTED` as a macro for 
defining stub functions.  When you compile a file with unimplemented 
functions, you get a warning of the type `FOO:UNIMPLEMENTED-STUB` in 
my library `FOO`.


I'd like to put in an asdf system definition a file spec something 
like this:


```
(:file "file-with-stubs"
  :method (:around (o c) 
(handler-bind 
((foo:unimplemented-stub

  #'(lambda (c)
  (print c)
  (muffle-warning c))
(call-next-method)))
```
but, of course, the package `foo` doesn't exist when this is read 
(although I could put `(asdf:load-system "foo")` upstream of the 
enclosing defsystem).


This isn't a case that's nicely consistent with Faré's hack for 
translating strings or keyword symbols, nor does it seem easy to use 
`find-symbol` for this purpose.


Thoughts?

thanks,
r


gentoo package broken

2018-06-22 Thread Konstanski, Carlos
The gentoo packaging for the new ASDF version is broken.

!!! Fetched file: asdf-3.3.2.2.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:  484988
!!! Expected: 487861

-- 
Carlos Konstanski


Re: gentoo package broken

2018-06-22 Thread Robert Goldman

On 22 Jun 2018, at 12:52, Konstanski, Carlos wrote:


The gentoo packaging for the new ASDF version is broken.

!!! Fetched file: asdf-3.3.2.2.tar.gz VERIFY FAILED!
!!! Reason: Filesize does not match recorded size
!!! Got:  484988
!!! Expected: 487861

--
Carlos Konstanski


I am afraid that I have no idea who packages ASDF for Gentoo, nor how it 
is done.  You should probably find the packager through the metadata on 
the package and ask them what has gone wrong.


I wonder if they just grabbed the very latest (3.3.2.2, which note is 
**not** a release: the release is 3.3.2), without updating the 
checksum...


Sorry I can't be of more assistance.

Best,
r


A thing I should know myself....

2018-06-22 Thread Robert Goldman
I have a library that provides `DEF-UNIMPLEMENTED` as a macro for 
defining stub functions.  When you compile a file with unimplemented 
functions, you get a warning of the type `FOO:UNIMPLEMENTED-STUB` in my 
library `FOO`.


I'd like to put in an asdf system definition a file spec something like 
this:


```
(:file "file-with-stubs"
  :method (:around (o c) 
(handler-bind 
((foo:unimplemented-stub

  #'(lambda (c)
  (print c)
  (muffle-warning c))
(call-next-method)))
```
but, of course, the package `foo` doesn't exist when this is read 
(although I could put `(asdf:load-system "foo")` upstream of the 
enclosing defsystem).


This isn't a case that's nicely consistent with Faré's hack for 
translating strings or keyword symbols, nor does it seem easy to use 
`find-symbol` for this purpose.


Thoughts?

thanks,
r