Package Details: vxl 2.0.2-2

Git Clone URL: https://aur.archlinux.org/vxl.git (read-only, click to copy)
Package Base: vxl
Description: VXL (the Vision-something-Libraries): a multi-platform collection of C++ software libraries for Computer Vision and Image Understanding.
Upstream URL: https://github.com/vxl/vxl
Submitter: purboo
Maintainer: liamtimms (bartus)
Last Packager: purboo
Votes: 6
Popularity: 0.000185
First Submitted: 2016-12-23 05:24 (UTC)
Last Updated: 2019-05-06 12:48 (UTC)

Latest Comments

dobedobedo commented on 2021-06-22 07:17 (UTC)

I can confirm that the PKGBUILD doesn't work without the patch provided by @bartus. Could you please update this package?

kikislater commented on 2021-06-21 05:36 (UTC)

@bartus : thanks ! It works

bartus commented on 2021-06-19 16:24 (UTC) (edited on 2021-06-19 16:43 (UTC) by bartus)

@kikislater: this is due to regression in gcc:11

https://gcc.gnu.org/gcc-11/porting_to.html#header-dep-changes

You can quickly fix this with this patch

Apply the patch with git am < <(curl -s http://ix.io/3qsI)

@purboo: Could we please strip the nproc from PKGBUILD. Overriding it per package invalidates user configuration for makepkg in /etc/makepkg.conf.

https://wiki.archlinux.org/title/makepkg#Parallel_compilation

Also whole build()/package() could be rewritten in just 3 lines with better cmake/make syntax :)

build() {
        cmake -S "$srcdir/vxl-${pkgver}" -B build -Wno-dev -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_SHARED_LIBS=ON
        make -C build
}

package() {
        make -C build DESTDIR="$pkgdir" install
}

kikislater commented on 2021-06-19 10:48 (UTC)

Error in building. Any idea ?

[ 22%] Built target vbl_test_all
Consolidate compiler generated dependencies of target vnl
[ 22%] Building CXX object core/vnl/CMakeFiles/vnl.dir/vnl_bignum.cxx.o
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx: In member function 'vnl_bignum::operator float() const':
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx:716:37: error: 'numeric_limits' is not a member of 'std'
  716 |   if (this->is_infinity()) f = std::numeric_limits<float>::infinity();
      |                                     ^~~~~~~~~~~~~~
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx:716:52: error: expected primary-expression before 'float'
  716 |   if (this->is_infinity()) f = std::numeric_limits<float>::infinity();
      |                                                    ^~~~~
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx: In member function 'vnl_bignum::operator double() const':
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx:727:37: error: 'numeric_limits' is not a member of 'std'
  727 |   if (this->is_infinity()) d = std::numeric_limits<double>::infinity();
      |                                     ^~~~~~~~~~~~~~
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx:727:52: error: expected primary-expression before 'double'
  727 |   if (this->is_infinity()) d = std::numeric_limits<double>::infinity();
      |                                                    ^~~~~~
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx: In member function 'vnl_bignum::operator long double() const':
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx:738:37: error: 'numeric_limits' is not a member of 'std'
  738 |   if (this->is_infinity()) d = std::numeric_limits<long double>::infinity();
      |                                     ^~~~~~~~~~~~~~
/home/sylvain/.cache/yay/vxl/src/vxl-2.0.2/core/vnl/vnl_bignum.cxx:738:52: error: expected primary-expression before 'long'
  738 |   if (this->is_infinity()) d = std::numeric_limits<long double>::infinity();
      |                                                    ^~~~
At global scope:
cc1plus: note: unrecognized command-line option '-Wno-undefined-var-template' may have been intended to silence earlier diagnostics
make[2]: *** [core/vnl/CMakeFiles/vnl.dir/build.make:286: core/vnl/CMakeFiles/vnl.dir/vnl_bignum.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3378: core/vnl/CMakeFiles/vnl.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

purboo commented on 2019-05-06 12:50 (UTC)

@bartus Thanks for the comments. I have updated the dependencies accordingly.

bartus commented on 2019-05-06 12:40 (UTC) (edited on 2020-04-29 19:59 (UTC) by bartus)

libgeotiff dependency missing, also cmake should be in makedepends array. https://pastebin.com/Dc4JyHAV

purboo commented on 2019-04-23 01:18 (UTC)

@jecogeo I just tested it but I didn't find the validity problem. In your case, it is likely that your downloaded VXL package is corrupted. Please try it again.

jecogeo commented on 2019-04-22 18:48 (UTC)

The package is not passing the validity check. Please update md5sums, because its impossible to install the package at this moment.