Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ Your package (os-autoinst) Fails To Install in Fedora 42: can't install os-autoinst: - nothing provides libopencv_core.so.410()(64bit) needed by os-autoinst-4.6^20241125gitb64e219-2.fc42.x86_64 - nothing provides libopencv_imgproc.so.410()(64bit) needed by os-autoinst-4.6^20241125gitb64e219-2.fc42.x86_64 - nothing provides libopencv_imgcodecs.so.410()(64bit) needed by os-autoinst-4.6^20241125gitb64e219-2.fc42.x86_64 - nothing provides libopencv_highgui.so.410()(64bit) needed by os-autoinst-4.6^20241125gitb64e219-2.fc42.x86_64 If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem. If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks. P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock: $ mock -r fedora-42-x86_64 --config-opts mirrored=False install os-autoinst P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages Thanks!
*** Bug 2345176 has been marked as a duplicate of this bug. ***
Sergio, I think this actually may be to do with opencv. The first test failure is this: 2: Can't call method "search" on an undefined value at t/01-test_needle.t line 66. If you look at 01-test_needle.t , that boils down to just this: $img1 = tinycv::read($data_dir . 'bootmenu.test.png'); $res = $img1->search($needle); It's $img1 that is an "undefined value". Which means the tinycv::read failed somehow. tinycv is an os-autoinst-specific wrapper around opencv - its source is at https://github.com/os-autoinst/os-autoinst/tree/master/ppmclibs . I'm no great expert on C, but I *guess* we're dealing with this code (I don't actually know how tinycv::read winds up here exactly, but let's pass over that!): Image* image_read(const char* filename) { Image* image = new Image; image->img = imread(filename, cv::IMREAD_COLOR); if (!image->img.data) { std::cerr << "Could not open image " << filename << std::endl; delete image; return nullptr; } return image; } I'll see if I can figure out anything more about this...
Hello, Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug.
OK, yeah, it's an opencv bug. opencv 4.11.0 is broken on s390x. Here's a test program (as I said, not a C++ coder, apologies for any weirdness): #include <opencv2/imgcodecs.hpp> #include <opencv2/core/mat.hpp> #include <iostream> int main() { cv::Mat img; img = cv::imread("/var/tmp/bootmenu.test.png", cv::IMREAD_COLOR); if (!img.data) { std::cout << "Failed\n"; } else { std::cout << "Succeeded\n"; } } Compile command: g++ -I /usr/include/opencv4 -o cvtest cvtest.cpp /usr/lib64/libopencv_imgcodecs.so.4.11.0 /usr/lib64/libopencv_core.so.4.11.0 Obviously adjust library version as appropriate (4.11.0 for F42/Rawhide, 4.10.0 for F41). I tested by setting up a clean mock chroot with opencv-devel and gcc-c++ in it, copying in /var/tmp/bootmenu.test.png , compiling and running the program. On x86_64, we get "Succeeded" on both F41 (opencv 4.10.0) and Rawhide (opencv 4.11.0). On s390x, we get "Succeeded" on F41 (4.10.0) but "Failed" on Rawhide (4.11.0). Will open a new bug, mark this as depending on that, and report upstream.
OK, I went ahead and did a build with the s390x tests disabled, so at least os-autoinst is installable now. If we can fix opencv without changing the ABI, this build should then work fine on s390x too (if anyone ever actually wanted to use os-autoinst on s390x...) https://bodhi.fedoraproject.org/updates/FEDORA-2025-66fb73782f