Re: [CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

2019-03-20 Thread Christoph Grüninger
Hi Marc, thank you for having a look. openSuse confirmed it is a bug, cf. https://bugzilla.suse.com/show_bug.cgi?id=1096008 Sorry for the noise. Good to know, that packaging CMake reveal bugs. Bye Christoph Am 20.03.19 um 12:27 schrieb Marc CHEVRIER: > clearly, from what shown on http://paste.op

Re: [CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

2019-03-20 Thread Marc CHEVRIER
clearly, from what shown on http://paste.opensuse.org/14067189, c++ compiler from OpenSuse Leap is buggy. Expected output from readelf for executable tests_1 is « Elf file type is EXEC (Executable file) » which is not the case. Option -no-pie is not taken into account. This explains the failure

Re: [CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

2019-03-20 Thread Christoph Grüninger
Hi Alan, thanks for you answer. Do you know how the open build service works? It sets up a fresh installation for each (openSuse) platform. Then CMake's sources are deflated, configure is called and the package is build, installed, tested and then packaged. So no other CMake version is involved bes

Re: [CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

2019-03-19 Thread Alan W. Irwin
On 2019-03-20 00:01+0100 Christoph Grüninger wrote: Dear CMake, while trying to update the RPMs for openSuse with the Open Build service, I stumbled upon a strange problem. Following the same spec file for all target plattforms, CMake is first built and then the tests are executed. The tests pas

[CMake] PIE-pie_off and CMP0083-cmp0083_new fail for openSuse Leap 15.0

2019-03-19 Thread Christoph Grüninger
Dear CMake, while trying to update the RPMs for openSuse with the Open Build service, I stumbled upon a strange problem. Following the same spec file for all target plattforms, CMake is first built and then the tests are executed. The tests pass for different types of openSuse versions (Factory, Tu