Package Details: vxl 3.5.0-1

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: bartus
Votes: 6
Popularity: 0.000000
First Submitted: 2016-12-23 05:24 (UTC)
Last Updated: 2022-12-11 09:42 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

liamtimms commented on 2023-01-23 18:25 (UTC) (edited on 2023-01-23 18:38 (UTC) by liamtimms)

hi @bartus ,

I'm hitting the following error when attempting to build:

fatal error: dcfilefo.h: No such file or directory
   30 | #  include <dcfilefo.h>
      |            ^~~~~~~~~~~~
compilation terminated.
make[2]: *** [core/vil/CMakeFiles/vil.dir/build.make:664: core/vil/CMakeFiles/vil.dir/file_formats/vil_dicom.cxx.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4410: core/vil/CMakeFiles/vil.dir/all] Error 2
make: *** [Makefile:146: all] Error 2

also, it's best to leave parallel compilation threads to the user's makepkg.conf setting. https://wiki.archlinux.org/title/makepkg#Improving_compile_times

The make -j syntax should only be used if there are issues with race conditions that need to be overridden through use of make -j1.

EDIT: This appears to be related to this issue upstream https://github.com/vxl/vxl/issues/768

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.