Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1189350 > unrolled thread
| Started by | Rafael Laboissière <rafael@debian.org> |
|---|---|
| First post | 2024-03-07 09:30 +0100 |
| Last post | 2024-03-09 17:10 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1065597: racket: Inclusion of mzdyn.o in the binary package Rafael Laboissière <rafael@debian.org> - 2024-03-07 09:30 +0100
Bug#1065597: racket: Inclusion of mzdyn.o in the binary package David Bremner <david@tethera.net> - 2024-03-07 15:00 +0100
Bug#1065597: racket: Inclusion of mzdyn.o in the binary package David Bremner <david@tethera.net> - 2024-03-09 01:30 +0100
Bug#1065597: racket: Inclusion of mzdyn.o in the binary package Rafael Laboissière <rafael@debian.org> - 2024-03-09 17:10 +0100
| From | Rafael Laboissière <rafael@debian.org> |
|---|---|
| Date | 2024-03-07 09:30 +0100 |
| Subject | Bug#1065597: racket: Inclusion of mzdyn.o in the binary package |
| Message-ID | <Ifhix-eZhD-3@gated-at.bofh.it> |
Package: racket
Version: 8.10+dfsg1-2
Severity: wishlist
Dear Maintainer,
We are updating the Debian package for SWIG (a generator of scripting
interfaces to C/C++ code), in order to include support for
MzScheme/Racket.
However, it does not work because the file mzdyn.o is needed and
cannot be found anywhere. Indeed, this file is mentioned in the Racket
documentation.[*]
The SWIG's configure script try to find the path for that file by
running this command:
mzscheme --eval '(begin (require dynext/link) (with-handlers (((lambda args #t) (lambda args #f))) (for-each (lambda (x) (printf "~a" x)) (expand-for-link-variant (current-standard-link-libraries)))))'
which yields:
/usr/lib/racket/mzdyn.o
Subsequently, the activation of the MzScheme support fails because this
path does not exist.
I see that, in the source for the Debian package racket, there is a
file src/bc/dynsrc/mzdyn.c, that could be compiled into mzdyn.o and
installed in /usr/lib/racket/.
Do you think that this would be possible?
Best,
Rafael Laboissière
[*] https://docs.racket-lang.org/inside/Writing_Racket_Extensions.html#(part._.C.G.C_.Extensions)
[toc] | [next] | [standalone]
| From | David Bremner <david@tethera.net> |
|---|---|
| Date | 2024-03-07 15:00 +0100 |
| Message-ID | <IfmrT-f2e2-1@gated-at.bofh.it> |
| In reply to | #1189350 |
Rafael Laboissière <rafael@debian.org> writes: > > However, it does not work because the file mzdyn.o is needed and > cannot be found anywhere. Indeed, this file is mentioned in the Racket > documentation.[*] > My knowledge here is incomplete, and I'd be happy to be corrected, but: I think that documentation relates to the old "bc" backend of racket. For most architectures we are using the new "cs" backend (and will possibly migrate the remaining architectures). So it may not be possible to do the same kind of linking as was done with the old backend.
[toc] | [prev] | [next] | [standalone]
| From | David Bremner <david@tethera.net> |
|---|---|
| Date | 2024-03-09 01:30 +0100 |
| Message-ID | <IfSL7-fmcY-1@gated-at.bofh.it> |
| In reply to | #1189350 |
Rafael Laboissière <rafael@debian.org> writes:
> At any rate, I wonder why the following mzscheme code:
>
> (begin
> (require dynext/link)
> (with-handlers
> (((lambda args #t) (lambda args #f)))
> (for-each (lambda (x) (printf "~a" x))
> (expand-for-link-variant (current-standard-link-libraries)))))
>
I'm not sure what will come of it, but I have reported this issue as
https://github.com/racket/cext-lib/issues/4
I haven't marked this Debian bug as forwarded as I believe they are
different bugs.
[toc] | [prev] | [next] | [standalone]
| From | Rafael Laboissière <rafael@debian.org> |
|---|---|
| Date | 2024-03-09 17:10 +0100 |
| Message-ID | <Ig7qO-fvcz-11@gated-at.bofh.it> |
| In reply to | #1189503 |
* David Bremner <david@tethera.net> [2024-03-08 20:23]: > Rafael Laboissière <rafael@debian.org> writes: > >> At any rate, I wonder why the following mzscheme code: >> >> (begin >> (require dynext/link) >> (with-handlers >> (((lambda args #t) (lambda args #f))) >> (for-each (lambda (x) (printf "~a" x)) >> (expand-for-link-variant (current-standard-link-libraries))))) >> > > I'm not sure what will come of it, but I have reported this issue as > > https://github.com/racket/cext-lib/issues/4 Great, thanks ! I have already added a comment to that issue. > I haven't marked this Debian bug as forwarded as I believe they are > different bugs. Indeed, these are different, although interrelated, bugs. Best, Rafael
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.bugs.dist
csiph-web