Package Details: opengv-git r144.306a54e-2

Git Clone URL: https://aur.archlinux.org/opengv-git.git (read-only, click to copy)
Package Base: opengv-git
Description: An efficient C++ library for calibrated camera pose computation using geometric computer vision algorithms.
Upstream URL: https://laurentkneip.github.io/opengv/
Licenses: BSD
Conflicts: opengv
Provides: opengv
Submitter: cyrozap
Maintainer: cyrozap
Last Packager: cyrozap
Votes: 4
Popularity: 0.000000
First Submitted: 2017-01-05 00:55 (UTC)
Last Updated: 2019-01-30 07:44 (UTC)

Latest Comments

1 2 Next › Last »

cyrozap commented on 2024-05-27 00:58 (UTC)

I haven't used OpenGV in several years, so I'm not sure how to fix these build issues and don't have much motivation to look into them deeply. That said, if anyone else resolves the issues and posts a patch I'll be happy to apply it.

jose1711 commented on 2024-05-03 07:08 (UTC)

still failing to build (pybind11 2.12.0-4 and python 3.12.3-1). same issue as reported by @petronny

petronny commented on 2023-05-24 04:43 (UTC)

Build failed with python 3.11 and latest pybind11

[ 65%] Building CXX object CMakeFiles/random_generators.dir/test/random_generators.cpp.o
In file included from /build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:16,
                 from /build/opengv-git/src/opengv/python/pybind11/include/pybind11/attr.h:13,
                 from /build/opengv-git/src/opengv/python/pybind11/include/pybind11/pybind11.h:43,
                 from /build/opengv-git/src/opengv/python/types.hpp:4,
                 from /build/opengv-git/src/opengv/python/pyopengv.cpp:14:
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/detail/internals.h: In function ‘pybind11::detail::internals& pybind11::detail::get_internals()’:
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/detail/internals.h:194:27: warning: ‘void PyEval_InitThreads()’ is deprecated [-Wdeprecated-declarations]
  194 |         PyEval_InitThreads();
      |         ~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/python3.11/Python.h:95,
                 from /build/opengv-git/src/opengv/python/pybind11/include/pybind11/detail/common.h:112,
                 from /build/opengv-git/src/opengv/python/pybind11/include/pybind11/pytypes.h:12,
                 from /build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:13:
/usr/include/python3.11/ceval.h:132:37: note: declared here
  132 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
      |                                     ^~~~~~~~~~~~~~~~~~
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h: In function ‘std::string pybind11::detail::error_string()’:
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:441:36: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  441 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
      |                                    ^~
In file included from /usr/include/python3.11/Python.h:42:
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:441:75: error: expected primary-expression before ‘>’ token
  441 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
      |                                                                           ^
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:441:77: error: expected primary-expression before ‘)’ token
  441 |                 "  " + handle(frame->f_code->co_filename).cast<std::string>() +
      |                                                                             ^
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:443:29: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  443 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
      |                             ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:443:64: error: expected primary-expression before ‘>’ token
  443 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
      |                                                                ^
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:443:66: error: expected primary-expression before ‘)’ token
  443 |                 handle(frame->f_code->co_name).cast<std::string>() + "\n";
      |                                                                  ^
/build/opengv-git/src/opengv/python/pybind11/include/pybind11/cast.h:444:26: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
  444 |             frame = frame->f_back;
      |                          ^~
/usr/include/python3.11/pytypedefs.h:22:16: note: forward declaration of ‘PyFrameObject’ {aka ‘struct _frame’}
   22 | typedef struct _frame PyFrameObject;
      |                ^~~~~~

https://github.com/arch4edu/cactus/actions/runs/5057463926/jobs/9076255464

bartus commented on 2020-05-09 20:05 (UTC) (edited on 2020-05-11 00:45 (UTC) by bartus)

@Xwang: I've just tested trizen in clean docker env and it in fact can't find opengv despite yay and aurutils clearly can. Perhaps you could post this on trizen bug tracker...

bartus commented on 2020-05-09 16:25 (UTC) (edited on 2020-05-09 16:25 (UTC) by bartus)

@Xwang: I'll try the trizen and give you my thoughts, yay and aurutils seems to find opengv without a problem.

@issue_no1: stop spamming every package in the chain about missing deps :)

issue_no1 commented on 2020-05-09 12:48 (UTC) (edited on 2020-05-09 12:50 (UTC) by issue_no1)

dependencies popsift uncertainty-framework magma are missing

Xwang commented on 2020-05-09 09:43 (UTC)

@bartus so it is a issue related to pamac and trizen? Both recognize that as a dependency but when they try to install they say that opengv is not found.

bartus commented on 2020-05-09 08:37 (UTC)

Everything is fine, your aur helper should be able to find this package. It has correct provide field set up, as you can see above.

alice-vision maintainer

Xwang commented on 2020-05-09 07:39 (UTC) (edited on 2020-05-09 07:49 (UTC) by Xwang)

Both pamac and trizen do not find the package when trying to build alice-vision on my pc. Maybe the provides filed should be explicitly set to opengv (I've solved changing the alice-vision PKGBUILD to search for opengv-git instead of opengv, but I think it should be solved here).

bidskii commented on 2019-01-24 10:26 (UTC)

Package a dependency of python2-numpy however the default python on arch is python3. Either the PKG_BUILD needs to be updated to depend on python-numpy or arguments need to be provided to the cmake command to force the usage of python2