You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Matthijs Brobbel (JIRA)" <ji...@apache.org> on 2019/06/12 15:05:00 UTC

[jira] [Created] (ARROW-5575) arrowConfig.cmake includes uninstalled targets

Matthijs Brobbel created ARROW-5575:
---------------------------------------

             Summary: arrowConfig.cmake includes uninstalled targets
                 Key: ARROW-5575
                 URL: https://issues.apache.org/jira/browse/ARROW-5575
             Project: Apache Arrow
          Issue Type: Bug
          Components: C++
    Affects Versions: 0.13.0
            Reporter: Matthijs Brobbel


I'm building a CMake project against arrow and I'm using:
{code:java}
find_package(arrow 0.13 CONFIG REQUIRED)
{code}
to get the arrow_shared target in scope. This works for me on macOS. I installed apache-arrow with:
{code:java}
brew install apache-arrow{code}
However, when I attempt to build the project in a ubuntu xenial container, I get the following CMake error:
{code:java}
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/arrow/arrowTargets.cmake:151 (message):
The imported target "arrow_cuda_shared" references the file


"/usr/lib/x86_64-linux-gnu/libarrow_cuda.so.13.0.0"


but this file does not exist. Possible reasons include:


* The file was deleted, renamed, or moved to another location.


* An install or uninstall procedure did not complete successfully.


* The installation package was faulty and contained


"/usr/lib/x86_64-linux-gnu/cmake/arrow/arrowTargets.cmake"


but not all the files it references.


Call Stack (most recent call first):
/usr/lib/x86_64-linux-gnu/cmake/arrow/arrowConfig.cmake:61 (include)
CMakeLists.txt:15 (find_package)
{code}
I installed arrow with:
{code:java}
curl -sSL "https://dist.apache.org/repos/dist/dev/arrow/KEYS" | apt-key add -
echo "deb [arch=amd64] https://dl.bintray.com/apache/arrow/ubuntu/ xenial main" | tee -a /etc/apt/sources.list
apt-get update
apt-get install -y libarrow-dev=0.13.0-1
{code}
I can also install libarrow-cuda-dev, but I don't want to because I don't need it.



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