[jira] [Updated] (PROTON-2365) Build failure without C++

2021-04-01 Thread Fabrice Fontaine (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabrice Fontaine updated PROTON-2365:
-
Description: 
For an unknown reason, the following build failure is raised when the toolchain 
does not have a working C++ compiler (with cmake 3.18.4):
{code:java}
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:73 (enable_language):
 The CMAKE_CXX_COMPILER:
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-linux-g++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
 variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
 to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
{code}
I don't understand why this build failure is raised because 
enable_language(CXX) is correctly protected by
{code:java}
check_language (CXX)
if (CMAKE_CXX_COMPILER){code}
Perhaps, there is a bug inside cmake, to fix it, check for BUILD_CPP

  was:
For an unknown reason, the following build failure is raised when the toolchain 
does not have a working C++ compiler (with cmake 3.18.4):

 
{code:java}
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:73 (enable_language):
 The CMAKE_CXX_COMPILER:
/home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-linux-g++
is not a full path to an existing compiler tool.
Tell CMake where to find the compiler by setting either the environment
 variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
 to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!
{code}
I don't understand why this build failure is raised because 
enable_language(CXX) is correctly protected by
{code:java}
check_language (CXX)
if (CMAKE_CXX_COMPILER){code}
Perhaps, there is a bug inside cmake, to fix it, check for BUILD_CPP


> Build failure without C++
> -
>
> Key: PROTON-2365
> URL: https://issues.apache.org/jira/browse/PROTON-2365
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: build
>Affects Versions: proton-c-0.33.0
>Reporter: Fabrice Fontaine
>Priority: Major
> Attachments: 0003-CMakeLists.txt-fix-build-without-C.patch
>
>
> For an unknown reason, the following build failure is raised when the 
> toolchain does not have a working C++ compiler (with cmake 3.18.4):
> {code:java}
> -- The CXX compiler identification is unknown
> CMake Error at CMakeLists.txt:73 (enable_language):
>  The CMAKE_CXX_COMPILER:
> /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-linux-g++
> is not a full path to an existing compiler tool.
> Tell CMake where to find the compiler by setting either the environment
>  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
>  to the compiler, or to the compiler name if it is in the PATH.
> -- Configuring incomplete, errors occurred!
> {code}
> I don't understand why this build failure is raised because 
> enable_language(CXX) is correctly protected by
> {code:java}
> check_language (CXX)
> if (CMAKE_CXX_COMPILER){code}
> Perhaps, there is a bug inside cmake, to fix it, check for BUILD_CPP



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PROTON-2365) Build failure without C++

2021-04-01 Thread Fabrice Fontaine (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabrice Fontaine updated PROTON-2365:
-
Attachment: 0003-CMakeLists.txt-fix-build-without-C.patch

> Build failure without C++
> -
>
> Key: PROTON-2365
> URL: https://issues.apache.org/jira/browse/PROTON-2365
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: build
>Affects Versions: proton-c-0.33.0
>Reporter: Fabrice Fontaine
>Priority: Major
> Attachments: 0003-CMakeLists.txt-fix-build-without-C.patch
>
>
> For an unknown reason, the following build failure is raised when the 
> toolchain does not have a working C++ compiler (with cmake 3.18.4):
>  
> {code:java}
> -- The CXX compiler identification is unknown
> CMake Error at CMakeLists.txt:73 (enable_language):
>  The CMAKE_CXX_COMPILER:
> /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-linux-g++
> is not a full path to an existing compiler tool.
> Tell CMake where to find the compiler by setting either the environment
>  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
>  to the compiler, or to the compiler name if it is in the PATH.
> -- Configuring incomplete, errors occurred!
> {code}
> I don't understand why this build failure is raised because 
> enable_language(CXX) is correctly protected by
> {code:java}
> check_language (CXX)
> if (CMAKE_CXX_COMPILER){code}
> Perhaps, there is a bug inside cmake, to fix it, check for BUILD_CPP



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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



[jira] [Updated] (PROTON-2365) Build failure without C++

2021-04-01 Thread Fabrice Fontaine (Jira)


 [ 
https://issues.apache.org/jira/browse/PROTON-2365?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Fabrice Fontaine updated PROTON-2365:
-
Attachment: (was: 0003-CMakeLists.txt-fix-build-without-C.patch)

> Build failure without C++
> -
>
> Key: PROTON-2365
> URL: https://issues.apache.org/jira/browse/PROTON-2365
> Project: Qpid Proton
>  Issue Type: Bug
>  Components: build
>Affects Versions: proton-c-0.33.0
>Reporter: Fabrice Fontaine
>Priority: Major
>
> For an unknown reason, the following build failure is raised when the 
> toolchain does not have a working C++ compiler (with cmake 3.18.4):
>  
> {code:java}
> -- The CXX compiler identification is unknown
> CMake Error at CMakeLists.txt:73 (enable_language):
>  The CMAKE_CXX_COMPILER:
> /home/giuliobenetti/autobuild/run/instance-3/output-1/host/bin/arm-linux-g++
> is not a full path to an existing compiler tool.
> Tell CMake where to find the compiler by setting either the environment
>  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
>  to the compiler, or to the compiler name if it is in the PATH.
> -- Configuring incomplete, errors occurred!
> {code}
> I don't understand why this build failure is raised because 
> enable_language(CXX) is correctly protected by
> {code:java}
> check_language (CXX)
> if (CMAKE_CXX_COMPILER){code}
> Perhaps, there is a bug inside cmake, to fix it, check for BUILD_CPP



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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