| Summary: | Install of haskell-platform leaves /usr/lib64/ghc-6.12.3/package.conf.d/ in inconsistent state. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | T Sue-Ako <tsueako> | ||||
| Component: | ghc-rpm-macros | Assignee: | Jens Petersen <petersen> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | rawhide | CC: | bos, haskell-devel, petersen | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-02-06 23:45:31 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Sorry, I think this may be an upstream issue.
The packages with hashes in their filenames are from ghc itself,
the others are from other ghc-* packages - perhaps we /could/
modify ghc-rpm-macros to add the hash to filenames, but since
fedora haskell is not currently supporting parallel install of
libs and it would likely only cause problems and confusion
I am not really sure if that is a good idea.
> 2. This has caused me problems when I try to install hackage packages.
Could you explain what problems you are facing?
I suppose it might be reasonable to include the package version in the .conf filenames, but I would like to understand what you are trying to do/achieve first. Do you have more information to provide? I am going to close this as not a bug, but if you feel there is still a problem then please reopen. |
Created attachment 475720 [details] shell script to replicate problem Description of problem: Installation of haskell-platform leaves /usr/lib64/ghc*/package.conf.d with files named with and without 'uniquifying' identifier. For example: regex-base-0.93.2.conf versus something like: regex-base-0.94.2-c72d4d5b81e8dd0283fdb34fc99ef52f.conf Version-Release number of selected component (if applicable): haskell-platform-2010.2.0.0-1.fc14.i686 and x86_64 How reproducible: everytime Steps to Reproduce: 1. Run attached t as root. (please note that the script file tries to create an initial state by DELETING key files. please look at the script before running it) 2. Run 'ls /usr/lib64/ghc*/package.conf.d' to see the file names generated by the installation. Actual results: ls /usr/lib64/ghc-6.12.3/package.conf.d/ array-0.3.0.1-d386e6865e2443d798e250f58dda005d.conf hpc-0.5.0.5-4bfb362446b35a7de1ce9ffd4c5331b7.conf base-3.0.3.2-33c49b5f57a891ca80151e2f4f33f82c.conf html-1.0.1.2.conf base-4.2.0.2-d09520f27d14dc38c6981fa942393083.conf HTTP-4000.0.9.conf bin-package-db-0.0.0.0-ca130c0b8945e3b2cb58919d45cfb514.conf HUnit-1.2.2.1.conf builtin_ffi.conf integer-gmp-0.2.0.1-67f3940ec8fd509683668f40451c9ca1.conf builtin_rts.conf mtl-1.1.0.2.conf bytestring-0.9.1.7-253db8fad875ae549d30aec0d8553adf.conf network-2.2.1.7.conf Cabal-1.8.0.6-dbb4db1953af703b9acd37177282dcf5.conf old-locale-1.0.0.2-0c1a4b40f2d3b9f6b725f54c00fe0923.conf cgi-3001.1.7.3.conf old-time-1.0.0.5-0817229402cc197a28b131e3c166e70a.conf containers-0.3.0.0-7be04792060ce1514c52e2cb13a5c18a.conf OpenGL-2.2.3.0.conf deepseq-1.1.0.0.conf package.cache directory-1.0.1.1-fcaf1f7664193e0ad39e183ab8696baa.conf parallel-2.2.0.1.conf dph-base-0.4.0-abcb7e4b7c5201a6f34cc65d4109ec71.conf parsec-2.1.0.1.conf dph-par-0.4.0-5a5a24e36763903b0b26f03d8d510a95.conf pretty-1.0.1.1-b6652d4fb1f996119a76dcaa986e9d70.conf dph-prim-interface-0.4.0-9e88ad99b0f092cf6fc514f5c29dc010.conf process-1.0.1.3-b553ffb533a7014d695ce14e638736d9.conf dph-prim-par-0.4.0-43e8d7701c05bd33614681d5e0e1ce86.conf QuickCheck-2.1.1.1.conf dph-prim-seq-0.4.0-553656ddcb3383611806c676f55df092.conf random-1.0.0.2-a4bf29bbfd08ec91d43a4c919e9253f8.conf dph-seq-0.4.0-5ed11291726022ff6bb22049478399e8.conf regex-base-0.93.2.conf extensible-exceptions-0.1.1.1-28a83091e117b2e719d4a1c4a320a1c8.conf regex-compat-0.93.1.conf fgl-5.4.2.3.conf regex-posix-0.94.2.conf filepath-1.1.0.4-1425f312faf5b8e9f4babf887e252326.conf stm-2.1.2.1.conf ghc-6.12.3-fd219f266a803b880138bb68f5b4387b.conf syb-0.1.0.2-de132fee12fc0d855087b9b238b4565a.conf ghc-binary-0.5.0.2-8d8cd2035f71179ca54db87debfd601f.conf template-haskell-2.4.0.1-e9e9c63092746bd4a3f64cc37ddb1e06.conf ghc-prim-0.2.0.0-5da421112969a971aa3433fdf154b37a.conf time-1.1.4-668ce7f110e803952c4ceda6e172096c.conf GLUT-2.1.2.1.conf unix-2.4.0.2-e3baeba2eb8b4920935a68a330c886c6.conf haskell98-1.0.1.1-4d2891ad99eae334ff8234bcfbddce06.conf xhtml-3000.2.0.1.conf haskell-platform-2010.2.0.0.conf zlib-0.5.2.0.conf haskell-src-1.0.1.3.conf Expected results: All file names should be of same form. Additional info: 1. Reproduced on both x686 and x86_64 systems. 2. This has caused me problems when I try to install hackage packages.