Build #1 for PortMidi-0.1.6.1

[all reports]

Package PortMidi-0.1.6.1
Install InstallOk
Docs Ok
Tests NotTried
Time submitted 2016-07-06 16:43:44.483629 UTC
Compiler ghc-8.0.1.20160521
OS linux
Arch x86_64
Dependencies base-4.9.0.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading PortMidi-0.1.6.1...
cabal: Entering directory '/tmp/cabal-tmp-22273/PortMidi-0.1.6.1'
Configuring PortMidi-0.1.6.1...
Building PortMidi-0.1.6.1...
Preprocessing library PortMidi-0.1.6.1...
[1 of 2] Compiling Sound.PortMidi.DeviceInfo ( dist/build/Sound/PortMidi/DeviceInfo.hs, dist/build/Sound/PortMidi/DeviceInfo.o )
[2 of 2] Compiling Sound.PortMidi   ( Sound/PortMidi.hs, dist/build/Sound/PortMidi.o )
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_out_open’:

portmidi/pm_linux/pmlinuxalsa.c:36:40: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_CLIENT(info) ((((int)(info)) >> 8) & 0xff)
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:152:20: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_PORT(info) (((int)(info)) & 0xff)
                                         ^

portmidi/pm_linux/pmlinuxalsa.c:153:18: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_PORT’
         desc->port = GET_DESCRIPTOR_PORT(client_port);
                      ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_write_byte’:

portmidi/pm_linux/pmlinuxalsa.c:213:28: error:
     warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
                                (int) timestamp, (int) now, midi->latency);
                                ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_in_open’:

portmidi/pm_linux/pmlinuxalsa.c:36:40: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_CLIENT(info) ((((int)(info)) >> 8) & 0xff)
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:298:20: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_PORT(info) (((int)(info)) & 0xff)
                                         ^

portmidi/pm_linux/pmlinuxalsa.c:299:18: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_PORT’
         desc->port = GET_DESCRIPTOR_PORT(client_port);
                      ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_write_flush’:

portmidi/pm_linux/pmlinuxalsa.c:441:52: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         VERBOSE printf("snd_seq_drain_output: 0x%x\n", (unsigned int) seq);
                                                        ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘handle_event’:

portmidi/pm_linux/pmlinuxalsa.c:614:9: error:
     warning: passing argument 2 of ‘pm_read_bytes’ discards ‘const’ qualifier from pointer target type [enabled by default]
             pm_read_bytes(midi, ptr, ev->data.ext.len, timestamp);
             ^

In file included from portmidi/pm_linux/pmlinuxalsa.c:13:0: error: 

portmidi/pm_common/pminternal.h:158:14: error:
     note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
     unsigned int pm_read_bytes(PmInternal *midi, unsigned char *data, int len,
                  ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘pm_linuxalsa_init’:

portmidi/pm_linux/pmlinuxalsa.c:35:40: error:
     warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     #define MAKE_DESCRIPTOR(client, port) ((void*)(((client) << 8) | (port)))
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:760:31: error:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^

portmidi/pm_linux/pmlinuxalsa.c:35:40: error:
     warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     #define MAKE_DESCRIPTOR(client, port) ((void*)(((client) << 8) | (port)))
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:770:31: error:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_out_open’:

portmidi/pm_linux/pmlinuxalsa.c:36:40: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_CLIENT(info) ((((int)(info)) >> 8) & 0xff)
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:152:20: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_PORT(info) (((int)(info)) & 0xff)
                                         ^

portmidi/pm_linux/pmlinuxalsa.c:153:18: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_PORT’
         desc->port = GET_DESCRIPTOR_PORT(client_port);
                      ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_write_byte’:

portmidi/pm_linux/pmlinuxalsa.c:213:28: error:
     warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
                                (int) timestamp, (int) now, midi->latency);
                                ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_in_open’:

portmidi/pm_linux/pmlinuxalsa.c:36:40: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_CLIENT(info) ((((int)(info)) >> 8) & 0xff)
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:298:20: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     #define GET_DESCRIPTOR_PORT(info) (((int)(info)) & 0xff)
                                         ^

portmidi/pm_linux/pmlinuxalsa.c:299:18: error:
     note: in expansion of macro ‘GET_DESCRIPTOR_PORT’
         desc->port = GET_DESCRIPTOR_PORT(client_port);
                      ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘alsa_write_flush’:

portmidi/pm_linux/pmlinuxalsa.c:441:52: error:
     warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
         VERBOSE printf("snd_seq_drain_output: 0x%x\n", (unsigned int) seq);
                                                        ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘handle_event’:

portmidi/pm_linux/pmlinuxalsa.c:614:9: error:
     warning: passing argument 2 of ‘pm_read_bytes’ discards ‘const’ qualifier from pointer target type [enabled by default]
             pm_read_bytes(midi, ptr, ev->data.ext.len, timestamp);
             ^

In file included from portmidi/pm_linux/pmlinuxalsa.c:13:0: error: 

portmidi/pm_common/pminternal.h:158:14: error:
     note: expected ‘unsigned char *’ but argument is of type ‘const unsigned char *’
     unsigned int pm_read_bytes(PmInternal *midi, unsigned char *data, int len,
                  ^
portmidi/pm_linux/pmlinuxalsa.c: In function ‘pm_linuxalsa_init’:

portmidi/pm_linux/pmlinuxalsa.c:35:40: error:
     warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     #define MAKE_DESCRIPTOR(client, port) ((void*)(((client) << 8) | (port)))
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:760:31: error:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^

portmidi/pm_linux/pmlinuxalsa.c:35:40: error:
     warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     #define MAKE_DESCRIPTOR(client, port) ((void*)(((client) << 8) | (port)))
                                            ^

portmidi/pm_linux/pmlinuxalsa.c:770:31: error:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^
Running Haddock for PortMidi-0.1.6.1...
Running hscolour for PortMidi-0.1.6.1...
Preprocessing library PortMidi-0.1.6.1...
Preprocessing library PortMidi-0.1.6.1...
Haddock coverage:
   0% (  0 /  3) in 'Sound.PortMidi.DeviceInfo'
  Missing documentation for:
    Module header
    DeviceInfo (Sound/PortMidi/DeviceInfo.hsc:13)
    peekDeviceInfo (Sound/PortMidi/DeviceInfo.hsc:22)
   9% (  5 / 54) in 'Sound.PortMidi'
  Missing documentation for:
    PMError (Sound/PortMidi.hs:74)
    PMStream (Sound/PortMidi.hs:118)
    DeviceInfo (Sound/PortMidi/DeviceInfo.hsc:13)
    DeviceID (Sound/PortMidi.hs:119)
    PMMsg (Sound/PortMidi.hs:148)
    PMEvent (Sound/PortMidi.hs:162)
    filterActive (Sound/PortMidi.hs:124)
    filterSysex (Sound/PortMidi.hs:124)
    filterClock (Sound/PortMidi.hs:124)
    filterPlay (Sound/PortMidi.hs:124)
    filterTick (Sound/PortMidi.hs:124)
    filterFD (Sound/PortMidi.hs:124)
    filterUndefined (Sound/PortMidi.hs:124)
    filterReset (Sound/PortMidi.hs:124)
    filterRealtime (Sound/PortMidi.hs:124)
    filterNote (Sound/PortMidi.hs:124)
    filterChannelAftertouch (Sound/PortMidi.hs:124)
    filterPolyAftertouch (Sound/PortMidi.hs:124)
    filterAftertouch (Sound/PortMidi.hs:124)
    filterProgram (Sound/PortMidi.hs:124)
    filterControl (Sound/PortMidi.hs:124)
    filterPitchBend (Sound/PortMidi.hs:124)
    filterMTC (Sound/PortMidi.hs:124)
    filterSongPosition (Sound/PortMidi.hs:124)
    filterSongSelect (Sound/PortMidi.hs:124)
    filterTune (Sound/PortMidi.hs:124)
    filterSystemCommon (Sound/PortMidi.hs:124)
    initialize (Sound/PortMidi.hs:181)
    terminate (Sound/PortMidi.hs:185)
    hasHostError (Sound/PortMidi.hs:189)
    getErrorText (Sound/PortMidi.hs:193)
    countDevices (Sound/PortMidi.hs:197)
    getDefaultInputDeviceID (Sound/PortMidi.hs:201)
    getDefaultOutputDeviceID (Sound/PortMidi.hs:206)
    getDeviceInfo (Sound/PortMidi.hs:212)
    openInput (Sound/PortMidi.hs:216)
    openOutput (Sound/PortMidi.hs:228)
    setFilter (Sound/PortMidi.hs:240)
    channel (Sound/PortMidi.hs:243)
    setChannelMask (Sound/PortMidi.hs:247)
    abort (Sound/PortMidi.hs:251)
    close (Sound/PortMidi.hs:255)
    readEvents (Sound/PortMidi.hs:259)
    writeEvents (Sound/PortMidi.hs:269)
    writeShort (Sound/PortMidi.hs:274)
    writeSysEx (Sound/PortMidi.hs:279)
    time (Sound/PortMidi.hs:283)
    encodeMsg (Sound/PortMidi.hs:155)
    decodeMsg (Sound/PortMidi.hs:157)
Warning: Sound.PortMidi: could not find link destinations for:
    PortMidiStream Timestamp
Documentation created: dist/doc/html/PortMidi/index.html,
dist/doc/html/PortMidi/PortMidi.txt
Creating package registration file:
/tmp/pkgConf-PortMidi-0.1.61315634022635723058.1
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-8.0.1.20160521/PortMidi-0.1.6.1-444bzBHU8YBVF11Yc7ztS
Registering PortMidi-0.1.6.1...
cabal: Leaving directory '/tmp/cabal-tmp-22273/PortMidi-0.1.6.1'
Installed PortMidi-0.1.6.1