Bug 601640
Summary: | fails to link - dependency missing from register.sh | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ian Collier <imc> |
Component: | ghc-GLUT | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 13 | CC: | bos, haskell-devel, loupgaroublond, petersen |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | ghc-GLUT-2.1.1.2-2.1.fc12 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-06-21 13:04:03 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Also happens in F13 with ghc-6.12.1. Assuming this is GLUT specific then I think this may be an upstream issue would be good to report to the mailing-list/Sven. GLUT-2.2.2.0 seems ok: $ cabal install GLUT-2.2.2.0 $ ghci -package GLUT-2.2.2.0 : Seems it was fixed in GLUT-2.2.1.0. It should be straightforward to patch GLUT.cabal to fix this. ghc-GLUT-2.1.2.1-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/ghc-GLUT-2.1.2.1-3.fc13 ghc-GLUT-2.1.1.2-2.1.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/ghc-GLUT-2.1.1.2-2.1.fc12 ghc-GLUT-2.1.2.1-3.fc13 has been pushed to the Fedora 13 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghc-GLUT'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ghc-GLUT-2.1.2.1-3.fc13 ghc-GLUT-2.1.1.2-2.1.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update ghc-GLUT'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/ghc-GLUT-2.1.1.2-2.1.fc12 ghc-GLUT-2.1.2.1-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report. ghc-GLUT-2.1.1.2-2.1.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |
Description of problem: When GLUT is called from within ghci it fails to link because the dependency on libglut is not mentioned in the package registration. Version-Release number of selected component (if applicable): ghc-GLUT-devel-2.1.1.2-2.fc12.x86_64 How reproducible: 100% Steps to Reproduce: $ ghci > import Graphics.UI.GLUT > getArgsAndInitialize Actual results: Loading package GLUT-2.1.1.2 ... linking ... <interactive>: /usr/lib64/ghc-6.10.4/GLUT-2.1.1.2/HSGLUT-2.1.1.2.o: unknown symbol `glutGet' ghc: unable to load package `GLUT-2.1.1.2' Expected results: Loading package GLUT-2.1.1.2 ... linking ... done. ("<interactive>",[]) Additional info: If the file /usr/lib64/ghc-6.10.3/GLUT-2.1.1.2/register.sh is edited to append "glut" to the line that says "extra-libraries:" and then the package is unregistered and reregistered, the error goes away.