Cannot build against python 3.11 https://fars.ee/T8Ob update: I can build it by updating pkgver to 19.24.1 (and use pypi source)
Search Criteria
Package Details: python-dlib-cuda 20.0-1
Package Actions
| Git Clone URL: | https://aur.archlinux.org/python-dlib.git (read-only, click to copy) |
|---|---|
| Package Base: | python-dlib |
| Description: | Dlib is a general purpose cross-platform C++ library designed using contract programming and modern C++ techniques. |
| Upstream URL: | http://www.dlib.net/ |
| Licenses: | boost |
| Conflicts: | python-dlib |
| Provides: | python-dlib |
| Submitter: | u1bmoW1r16 |
| Maintainer: | petronny (AutoUpdateBot) |
| Last Packager: | petronny |
| Votes: | 15 |
| Popularity: | 0.000189 |
| First Submitted: | 2016-10-27 15:05 (UTC) |
| Last Updated: | 2025-05-30 11:54 (UTC) |
Dependencies (19)
- cblas (blis-cblas-openmpAUR, blis-cblasAUR, aocl-blis-aoccAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, blas-openblas-gitAUR, aocl-blisAUR, openblas-lapackAUR, blas-gitAUR, blas-openblas)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR, cuda-12.5AUR, cuda-12.9AUR)
- cudnn (cudnn9.10-cuda12.9AUR)
- ffmpeg (ffmpeg-nvcodec-11-1-gitAUR, ffmpeg-ffplayoutAUR, ffmpeg-cudaAUR, ffmpeg-gitAUR, ffmpeg-headlessAUR, ffmpeg-obsAUR, ffmpeg-libfdk_aacAUR, ffmpeg-decklinkAUR, ffmpeg-amd-fullAUR, ffmpeg-amd-full-gitAUR, ffmpeg-full-gitAUR, ffmpeg-fullAUR)
- giflib (giflib-gitAUR)
- lapack (aocl-libflame-aoccAUR, atlas-lapackAUR, blas-aocl-gccAUR, blas-aocl-aoccAUR, blas-mklAUR, aocl-libflameAUR, blas-openblas-gitAUR, openblas-lapackAUR, lapack-gitAUR, blas-openblas)
- libjpeg-turbo (mozjpeg-gitAUR, mozjpegAUR, libjpeg-turbo-gitAUR)
- libjxl (libjxl-gitAUR, libjxl-metricsAUR, libjxl-metrics-gitAUR)
- libpng (libpng-gitAUR, libpng-apngAUR)
- libx11 (libx11-gitAUR, libx11-mr293AUR)
- python
- boost (boost-gitAUR) (make)
- ccache-extAUR (make)
- cmake (cmake3AUR, cmake-gitAUR) (make)
- cuda (cuda11.1AUR, cuda-12.2AUR, cuda12.0AUR, cuda11.4AUR, cuda11.4-versionedAUR, cuda12.0-versionedAUR, cuda-12.5AUR, cuda-12.9AUR) (make)
- cudnn (cudnn9.10-cuda12.9AUR) (make)
- python-setuptools (make)
- sqlite (sqlite-fossilAUR) (make)
- sqlite (sqlite-fossilAUR) (optional)
Required by (6)
- howdy (requires python-dlib)
- howdy-beta-git (requires python-dlib)
- howdy-bin (requires python-dlib)
- howdy-git (requires python-dlib)
- openface-git (requires python-dlib)
- python-face_recognition (requires python-dlib)
Sources (1)
Misaka13514 commented on 2023-05-04 00:46 (UTC) (edited on 2023-05-04 09:29 (UTC) by Misaka13514)
gregory112 commented on 2023-03-23 05:18 (UTC)
It has errors in the test now
==================================================================================================================================================== test session starts =====================================================================================================================================================
platform linux -- Python 3.10.10, pytest-3.8.0, py-1.11.1.dev0+g447bac51.d20230131, pluggy-1.0.0
rootdir: /home/gregory112/.cache/yay/python-dlib-cuda/src/dlib-19.22, inifile:
plugins: cov-4.0.0
collected 0 items / 11 errors
=========================================================================================================================================================== ERRORS ===========================================================================================================================================================
______________________________________________________________________________________________________________________________________ ERROR collecting tools/python/test/test_array.py ______________________________________________________________________________________________________________________________________
<frozen importlib._bootstrap>:939: in _find_spec
???
E AttributeError: 'AssertionRewritingHook' object has no attribute 'find_spec'
I think this is related to pytest: https://github.com/pytest-dev/pytest/issues/1888
jaantoots commented on 2018-12-01 20:48 (UTC)
makedepends should include python{,2}-setuptools instead of just python{,2}.
Also, there is no need to list all three cuda, cudnn and libx11 as separate dependencies, as the other two are already dependencies of cudnn.
petronny commented on 2018-11-30 07:56 (UTC) (edited on 2018-11-30 07:57 (UTC) by petronny)
@AbysmalBiscuit
-
Thanks for the tests on optional dependencies.
-
ccache-extis available in AUR now. -
You can set
license=('Boost')to use/usr/share/licenses/common/Boost/license.txtinlicenses. -
I see your changes about using the NEON instructions. But I think you misunderstand that this
NEONis a kind of ARM instruction technology, not theneonpackage in[extra]which is a HTTP and WebDAV client library with a C interface.
I think neon can be only enabled ARM architectures likearmv7horaarch64and it's useless topython{,2}-dlib-cuda. -
I have updating the PKGBUILD of
python-dlibto buildpython{,2}-dlib-cudaas well (currently disabled). So would you like to be a co-maintainer ofpython-dliband merge these 2 packages to it?
And I've disabled the detection of AVX, SSE2, SSE4 instructions and enabled all the optdepends because I'm providing binaries ofpython{,2}-dlibin my repositories with this PKGBUILD. If you don't agree with these, we can keep our packages separate.
AbysmalBiscuit commented on 2018-08-29 08:35 (UTC)
@Kicer Thanks! That's a good suggestion; I have added it.
Kicer commented on 2018-08-27 19:49 (UTC)
I think provides section should contain entry python-dlib=${pkgver} (version included). Otherwise pakages like python-face_recognition won't install due to insufficient version.
AbysmalBiscuit commented on 2018-07-21 09:17 (UTC)
@Kicer You are correct about gcc6 not being needed. In the past dlib and cuda programs did need gcc6 to compile properly, but it seems that is no longer the case.
@flipflop97 I have added the provides and conflicts.
@petronny
I have gone through all the optional dependencies. Only sqlite and neon can be removed and python-dlib will still work. If any of the others are removed it will fail to import due to missing libraries of the shared object: dlib.cpython-36m-x86_64-linux-gnu.so.
Note: removing sqlite will likely break parts of your system. :p
Kicer commented on 2018-07-19 20:19 (UTC)
Hi
Why is there gcc6 needed? I've modified PKBUILD to use system gcc and it works fine.
flipflop97 commented on 2018-07-04 19:50 (UTC) (edited on 2018-07-04 19:58 (UTC) by flipflop97)
Hi,
I have a package that depends on either python-dlib or python-dlib-cuda. I'd like to let it depend on either of them.
Right now both packages are totally separate. Can you maybe add a provides/conflicts/replaces rule for python-dlib so that both packages are treated as the same?
Pinned Comments
petronny commented on 2024-03-30 13:11 (UTC) (edited on 2024-03-30 13:13 (UTC) by petronny)
Set
_build_cpuand_build_cudato 1 and 0 to build or not build the CPU or CUDA version.If
options=(!lto)has no effect, please check if it's still enabled in/etc/makepkg.conf.petronny commented on 2023-11-28 04:57 (UTC)
Prebuilt binaries of this package can be found in arch4edu.