[jira] [Commented] (PROTON-1982) Proton C build fails on debian:stretch

2018-12-11 Thread Alan Conway (JIRA)


[ 
https://issues.apache.org/jira/browse/PROTON-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718318#comment-16718318
 ] 

Alan Conway commented on PROTON-1982:
-

I get identical symptoms "cannot determine linkage" if I build on a system with 
no C++ compiler. The above commit skips C tests that need a C\+\+ compiler if 
there isn't one, if it fixes the debian problem, please resolve this JIRA.

> Proton C build fails on debian:stretch
> --
>
> Key: PROTON-1982
> URL: https://issues.apache.org/jira/browse/PROTON-1982
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.27.0
>Reporter: Cliff Jansen
>Priority: Major
>
> Using master, CMake fails with:
>  
>  CMake Error: CMake can not determine linker language for target: c-core-test
>  CMake Error: Cannot determine link language for target "c-core-test".
>  CMake Error: CMake can not determine linker language for target: c-extra-test
>  CMake Error: Cannot determine link language for target "c-extra-test".
>  CMake Error: CMake can not determine linker language for target: 
> c-proactor-test
>  CMake Error: Cannot determine link language for target "c-proactor-test".
>  
> run command:
>  
>  cmake -DBUILD_GO=ON -DBUILD_CPP=OFF -DBUILD_PYTHON=OFF 
> -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
>  
> also fails with same error messages with simplfied args
>  
>  cmake -DBUILD_GO=ON  -DCMAKE_BUILD_TYPE=Release ..
>  
> This appears to be platform specific
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1982) Proton C build fails on debian:stretch

2018-12-11 Thread ASF subversion and git services (JIRA)


[ 
https://issues.apache.org/jira/browse/PROTON-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16718316#comment-16718316
 ] 

ASF subversion and git services commented on PROTON-1982:
-

Commit 3fba028e9c1496c8a9567e5f0db29e9bf1499404 in qpid-proton's branch 
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=3fba028 ]

PROTON-1982: C tests written in C++ fail to build if no C++ compiler

Some C library tests are now written in C++, they need to be skipped on 
platforms
with no C++ compiler rather than failing the build.


> Proton C build fails on debian:stretch
> --
>
> Key: PROTON-1982
> URL: https://issues.apache.org/jira/browse/PROTON-1982
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.27.0
>Reporter: Cliff Jansen
>Priority: Major
>
> Using master, CMake fails with:
>  
>  CMake Error: CMake can not determine linker language for target: c-core-test
>  CMake Error: Cannot determine link language for target "c-core-test".
>  CMake Error: CMake can not determine linker language for target: c-extra-test
>  CMake Error: Cannot determine link language for target "c-extra-test".
>  CMake Error: CMake can not determine linker language for target: 
> c-proactor-test
>  CMake Error: Cannot determine link language for target "c-proactor-test".
>  
> run command:
>  
>  cmake -DBUILD_GO=ON -DBUILD_CPP=OFF -DBUILD_PYTHON=OFF 
> -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
>  
> also fails with same error messages with simplfied args
>  
>  cmake -DBUILD_GO=ON  -DCMAKE_BUILD_TYPE=Release ..
>  
> This appears to be platform specific
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1982) Proton C build fails on debian:stretch

2018-12-11 Thread Cliff Jansen (JIRA)


[ 
https://issues.apache.org/jira/browse/PROTON-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717563#comment-16717563
 ] 

Cliff Jansen commented on PROTON-1982:
--

For me, the builds work up to f53c768 and fail after 0bdba37 - PROTON-1887: [c] 
Convert C tests to use Catch2 harness.

0bdba37 appears to rework CMake config files but I don't see anything that 
would necessitate new dependencies.

  https://github.com/cliffjansen/amqpsource/blob/master/Dockerfile

is the Dockerfile I am using.  Using that with the lines removed after the 
actual cmake command should be a reproducer on amd64 and the "git checkout" 
line altered to 0bdba37 or HEAD on master.

> Proton C build fails on debian:stretch
> --
>
> Key: PROTON-1982
> URL: https://issues.apache.org/jira/browse/PROTON-1982
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.27.0
>Reporter: Cliff Jansen
>Priority: Major
>
> Using master, CMake fails with:
>  
>  CMake Error: CMake can not determine linker language for target: c-core-test
>  CMake Error: Cannot determine link language for target "c-core-test".
>  CMake Error: CMake can not determine linker language for target: c-extra-test
>  CMake Error: Cannot determine link language for target "c-extra-test".
>  CMake Error: CMake can not determine linker language for target: 
> c-proactor-test
>  CMake Error: Cannot determine link language for target "c-proactor-test".
>  
> run command:
>  
>  cmake -DBUILD_GO=ON -DBUILD_CPP=OFF -DBUILD_PYTHON=OFF 
> -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
>  
> also fails with same error messages with simplfied args
>  
>  cmake -DBUILD_GO=ON  -DCMAKE_BUILD_TYPE=Release ..
>  
> This appears to be platform specific
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (PROTON-1982) Proton C build fails on debian:stretch

2018-12-10 Thread Andrew Stitcher (JIRA)


[ 
https://issues.apache.org/jira/browse/PROTON-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16716229#comment-16716229
 ] 

Andrew Stitcher commented on PROTON-1982:
-

I'm not seeing any problems building with Debian stretch on a Raspberry Pi 
(although I'm not trying to build the go bindings). Perhaps you don't have all 
the necessary cmake/ctest packages installed.

> Proton C build fails on debian:stretch
> --
>
> Key: PROTON-1982
> URL: https://issues.apache.org/jira/browse/PROTON-1982
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: proton-c
>Affects Versions: proton-c-0.27.0
>Reporter: Cliff Jansen
>Priority: Major
>
> Using master, CMake fails with:
>  
>  CMake Error: CMake can not determine linker language for target: c-core-test
>  CMake Error: Cannot determine link language for target "c-core-test".
>  CMake Error: CMake can not determine linker language for target: c-extra-test
>  CMake Error: Cannot determine link language for target "c-extra-test".
>  CMake Error: CMake can not determine linker language for target: 
> c-proactor-test
>  CMake Error: Cannot determine link language for target "c-proactor-test".
>  
> run command:
>  
>  cmake -DBUILD_GO=ON -DBUILD_CPP=OFF -DBUILD_PYTHON=OFF 
> -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release
>  
> also fails with same error messages with simplfied args
>  
>  cmake -DBUILD_GO=ON  -DCMAKE_BUILD_TYPE=Release ..
>  
> This appears to be platform specific
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org