Package Details: libarea-git 120.f1986ac-6

Git Clone URL: https://aur.archlinux.org/libarea-git.git (read-only, click to copy)
Package Base: libarea-git
Description: Library and python module for pocketing and profiling operations
Upstream URL: https://github.com/Heeks/libarea
Licenses: custom:BSD3
Provides: libarea
Submitter: lz3060
Maintainer: greyltc
Last Packager: greyltc
Votes: 3
Popularity: 0.000000
First Submitted: 2016-05-22 08:00 (UTC)
Last Updated: 2017-02-25 16:16 (UTC)

Dependencies (5)

Required by (1)

Sources (1)

Latest Comments

GwennG commented on 2019-12-31 09:46 (UTC)

Thanks for the patch. Unfortunately, it did not help. python2 was already installed.

xphoniexx commented on 2019-12-29 18:39 (UTC) (edited on 2019-12-29 18:43 (UTC) by xphoniexx)

references to python in the depends need to be changed to python2 to build.

diff --git a/PKGBUILD b/PKGBUILD
index [`06e772a`](https://aur.archlinux.org/cgit/aur.git/commit/?h=libarea-git&id=06e772a)..c889025 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@ arch=('x86_64')
 provides=('libarea')
 url="<https://github.com/Heeks/libarea>"
 license=('custom:BSD3')
-depends=('python' 'oce' 'boost')
+depends=('python2' 'oce' 'boost')
 makedepends=('git' 'cmake')
 source=('git://github.com/Heeks/libarea.git')
 md5sums=('SKIP')

GwennG commented on 2019-12-17 10:29 (UTC) (edited on 2019-12-17 10:35 (UTC) by GwennG)

Hi,

When trying to build libarea-git (required by heekscad-git), I get this error related to boost includes:

$ makepkg
==> Making package: libarea-git 122.2752cd9-1 (Tue 17 Dec 2019 11:14:36 AM CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating libarea git repo...
Fetching origin
==> Validating source files with md5sums...
    libarea ... Skipped
==> Extracting sources...
  -> Creating working copy of libarea git repo...
Reset branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Removing existing $pkgdir/ directory...
==> Starting build()...
==> Starting build...
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
--  CMAKE_BUILD_TYPE = Release
-- Python include dir:/usr/include/python2.7/usr/include/python2.7
CMake Warning at /lib64/cmake/boost_python-1.71.0/libboost_python-variant-shared-py3.8.cmake:69 (message):
  Target Boost::python already has an imported location
  '/lib64/libboost_python27.so.1.71.0', which will be overwritten with
  '/lib64/libboost_python38.so.1.71.0'
Call Stack (most recent call first):
  /lib64/cmake/boost_python-1.71.0/boost_python-config.cmake:43 (include)
  /lib64/cmake/Boost-1.71.0/BoostConfig.cmake:117 (find_package)
  /lib64/cmake/Boost-1.71.0/BoostConfig.cmake:182 (boost_find_component)
  /usr/share/cmake-3.16/Modules/FindBoost.cmake:443 (find_package)
  CMakeLists.txt:43 (find_package)


-- found Boost: 
-- boost-incude dirs are: /include
-- boost-python lib is: Boost::python
-- boost_LIBRARY_DIRS is: /lib64
-- Boost_LIBRARIES is: Boost::python
-- Library will be installed to: /usr/lib
-- Python module will be installed to: /usr/lib/python2.7/site-packages
-- Configuring done
CMake Error in CMakeLists.txt:
  Imported target "Boost::python" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

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

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in CMakeLists.txt:
  Imported target "Boost::python" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

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

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...

Is this error coming from boost cmake files?