Bug 1040391 - FTBFS: `IO' is applied to too many type arguments
Summary: FTBFS: `IO' is applied to too many type arguments
Keywords:
Status: CLOSED DUPLICATE of bug 803812
Alias: None
Product: Fedora
Classification: Fedora
Component: ghc-gio
Version: 20
Hardware: powerpc
OS: Linux
medium
high
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 10:59 UTC by Karsten Hopp
Modified: 2014-04-18 09:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-04-18 09:41:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log (8.11 KB, text/plain)
2013-12-11 10:59 UTC, Karsten Hopp
no flags Details
root.log (86.40 KB, text/plain)
2013-12-11 11:00 UTC, Karsten Hopp
no flags Details

Description Karsten Hopp 2013-12-11 10:59:36 UTC
Created attachment 835222 [details]
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

Comment 1 Karsten Hopp 2013-12-11 11:00:01 UTC
Created attachment 835223 [details]
root.log

Comment 2 Jens Petersen 2014-04-18 09:41:41 UTC

*** This bug has been marked as a duplicate of bug 803812 ***


Note You need to log in before you can comment on or make changes to this bug.