Summary
Sometimes additional import libraries are exported when using the -j switch
Metadata
- Id: dd70cede1613ddb68c6731a013c4893e88dcfd86
- Trac id: 854
- Type: defect
- Reporter: sjamaan
- Owner: felix
- Cc:
- Status: closed
- Component: compiler
- Estimated difficulty:
- Resolution: fixed
- Priority: minor
- Milestone: 4.9.0
- Version: 4.7.x
- Changetime: 2013-08-04 16:44:14 UTC
- Created: 2012-05-18 20:14:30 UTC
- Keywords:
Description
This can be seen with the prometheus egg.
Just run csc -s -j hermes hermes.scm and you'll see it will have written both hermes.import.scm and _hermes.import.scm; the latter wasn't requested, and this in fact clobbers the custom hand-crafted import file with a generic one, which breaks the egg.
As a workaround, the import libraries are now shipped with the egg instead of emitting them every time the libraries are compiled.
Changes and comments
[2013-08-04 16:44:14 UTC] sjamaan changed status from new to closed
[2013-08-04 16:44:14 UTC] sjamaan set resolution to fixed
[2013-08-04 16:44:14 UTC] sjamaan wrote:
This is so silly: after all this time, it turns out that the bug was just an unexpected behaviour of s48-modules itself: it contained a strange hack to force the compiler to emit import libraries for the _-prefixed modules!
Since the user can request this him- or herself, and is told to do so in the egg's manual, I think removing this behaviour is the best solution. This is done with the change in [[29502]|].