Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
Bug ID: 923552 Summary: 'cabal-rpm spec' fails on some Hackage packages, claiming 'getDirectoryContents: does not exist' Product: Fedora Version: 18 Component: cabal-rpm Severity: unspecified Priority: unspecified Assignee: petersen@redhat.com Reporter: michel+fdr@sylvestre.me QA Contact: extras-qa@fedoraproject.org CC: haskell-devel@lists.fedoraproject.org, petersen@redhat.com
Description of problem: I'm batch-generating spec files for the yesod-platform components that do not exist in our package database yet (using yum-builddep on the cabal-rpm-generated spec for yesod-platform itself), and it fails on the following three packages:
cipher-rc4 pureMD5 word8
All three of which have valid-looking pages on Hackage.
Version-Release number of selected component (if applicable): cabal-rpm-0.7.0-1.fc18.x86_64
How reproducible: Always
Steps to Reproduce: 1. cabal-rpm spec cipher-rc4 2. cabal-rpm spec pureMD5 3. cabal-rpm spec word8
Actual results: cabal-rpm: cipher-rc4: getDirectoryContents: does not exist (No such file or directory) cabal-rpm: pureMD5: getDirectoryContents: does not exist (No such file or directory) cabal-rpm: word8: getDirectoryContents: does not exist (No such file or directory)
Expected results: cabal-rpm should generate spec files for each
Additional info:
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
Michel Alexandre Salim michel+fdr@sylvestre.me changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |923543
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
Jens Petersen petersen@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
--- Comment #1 from Jens Petersen petersen@redhat.com --- Thank you for reporting this. Seems to be the number/digit in the package name. I must be making some naughty assumption...
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
--- Comment #2 from Jens Petersen petersen@redhat.com --- I will fix this shortly in the next release: cabal-rpm-0.7.1
In the meantime a workaround is:
$ cabal unpack cipher-rc4 $ cblrpm spec cipher-rc4-*
etc
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |MODIFIED
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
--- Comment #3 from Fedora Update System updates@fedoraproject.org --- cabal-rpm-0.7.1-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/cabal-rpm-0.7.1-1.fc17
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- cabal-rpm-0.7.1-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/cabal-rpm-0.7.1-1.fc18
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- Package cabal-rpm-0.7.1-1.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing cabal-rpm-0.7.1-1.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-4253/cabal-rpm-0.7.1-1.f... then log in and leave karma (feedback).
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ON_QA |CLOSED Resolution|--- |ERRATA Last Closed| |2013-04-04 20:02:28
Product: Fedora https://bugzilla.redhat.com/show_bug.cgi?id=923552
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- cabal-rpm-0.7.1-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
haskell-devel@lists.fedoraproject.org