[Bug 1040391] New: FTBFS: `IO' is applied to too many type arguments

bugzilla at redhat.com bugzilla at redhat.com
Wed Dec 11 10:59:36 UTC 2013


https://bugzilla.redhat.com/show_bug.cgi?id=1040391

            Bug ID: 1040391
           Summary: FTBFS: `IO' is applied to too many type arguments
           Product: Fedora
           Version: 20
         Component: ghc-gio
          Severity: high
          Priority: medium
          Assignee: petersen at redhat.com
          Reporter: karsten at redhat.com
        QA Contact: extras-qa at fedoraproject.org
                CC: haskell-devel at lists.fedoraproject.org,
                    petersen at redhat.com



Created attachment 835222
  --> https://bugzilla.redhat.com/attachment.cgi?id=835222&action=edit
build.log

Description of problem:
In file included from /tmp/ghc49306_0/ghc49306_0.hc:3:0: 
/tmp/ghc49306_0/ghc49306_0.hc: In function 'sycd_ret':
/tmp/ghc49306_0/ghc49306_0.hc:681:6:
     warning: conflicting types for built-in function 'memcpy' [enabled by
default]
     ;EF_(memcpy);
          ^
/usr/lib64/ghc-7.6.3/include/Stg.h:216:36:
     note: in definition of macro 'EF_'
     #define EF_(f)    extern StgFunPtr f(void)
                                        ^
[ 7 of 24] Compiling System.GIO.Icons.Icon (
dist/build/System/GIO/Icons/Icon.hs, dist/build/System/GIO/Icons/Icon.o )
In file included from /tmp/ghc49306_0/ghc49306_0.hc:3:0: 
/tmp/ghc49306_0/ghc49306_0.hc: In function 'syFF_ret':
/tmp/ghc49306_0/ghc49306_0.hc:842:6:
     warning: conflicting types for built-in function 'memcpy' [enabled by
default]
     ;EF_(memcpy);
          ^
/usr/lib64/ghc-7.6.3/include/Stg.h:216:36:
     note: in definition of macro 'EF_'
     #define EF_(f)    extern StgFunPtr f(void)
                                        ^
[ 8 of 24] Compiling System.GIO.Icons.FileIcon (
dist/build/System/GIO/Icons/FileIcon.hs, dist/build/System/GIO/Icons/FileIcon.o
)
[ 9 of 24] Compiling System.GIO.Icons.EmblemedIcon (
dist/build/System/GIO/Icons/EmblemedIcon.hs,
dist/build/System/GIO/Icons/EmblemedIcon.o )
[10 of 24] Compiling System.GIO.Icons.Emblem (
dist/build/System/GIO/Icons/Emblem.hs, dist/build/System/GIO/Icons/Emblem.o )
[11 of 24] Compiling System.GIO.File.MountOperation (
dist/build/System/GIO/File/MountOperation.hs,
dist/build/System/GIO/File/MountOperation.o )
[12 of 24] Compiling System.GIO.File.IOError (
dist/build/System/GIO/File/IOError.hs, dist/build/System/GIO/File/IOError.o )
[13 of 24] Compiling System.GIO.File.FileMonitor (
dist/build/System/GIO/File/FileMonitor.hs,
dist/build/System/GIO/File/FileMonitor.o )
[14 of 24] Compiling System.GIO.File.FileInfo (
dist/build/System/GIO/File/FileInfo.hs, dist/build/System/GIO/File/FileInfo.o )
System/GIO/File/FileInfo.chs:269:5:
    `IO' is applied to too many type arguments
    In the type signature for `fileInfoGetAttributeBool':
      fileInfoGetAttributeBool :: FileInfoClass info =>
                                  info -> String -> IO Bool bool
System/GIO/File/FileInfo.chs:278:5:
    `IO' is applied to too many type arguments
    In the type signature for `fileInfoGetAttributeWord32':
      fileInfoGetAttributeWord32 :: FileInfoClass info =>
                                    info -> String -> IO Word32 bool
System/GIO/File/FileInfo.chs:287:5:
    `IO' is applied to too many type arguments
    In the type signature for `fileInfoGetAttributeInt32':
      fileInfoGetAttributeInt32 :: FileInfoClass info =>
                                   info -> String -> IO Int32 bool
System/GIO/File/FileInfo.chs:296:5:
    `IO' is applied to too many type arguments
    In the type signature for `fileInfoGetAttributeWord64':
      fileInfoGetAttributeWord64 :: FileInfoClass info =>
                                    info -> String -> IO Word64 bool
System/GIO/File/FileInfo.chs:305:5:
    `IO' is applied to too many type arguments
    In the type signature for `fileInfoGetAttributeInt64':
      fileInfoGetAttributeInt64 :: FileInfoClass info =>
                                   info -> String -> IO Int64 bool
error: Bad exit status from /var/tmp/rpm-tmp.UfLb5E (%build)
    Bad exit status from /var/tmp/rpm-tmp.UfLb5E (%build)

Version-Release number of selected component (if applicable):
ghc-gio-0.12.4-5.fc20

How reproducible:
always

Steps to Reproduce:
1. ppc-koji build --scratch f20 ghc-gio-0.12.4-5.fc20.src.rpm
2.
3.

Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=1568973

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=WtCrzFwVrc&a=cc_unsubscribe


More information about the haskell-devel mailing list