It works when removing
mv "$pkgdir"/usr/lib "$pkgdir"/usr/lib32
That seems to be unnecessary, it's already called lib32.
Can you confirm that?
Search Criteria
Package Details: lib32-opencv 3.4.0-1
Git Clone URL: | https://aur.archlinux.org/lib32-opencv.git (read-only) |
---|---|
Package Base: | lib32-opencv |
Description: | Open Source Computer Vision Library (32-bit) |
Upstream URL: | http://opencv.org/ |
Licenses: | |
Submitter: | orumin |
Maintainer: | orumin |
Last Packager: | orumin |
Votes: | 3 |
Popularity: | 0.668391 |
First Submitted: | 2017-07-09 03:24 |
Last Updated: | 2018-01-03 19:17 |
Dependencies (15)
- lib32-gtkglext
- lib32-intel-tbb
- lib32-libdc1394
- lib32-openexr
- lib32-xine-lib
- opencv (opencv-cuda-git, opencv-git, opencv-gstreamer)
- cmake (cmake-git) (make)
- eigen (eigen3-hg, eigen32, eigen-multilib) (make)
- lib32-hdf5 (make)
- lib32-jasper (make)
- lib32-libgphoto2 (make)
- lib32-mesa (lib32-mesa-nowayland, lib32-mesa-noglvnd, lib32-mesa-git) (make)
- hdf5 (hdf5-openmpi-java, hdf5-openmpi) (optional) – support for HDF5 format
- opencl-icd-loader (khronos-ocl-icd, khronos-ocl-icd-svn, ocl-icd) (optional) – For coding with OpenCL
- opencv-samples (optional)
Required by (2)
Sources (2)
Latest Comments
yannleretaille commented on 2018-02-11 20:29
DarkShadow44 commented on 2018-01-13 22:29
DarkShadow44 commented on 2018-01-06 12:56
Fails with
mv: cannot stat '/dev/shm/ramdisk/pkg/lib32-opencv/usr/lib': No such file or directory
KozRoss commented on 2017-11-24 23:16
This breaks with the following:
==> Starting build()...
CMake Deprecation Warning at CMakeLists.txt:72 (cmake_policy):
The OLD behavior for policy CMP0020 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:76 (cmake_policy):
The OLD behavior for policy CMP0022 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
CMake Deprecation Warning at CMakeLists.txt:81 (cmake_policy):
The OLD behavior for policy CMP0026 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
-- The CXX compiler identification is GNU 7.2.0
-- The C compiler identification is GNU 7.2.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Detected version of GNU GCC: 72 (702)
-- sizeof(void) = 4 on x86 / x86_64 processor. Assume 32-bit compilation mode (X86=1)
-- Looking for ccache - found (/usr/bin/ccache)
CMake Error at cmake/OpenCVCompilerOptions.cmake:21 (else):
A duplicate ELSE command was found inside an IF block.
Call Stack (most recent call first):
CMakeLists.txt:495 (include)
-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-koz/aur-lib32-opencv/src/opencv-3.2.0/CMakeFiles/CMakeOutput.log".
yannleretaille commented on 2017-11-17 12:13
needs a version bump to 3.3.1
also PKGBUILD has to be changed so that it compiles it in a separate build folder: https://gist.github.com/yannleretaille/e335de55ee7dc481e9980478fce714ee
aaronp commented on 2017-07-14 17:46
Looks like this depends on a 32-bit version of tesseract and leptonica?
I can confirm that it compiles with DarkShadow44 fix and all files still end up in /usr/lib32!