Skip to content

Docker image build error #3

@marcorosa

Description

@marcorosa

docker build --tag python_libstorj . produces the following warnings:

running build_ext
building '_python_libstorj' extension
creating build
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/lib
creating build/temp.linux-x86_64-2.7/lib/ext
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c lib/ext/python_libstorj_wrap.cxx -o build/temp.linux-x86_64-2.7/lib/ext/python_libstorj_wrap.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c lib/ext/python_libstorj.cpp -o build/temp.linux-x86_64-2.7/lib/ext/python_libstorj.o
cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++
lib/ext/python_libstorj.cpp: In function 'void get_info_cb(uv_work_t*, int)':
lib/ext/python_libstorj.cpp:31:55: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     PyObject_CallFunction(_handle, "ss", error, result);
                                                       ^
lib/ext/python_libstorj.cpp: In function 'void delete_bucket_cb(uv_work_t*, int)':
lib/ext/python_libstorj.cpp:62:50: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
     PyObject_CallFunction(_handle, "s", error_str);
                                                  ^
lib/ext/python_libstorj.cpp: In instantiation of 'bool error_and_status_check(ReqType*, char**) [with ReqType = json_request_t]':
lib/ext/python_libstorj.cpp:27:59:   required from here
lib/ext/python_libstorj.cpp:9:11: warning: unused variable '_error' [-Wunused-variable]
     char *_error = NULL;
           ^
lib/ext/python_libstorj.cpp: In instantiation of 'bool error_and_status_check(ReqType*, char**) [with ReqType = create_bucket_request_t]':
lib/ext/python_libstorj.cpp:41:72:   required from here
lib/ext/python_libstorj.cpp:9:11: warning: unused variable '_error' [-Wunused-variable]
lib/ext/python_libstorj.cpp: In instantiation of 'bool error_and_status_check(ReqType*, char**) [with ReqType = get_buckets_request_t]':
lib/ext/python_libstorj.cpp:72:70:   required from here
lib/ext/python_libstorj.cpp:9:11: warning: unused variable '_error' [-Wunused-variable]
lib/ext/python_libstorj.cpp: In instantiation of 'bool error_and_status_check(ReqType*, char**) [with ReqType = list_files_request_t]':
lib/ext/python_libstorj.cpp:100:69:   required from here
lib/ext/python_libstorj.cpp:9:11: warning: unused variable '_error' [-Wunused-variable]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions