1. Kirill Simonov
  2. pyyaml
  3. Issues
Issue #32 new

installing PyYAML 3.11 on Debian squeeze

Viktor Szépe
created an issue

Good morning! Could you tell me is it normal? I see all these are notes and warnings but all other pip install-s were quiet.

pip install PyYAML
Downloading/unpacking PyYAML
  Downloading PyYAML-3.11.tar.gz (248Kb): 248Kb downloaded
  Running setup.py egg_info for package PyYAML
Installing collected packages: PyYAML
  Running setup.py install for PyYAML
    checking if libyaml is compilable
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c build/temp.linux-i686-2.6/check_libyaml.c -o build/temp.linux-i686-2.6/check_libyaml.o
    checking if libyaml is linkable
    gcc -pthread build/temp.linux-i686-2.6/check_libyaml.o -lyaml -o build/temp.linux-i686-2.6/check_libyaml
    building '_yaml' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.6 -c ext/_yaml.c -o build/temp.linux-i686-2.6/ext/_yaml.o
    In file included from ext/_yaml.c:343:
    ext/_yaml.h:6:1: warning: "PyUnicode_FromString" redefined
    In file included from /usr/include/python2.6/Python.h:85,
                     from ext/_yaml.c:16:
    /usr/include/python2.6/unicodeobject.h:281:1: warning: this is the location of the previous definition
    ext/_yaml.c: In function __pyx_pf_5_yaml_get_version_string:
    ext/_yaml.c:1346: warning: assignment discards qualifiers from pointer target type
    ext/_yaml.c: In function __pyx_pf_5_yaml_7CParser___init__:
    ext/_yaml.c:2471: warning: passing argument 2 of yaml_parser_set_input from incompatible pointer type
    /usr/include/yaml.h:1367: note: expected int (*)(void *, unsigned char *, size_t,  size_t *) but argument is of type int (*)(void *, char *, int,  int *)
    ext/_yaml.c:2664: warning: pointer targets in passing argument 2 of yaml_parser_set_input_string differ in signedness
    /usr/include/yaml.h:1341: note: expected const unsigned char * but argument is of type char *
    ext/_yaml.c: In function __pyx_f_5_yaml_7CParser__token_to_object:
    ext/_yaml.c:4183: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4183: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4195: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4195: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4741: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4741: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4792: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4792: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4843: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4843: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4855: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4855: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:4938: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c: In function __pyx_f_5_yaml_7CParser__event_to_object:
    ext/_yaml.c:6435: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6435: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6447: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6447: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6616: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6616: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6687: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6687: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6722: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6722: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:6737: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7031: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7031: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7066: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7066: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7253: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7253: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7288: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:7288: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c: In function __pyx_f_5_yaml_7CParser__compose_node:
    ext/_yaml.c:8704: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:8704: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:8924: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:8924: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:8962: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:8962: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:9000: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:9000: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c: In function __pyx_f_5_yaml_7CParser__compose_scalar_node:
    ext/_yaml.c:9532: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:9688: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:9688: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c: In function __pyx_f_5_yaml_7CParser__compose_sequence_node:
    ext/_yaml.c:10128: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:10128: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c: In function __pyx_f_5_yaml_7CParser__compose_mapping_node:
    ext/_yaml.c:10654: warning: pointer targets in passing argument 1 of strlen differ in signedness
    /usr/include/string.h:397: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c:10654: warning: pointer targets in passing argument 1 of PyUnicodeUCS4_DecodeUTF8 differ in signedness
    /usr/include/python2.6/unicodeobject.h:752: note: expected const char * but argument is of type yaml_char_t *
    ext/_yaml.c: In function __pyx_pf_5_yaml_8CEmitter___init__:
    ext/_yaml.c:11721: warning: passing argument 2 of yaml_emitter_set_output from incompatible pointer type
    /usr/include/yaml.h:1829: note: expected int (*)(void *, unsigned char *, size_t) but argument is of type int (*)(void *, char *, int)
    ext/_yaml.c: In function __pyx_f_5_yaml_8CEmitter__object_to_event:
    ext/_yaml.c:12898: warning: pointer targets in assignment differ in signedness
    ext/_yaml.c:12991: warning: pointer targets in assignment differ in signedness
    ext/_yaml.c:13248: warning: pointer targets in passing argument 2 of yaml_alias_event_initialize differ in signedness
    /usr/include/yaml.h:553: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:13824: warning: pointer targets in passing argument 2 of yaml_scalar_event_initialize differ in signedness
    /usr/include/yaml.h:578: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:13824: warning: pointer targets in passing argument 3 of yaml_scalar_event_initialize differ in signedness
    /usr/include/yaml.h:578: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:13824: warning: pointer targets in passing argument 4 of yaml_scalar_event_initialize differ in signedness
    /usr/include/yaml.h:578: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:14166: warning: pointer targets in passing argument 2 of yaml_sequence_start_event_initialize differ in signedness
    /usr/include/yaml.h:601: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:14166: warning: pointer targets in passing argument 3 of yaml_sequence_start_event_initialize differ in signedness
    /usr/include/yaml.h:601: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:14508: warning: pointer targets in passing argument 2 of yaml_mapping_start_event_initialize differ in signedness
    /usr/include/yaml.h:633: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:14508: warning: pointer targets in passing argument 3 of yaml_mapping_start_event_initialize differ in signedness
    /usr/include/yaml.h:633: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c: In function __pyx_pf_5_yaml_8CEmitter_12serialize:
    ext/_yaml.c:15784: warning: pointer targets in assignment differ in signedness
    ext/_yaml.c:15877: warning: pointer targets in assignment differ in signedness
    ext/_yaml.c: In function __pyx_f_5_yaml_8CEmitter__serialize_node:
    ext/_yaml.c:16616: warning: pointer targets in passing argument 2 of yaml_alias_event_initialize differ in signedness
    /usr/include/yaml.h:553: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17195: warning: pointer targets in passing argument 2 of yaml_scalar_event_initialize differ in signedness
    /usr/include/yaml.h:578: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17195: warning: pointer targets in passing argument 3 of yaml_scalar_event_initialize differ in signedness
    /usr/include/yaml.h:578: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17195: warning: pointer targets in passing argument 4 of yaml_scalar_event_initialize differ in signedness
    /usr/include/yaml.h:578: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17473: warning: pointer targets in passing argument 2 of yaml_sequence_start_event_initialize differ in signedness
    /usr/include/yaml.h:601: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17473: warning: pointer targets in passing argument 3 of yaml_sequence_start_event_initialize differ in signedness
    /usr/include/yaml.h:601: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17874: warning: pointer targets in passing argument 2 of yaml_mapping_start_event_initialize differ in signedness
    /usr/include/yaml.h:633: note: expected yaml_char_t * but argument is of type char *
    ext/_yaml.c:17874: warning: pointer targets in passing argument 3 of yaml_mapping_start_event_initialize differ in signedness
    /usr/include/yaml.h:633: note: expected yaml_char_t * but argument is of type char *
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.6/ext/_yaml.o -lyaml -o build/lib.linux-i686-2.6/_yaml.so
Successfully installed PyYAML
Cleaning up...

Comments (1)

  1. Viktor Szépe reporter
    dpkg -l | grep libyaml
    ii  libyaml-0-2                                            0.1.3-1+deb6u4                  Fast YAML 1.1 parser and emitter library
    ii  libyaml-dev                                            0.1.3-1+deb6u4                  Fast YAML 1.1 parser and emitter library (development)
    
  2. Log in to comment