[Fedora-haskell-list] [Bug 547867] New: %{ghc_version} desn't expand properly

bugzilla at redhat.com bugzilla at redhat.com
Tue Dec 15 20:42:21 UTC 2009

Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.

Summary: %{ghc_version} desn't expand properly


           Summary: %{ghc_version} desn't expand properly
           Product: Fedora
           Version: 11
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: medium
          Priority: high
         Component: ghc-rpm-macros
        AssignedTo: loupgaroublond at gmail.com
        ReportedBy: jochen at herr-schmitt.de
         QAContact: extras-qa at fedoraproject.org
                CC: petersen at redhat.com, loupgaroublond at gmail.com,
                    fedora-haskell-list at redhat.com
    Classification: Fedora

I want to tryout ghc-6.12.1 on my system and have installed
ghc-rpm-macros-0.3.0-1 on my system.

Because I have trouble to compile my packages, I have try out the following

$ rpm -q --eval '%{ghc_version}'

and got the following output:

error: Recursion depth(17) greater than max(16)
 15<                               (empty)
 14<                             (empty)
 13<                           (empty)
 12<                         (empty)
 11<                       (empty)
 10<                     (empty)
  9<                   (empty)
  8<                 (empty)
  7<               (empty)
  6<             (empty)
  5<           (empty)
  4<         (empty)
  3<       (empty)
  2<     (empty)
  1<   (empty)
  0< (empty)

If I type 

$ ghc --numeric-version

I will get


which I expected for

$ rpm -q --eval '%{ghc_version}'

Best Regards:

Jochen Schmitt

Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the Fedora-haskell-list mailing list