bartoszek / AUR-alice-vision-git

0 stars 1 forks source link

Compiling fails - Cannot find "yay/alice-vision-git/src/build/src/doc" #2

Closed ngreve closed 5 years ago

ngreve commented 5 years ago

Unfortunately I also reported this issue to the official repo.. Should I ask them to close it?

Problem

does not compile

Expected behavior: it should compile

Actual behavior:

CMake Error at src/cmake_install.cmake:45 (file):
  file INSTALL cannot find
  "/home/nico/.cache/yay/alice-vision-git/src/build/src/doc".
Call Stack (most recent call first):
  cmake_install.cmake:51 (include)

make: *** [Makefile:118: install] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
Error making: alice-vision-git

Steps to Reproduce

yay -S alice-vision-git

actually just trying to upgrade (2.1.0.r71.g5c5a65a3-1 -> 2.2.0.r17.g63a3d6ad-1), but because the error happens when compiling, I do not assume it has something to do with the upgrading process

Versions

bartoszek commented 5 years ago

Yep, this is AUR specific issue. Or more specifically yay issue :smirk: I'll work this out at evening.

bartoszek commented 5 years ago

@ngreve This issue looks really strange, can't even find INSTALL file in alice-vision sources (despite dependencies). I've run this is Clean Env without any problem (cmake_install.cmake doesn't contains anny references to /doc/ or INSTALL :confused: )

Can you run makepkg -Csr in ~/.cache/yay/alice-vision-git and report if it works when excluding yay quirks :thinking:

cd ~/.cache/yay/alice-vision-git && makepkg -Csr
ngreve commented 5 years ago

Nope, does not work either :/. Same error, I just appended more of the console output:

. . .

-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinModelUseful.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinPresolveZeros.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinPresolveSubst.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinModel.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinPresolveTighten.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinPresolveDual.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/osi_clp/CoinUtils/src/CoinFileIO.hpp
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/cxsparse
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/cxsparse/Include
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/cxsparse/Include/cs.h
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/cxsparse/Include/SuiteSparse_config.h
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/cxsparse/Source
-- Installing: /home/nico/.cache/yay/alice-vision-git/pkg/alice-vision-git/usr/include/aliceVision_dependencies/cxsparse/Doc
CMake Error at src/cmake_install.cmake:45 (file):
  file INSTALL cannot find
  "/home/nico/.cache/yay/alice-vision-git/src/build/src/doc".
Call Stack (most recent call first):
  cmake_install.cmake:51 (include)

make: *** [Makefile:118: install] Error 1
==> ERROR: A failure occurred in package().
    Aborting...
bartoszek commented 5 years ago

@ngreve could you please pack .cache/yay/alice-vision-git/src/build (it should be there after running makepkg) and put it in comment (drag & drop file on to GitHub comment box).

tar cJf alice-vision-build.tar.gz ~/.cache/yay/alice-vision-git/src/build
ngreve commented 5 years ago

alice-vision-build.tar.gz thanks for the great support so far!

Maybe the yay version matters: yay v9.2.1 - libalpm v11.0.3

bartoszek commented 5 years ago

@ngreve Fixed with https://github.com/bartoszek/AUR-alice-vision-git/commit/35a5549a6dd0024e4b41d6b786014d66210bfd8b