[Fedora-haskell-list] Using cabal2spec 0.21
Shakthi Kannan
shakthimaan at gmail.com
Fri Jan 15 08:59:27 UTC 2010
Hi,
For ghc-chalmers-lava2000 package, I had to enable rawhide to use
cabal2spec 0.21. When using:
https://bugzilla.redhat.com/show_bug.cgi?id=546376
$ rpmbuild -bc ghc-chalmers-lava2000.spec
I get the following error:
=== ERROR ===
...
[23 of 27] Compiling Lava.Combinational ( Lava/Combinational.hs,
dist/build/Lava/Combinational.dyn_o )
[24 of 27] Compiling Lava ( Lava.hs, dist/build/Lava.dyn_o )
[25 of 27] Compiling Lava.Patterns ( Lava/Patterns.hs,
dist/build/Lava/Patterns.dyn_o )
[26 of 27] Compiling Lava.Arithmetic ( Lava/Arithmetic.hs,
dist/build/Lava/Arithmetic.dyn_o )
[27 of 27] Compiling Lava.SequentialCircuits (
Lava/SequentialCircuits.hs, dist/build/Lava/SequentialCircuits.dyn_o )
/usr/bin/ar: creating dist/build/libHSchalmers-lava2000-1.1.1.a
/usr/bin/ar: creating dist/build/libHSchalmers-lava2000-1.1.1_p.a
/usr/bin/ld: cannot find -lHShaskell98-1.0.1.0-ghc6.10.4
collect2: ld returned 1 exit status
error: Bad exit status from /var/tmp/rpm-tmp.IvPJ8U (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.IvPJ8U (%build)
=== END ===
I have the following installed:
$ rpm -qa | grep ghc
ghc-glib-devel-0.10.1-5.fc12.i686
ghc-gconf-devel-0.10.1-5.fc12.i686
ghc-X11-devel-1.4.5-12.fc12.i686
ghc-prof-6.10.4-2.fc12.i686
ghc-gtk2hs-compat-0.10.1-5.fc12.i686
ghc-doc-6.10.4-2.fc12.i686
ghc-6.10.4-2.fc12.i686
ghc-rpm-macros-0.5.4-1.fc13.noarch
ghc-xmonad-devel-0.8.1-15.fc12.i686
ghc-gtk2hs-common-0.10.1-5.fc12.i686
ghc-soegtk-devel-0.10.1-5.fc12.i686
ghc-gtk-devel-0.10.1-5.fc12.i686
ghc-cairo-devel-0.10.1-5.fc12.i686
ghc-glade-devel-0.10.1-5.fc12.i686
If I try to install the latest ghc, I get the following message:
You could try using --skip-broken to work around the problem
What is required to do a successful build? Appreciate any inputs,
Thanks!
SK
--
Shakthi Kannan
http://www.shakthimaan.com
More information about the haskell-devel
mailing list