Skip to content

Error Building FLANN on Elementary OS #25

@apetridis

Description

@apetridis

Hi,
I'm trying to build flann but i am encountering some problems:

(@v1.6) pkg> build FLANN
    Building FLANN → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/5e69a6f74abee6660ad11458f7eea5817604ef44/build.log`
ERROR: Error building `FLANN`: 
patching file src/flann-1.9.1/src/cpp/CMakeLists.txt
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file src/flann-1.9.1/src/cpp/CMakeLists.txt.rej
[ Info: Attempting to create directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/downloads
[ Info: Directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/downloads already exists
[ Info: Downloading file https://github.com/mariusmuja/flann/archive/1.9.1.tar.gz
[ Info: Done downloading file https://github.com/mariusmuja/flann/archive/1.9.1.tar.gz
[ Info: Attempting to create directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/src
[ Info: Directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/src already exists
[ Info: Attempting to create directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps
[ Info: Directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps already exists
[ Info: Path /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/src/flann-1.9.1 already exists
[ Info: Attempting to create directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/builds/1.9.1
[ Info: Directory /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/builds/1.9.1 already exists
ERROR: LoadError: failed process: Process(`patch src/flann-1.9.1/src/cpp/CMakeLists.txt patch-flann-1.9.1.txt`, ProcessExited(1)) [1]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:525 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:440
 [3] run(::Cmd)
   @ Base ./process.jl:438
 [4] run(s::BinDeps.SynchronousStepCollection)
   @ BinDeps ~/.julia/packages/BinDeps/5xsHU/src/BinDeps.jl:524
 [5] satisfy!(dep::BinDeps.LibraryDependency, methods::Vector{DataType})
   @ BinDeps ~/.julia/packages/BinDeps/5xsHU/src/dependencies.jl:951
 [6] satisfy!(dep::BinDeps.LibraryDependency)
   @ BinDeps ~/.julia/packages/BinDeps/5xsHU/src/dependencies.jl:929
 [7] top-level scope
   @ ~/.julia/packages/BinDeps/5xsHU/src/dependencies.jl:984
 [8] include(fname::String)
   @ Base.MainInclude ./client.jl:444
 [9] top-level scope
   @ none:5
in expression starting at /home/alepetpan/.julia/packages/FLANN/a7m6V/deps/build.jl:49

I am running

Julia Version 1.6.3
Commit ae8452a9e0 (2021-09-23 17:34 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-11.0.1 (ORCJIT, haswell)

Τhank you very much in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions