Build #1 for PortMidi-0.1.5

[all reports]

Package PortMidi-0.1.5
Install InstallOk
Docs Ok
Tests NotTried
Time submitted 2015-09-21 18:44:40.618001 UTC
Compiler ghc-7.8.3
OS linux
Arch x86_64
Dependencies base-4.7.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Downloading PortMidi-0.1.5...
Configuring PortMidi-0.1.5...
Building PortMidi-0.1.5...
Preprocessing library PortMidi-0.1.5...

Sound/PortMidi.hs:5:16: Warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
[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:
     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:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37:
     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:
     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:
     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:
     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:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37:
     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:
     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:
     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:
     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: 

portmidi/pm_common/pminternal.h:158:14:
     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:
     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:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^

portmidi/pm_linux/pmlinuxalsa.c:35:40:
     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:
     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:
     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:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37:
     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:
     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:
     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:
     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:
     note: in expansion of macro ‘GET_DESCRIPTOR_CLIENT’
         desc->client = GET_DESCRIPTOR_CLIENT(client_port);
                        ^

portmidi/pm_linux/pmlinuxalsa.c:37:37:
     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:
     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:
     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:
     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: 

portmidi/pm_common/pminternal.h:158:14:
     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:
     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:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^

portmidi/pm_linux/pmlinuxalsa.c:35:40:
     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:
     note: in expansion of macro ‘MAKE_DESCRIPTOR’
                                   MAKE_DESCRIPTOR(snd_seq_port_info_get_client(pinfo),
                                   ^
In-place registering PortMidi-0.1.5...
Running Haddock for PortMidi-0.1.5...
Running hscolour for PortMidi-0.1.5...
Preprocessing library PortMidi-0.1.5...
Preprocessing library PortMidi-0.1.5...

Sound/PortMidi.hs:5:16: Warning:
    -fglasgow-exts is deprecated: Use individual extensions instead
Haddock coverage:
   0% (  0 /  3) in 'Sound.PortMidi.DeviceInfo'
   9% (  5 / 54) in 'Sound.PortMidi'
Warning: Sound.PortMidi: could not find link destinations for:
    Sound.PortMidi.PortMidiStream Sound.PortMidi.Timestamp
Documentation created: dist/doc/html/PortMidi/index.html,
dist/doc/html/PortMidi/PortMidi.txt
Creating package registration file: /tmp/pkgConf-PortMidi-0.126366.5
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.8.3/PortMidi-0.1.5
Registering PortMidi-0.1.5...
Installed PortMidi-0.1.5