Changes between Initial Version and Version 1 of Ticket #1550, comment 1


Ignore:
Timestamp:
10/13/18 12:25:35 (6 years ago)
Author:
felix winkelmann
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1550, comment 1

    initial v1  
    11I'm currently trying to reproduce this problem. Note that the custom build scripts don't work (at least) on my OpenBSD installation (`sh` is `ksh` there), `set -e` seems to abort failing commands in conditionals and so `use-internal-sqlite3` always fails.
    22
    3 Another remark: `chicken-do` never orders dependencies or build steps, it only decides whether a build step is to be done or not. The logic in chicken-install should make sure that if the static variant of an extension is built, then .types and .inline files must already exist, as the dynamic variant must have been built before that. The only case where your scenario comes up could be if the types/inline files are removed, but the dynamic extension is not, which would confuse the egg build and would be an intended breaking of the dependency chain.
     3Another remark: `chicken-do` never orders dependencies or build steps, it only decides whether a build step is to be done or not. The logic in chicken-install should make sure that if the static variant of an extension is built, then .types and .inline files must already exist, as the dynamic variant must have been built before that. The only case where your scenario comes up could be if the types/inline files are removed, but the dynamic extension is not, which would confuse the egg build and would be an intentional breaking of the dependency chain.
    44
    55What we could do would be to add a dependency of the static extension on the dynamic one, but this feels like working around external attempts to subvert the egg build.