Bug 275977 - graphics/opencv: Update to 4.9.0
Summary: graphics/opencv: Update to 4.9.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-28 08:00 UTC by Yuri Victorovich
Modified: 2024-05-02 17:43 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (desktop)


Attachments
patch (22.67 KB, patch)
2023-12-28 08:00 UTC, Yuri Victorovich
no flags Details | Diff
patch (23.98 KB, patch)
2023-12-28 10:16 UTC, Yuri Victorovich
no flags Details | Diff
patch (23.86 KB, patch)
2023-12-28 10:17 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2023-12-28 08:00:52 UTC
Created attachment 247310 [details]
patch
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-28 10:16:50 UTC
Created attachment 247314 [details]
patch
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2023-12-28 10:17:46 UTC
Created attachment 247315 [details]
patch
Comment 3 Stéphane D'Alu 2024-04-30 16:32:20 UTC
Tried to build on a RPI4 with synth.

Failed with:

/construction/xports/graphics/opencv/work/opencv-4.9.0/modules/core/src/system.cpp:573:13: error: unknown type 
name 'Elf64_auxv_t'
            Elf64_auxv_t auxv;
Comment 4 Yuri Victorovich freebsd_committer freebsd_triage 2024-04-30 16:48:11 UTC
(In reply to Stéphane D'Alu from comment #3)

Hi Stéphane,

I'll investigate this.

Thanks for reporting,
Yuri
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2024-05-02 16:06:52 UTC
(In reply to Stéphane D'Alu from comment #3)

The new code section for ARM introduces in 4.9.0 is faulty.
I filed this bug report: https://github.com/opencv/opencv/issues/25527

I'll patch this section out until they would fix it.
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2024-05-02 17:41:17 UTC
Update committed.
Comment 7 commit-hook freebsd_committer freebsd_triage 2024-05-02 17:43:21 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0a2c5ca042fda31ac37c629793420d7035502e01

commit 0a2c5ca042fda31ac37c629793420d7035502e01
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-02 14:58:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-02 17:42:04 +0000

    graphics/opencv: update 4.6.0 → 4.9.0

    PR:     275977
    Approved by:    desktop@FreeBSD.org (maintainers timeout; 4+ months)

 astro/siril/Makefile                               |   2 +-
 graphics/dbow2/Makefile                            |   2 +-
 graphics/digikam/Makefile                          |   1 +
 graphics/facedetect/Makefile                       |   2 +-
 graphics/frei0r-plugins-opencv/Makefile            |   2 +-
 graphics/gmic/Makefile                             |   2 +-
 graphics/gstreamer1-plugins-opencv/Makefile        |   2 +-
 graphics/nomacs/Makefile                           |   2 +-
 graphics/opencolorio-tools/Makefile                |   2 +-
 graphics/opencv/Makefile                           |  13 +-
 graphics/opencv/distinfo                           |  10 +-
 .../patch-cmake_OpenCVFindLibsGrfmt.cmake (gone)   |  14 --
 ...es_sfm_src_libmv__light_libmv_numeric_numeric.h |   6 +-
 .../files/patch-modules_core_src_system.cpp (new)  |  20 ++
 .../patch-modules_gapi_cmake_DownloadADE.cmake     |  22 +-
 ...tch-modules_imgcodecs_src_grfmt__png.cpp (gone) |  11 -
 graphics/opencv/pkg-plist                          | 231 +++++++--------------
 graphics/openmvs/Makefile                          |   2 +-
 graphics/php-facedetect/Makefile                   |   2 +-
 graphics/py-imageio/Makefile                       |   1 +
 graphics/py-imutils/Makefile                       |   1 +
 graphics/py-qudida/Makefile                        |   1 +
 graphics/waifu2x-converter-cpp/Makefile            |   2 +-
 graphics/yafaray/Makefile                          |   2 +-
 misc/actiona/Makefile                              |   2 +-
 misc/caffe/Makefile                                |   2 +-
 misc/darknet/Makefile                              |   2 +-
 misc/mxnet/Makefile                                |   2 +-
 misc/visp/Makefile                                 |   1 +
 multimedia/chilitags/Makefile                      |   2 +-
 multimedia/libopenshot/Makefile                    |   2 +-
 multimedia/lives/Makefile                          |   2 +-
 multimedia/opentoonz/Makefile                      |   2 +-
 multimedia/py-PySceneDetect/Makefile               |   1 +
 multimedia/zart/Makefile                           |   2 +-
 security/howdy/Makefile                            |   2 +-
 textproc/py-pdf2docx/Makefile                      |   1 +
 37 files changed, 144 insertions(+), 234 deletions(-)