Skip to content

GLUT should not have been dropped from nightly #7806

@andreasabel

Description

@andreasabel

Build flags seem to be ignored when judging whether a package can stay in nightly.

GLUT was dropped from nightly, because of a bound random < 1.3, but random is only used in some executables (examples) rather than the GLUT library. These examples are only built with flag BuildExamples, which is off by default.

Thus, I think GLUT (and its dependants like gloss) should not have been disabled.

- GLUT < 0 # tried GLUT-2.7.0.16, but its *executable* requires random >=1.0 && < 1.3 and the snapshot contains random-1.3.1
- Vis < 0 # tried Vis-1.0.0, but its *library* requires the disabled package: GLUT
- gloss < 0 # tried gloss-1.13.2.2, but its *library* requires the disabled package: GLUT
- gloss-rendering < 0 # tried gloss-rendering-1.13.2.1, but its *library* requires the disabled package: GLUT

With resolver: nightly-2025-07-23, stack build succeeds for GLUT.

It seems that the dependency checker of Stackage does not take build flags into account, does it?

References:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions