Bug#914742: zeroc-ice ftbfs in unstable with Python 3.7

2018-11-30 Thread Jose Gutierrez de la Concha
That is already fixed upstream in
https://github.com/zeroc-ice/ice/commit/4aea9fc787892842af17d119332a7f6fef2f35c4

I will upload a patch

On Mon, Nov 26, 2018 at 10:15 PM Matthias Klose  wrote:

> Package: src:zeroc-ice
> Version: 3.7.1-5
> Severity: serious
> Tags: sid buster patch
>
> zeroc-ice ftbfs in unstable with Python 3.7
>
> x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<>=.
> -fstack-protector-strong -Wformat -Werror=format-security -MT
> modules/IcePy/build/x86_64-linux-gnu/shared/pic/Proxy.o -MMD -MP -MF
> modules/IcePy/build/x86_64-linux-gnu/shared/pic/Proxy.Td -Wall -Wdeprecated
> -Werror -pthread -DNDEBUG -Imodules/IcePy -I../cpp/include
> -I../cpp/include/generated -I../cpp/src -I/usr/include/python3.7m
> -I/usr/include/python3.7m -Wno-unused-result -Wsign-compare -g
> -fdebug-prefix-map=/build/python3.7-0HyDJv/python3.7-3.7.1=.
> -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector -Wformat
> -Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -fPIC
> -fvisibility=hidden
> -Wdate-time -D_FORTIFY_SOURCE=2 -c modules/IcePy/Proxy.cpp -o
> modules/IcePy/build/x86_64-linux-gnu/shared/pic/Proxy.o
> modules/IcePy/Communicator.cpp: In function ‘PyObject*
> communicatorWaitForShutdown(IcePy::CommunicatorObject*, PyObject*)’:
> modules/IcePy/Communicator.cpp:475:36: error: comparison of integer
> expressions
> of different signedness: ‘long unsigned int’ and ‘long int’
> [-Werror=sign-compare]
>  if(PyThread_get_thread_ident() == _mainThreadId)
> ^~~~
> cc1plus: all warnings being treated as errors
> make[2]: *** [Makefile:41:
> modules/IcePy/build/x86_64-linux-gnu/shared/pic/Communicator.o] Error 1
> make[2]: *** Waiting for unfinished jobs
>
>
> work around patch available at
> https://patches.ubuntu.com/z/zeroc-ice/zeroc-ice_3.7.1-5ubuntu1.patch
>


-- 
José Gutiérrez de la Concha
ZeroC, Inc.


Bug#914742: zeroc-ice ftbfs in unstable with Python 3.7

2018-11-26 Thread Matthias Klose
Package: src:zeroc-ice
Version: 3.7.1-5
Severity: serious
Tags: sid buster patch

zeroc-ice ftbfs in unstable with Python 3.7

x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/<>=.
-fstack-protector-strong -Wformat -Werror=format-security -MT
modules/IcePy/build/x86_64-linux-gnu/shared/pic/Proxy.o -MMD -MP -MF
modules/IcePy/build/x86_64-linux-gnu/shared/pic/Proxy.Td -Wall -Wdeprecated
-Werror -pthread -DNDEBUG -Imodules/IcePy -I../cpp/include
-I../cpp/include/generated -I../cpp/src -I/usr/include/python3.7m
-I/usr/include/python3.7m -Wno-unused-result -Wsign-compare -g
-fdebug-prefix-map=/build/python3.7-0HyDJv/python3.7-3.7.1=.
-specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector -Wformat
-Werror=format-security -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -fvisibility=hidden
-Wdate-time -D_FORTIFY_SOURCE=2 -c modules/IcePy/Proxy.cpp -o
modules/IcePy/build/x86_64-linux-gnu/shared/pic/Proxy.o
modules/IcePy/Communicator.cpp: In function ‘PyObject*
communicatorWaitForShutdown(IcePy::CommunicatorObject*, PyObject*)’:
modules/IcePy/Communicator.cpp:475:36: error: comparison of integer expressions
of different signedness: ‘long unsigned int’ and ‘long int’ 
[-Werror=sign-compare]
 if(PyThread_get_thread_ident() == _mainThreadId)
^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [Makefile:41:
modules/IcePy/build/x86_64-linux-gnu/shared/pic/Communicator.o] Error 1
make[2]: *** Waiting for unfinished jobs


work around patch available at
https://patches.ubuntu.com/z/zeroc-ice/zeroc-ice_3.7.1-5ubuntu1.patch