Hi,
I am trying to package chalmers-lava2000, and was asked to use the
latest cabal2spec from rawhide. So, used the following on a F12
system:
$ sudo yum --enablerepo=rawhide install ghc* ghc-ghc*
I have the following installed on the system:
=== OUTPUT ===
$ rpm -qa | grep ghc
ghc-prof-6.12.1-5.fc13.i686
ghc-ghc-devel-6.12.1-5.fc13.i686
ghc-6.12.1-5.fc13.i686
ghc-rpm-macros-0.5.5-1.fc13.noarch
ghc-ghc-doc-6.12.1-5.fc13.i686
ghc-doc-6.12.1-5.fc13.i686
ghc-ghc-prof-6.12.1-5.fc13.i686
ghc-ghc-paths-0.1.0.6-1.fc13.i686
ghc-ghc-paths-doc-0.1.0.6-1.fc13.i686
ghc-libs-6.12.1-5.fc13.i686
ghc-ghc-6.12.1-5.fc13.i686
ghc-ghc-paths-prof-0.1.0.6-1.fc13.i686
ghc-ghc-paths-devel-0.1.0.6-1.fc13.i686
=== END ===
After updating LICENSE, ChangeLog, patches in the .spec file, when I
try to build using:
$ rpmbuild-md5 -bc ghc-chalmers-lava2000.spec
the build fails at:
/usr/bin/ld: cannot find -lHShaskell98-1.0.1.0-ghc6.10.3
collect2: ld returned 1 exit status
I believe ghc-haskell-platform provides haskell98? I tried to install it using:
$ sudo yum --enablerepo=rawhide install ghc-haskell-platform
and it exits with broken dependencies:
=== ERROR ===
Error: Missing Dependency: ghc = 6.10.4 is needed by package
ghc-cgi-devel-3001.1.7.1-2.fc12.i686 (fedora)
Error: Missing Dependency: ghc-network = 2.2.1.5 is needed by package
ghc-haskell-platform-2009.3.1.20100115-0.2.fc13.i686 (rawhide)
Error: Missing Dependency: ghc-QuickCheck = 2.1.0.2 is needed by
package ghc-haskell-platform-2009.3.1.20100115-0.2.fc13.i686 (rawhide)
Error: Missing Dependency: ghc-HTTP = 4000.0.8 is needed by package
ghc-haskell-platform-2009.3.1.20100115-0.2.fc13.i686 (rawhide)
=== END ===
How can I resolve this? The current ghc-chalmers-lava2000.spec file is
available at:
http://shakthimaan.fedorapeople.org/SPECS/ghc-chalmers-lava2000.spec
Package review is at:
https://bugzilla.redhat.com/show_bug.cgi?id=546376
Appreciate any help in this regard,
Thanks!
SK
--
Shakthi Kannan
http://www.shakthimaan.com