Bug 2340079 - dlib: FTBFS in Fedora rawhide/f42
Summary: dlib: FTBFS in Fedora rawhide/f42
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dlib
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Onuralp SEZER
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2339694 (view as bug list)
Depends On:
Blocks: F41FTBFS F42FTBFS
TreeView+ depends on / blocked
 
Reported: 2025-01-22 19:27 UTC by Fedora Release Engineering
Modified: 2025-03-28 15:05 UTC (History)
5 users (show)

Fixed In Version: dlib-19.24.8-3.fc42 dlib-19.24.8-3.fc40 dlib-19.24.8-3.fc41
Clone Of:
Environment:
Last Closed: 2025-03-24 01:32:49 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2025-01-22 19:28 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2025-01-22 19:28 UTC, Fedora Release Engineering
no flags Details
state.log (1.62 KB, text/plain)
2025-01-22 19:28 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2025-01-22 19:27:58 UTC
dlib failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=127944783


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix dlib at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
dlib will be orphaned. Before branching of Fedora 43,
dlib will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 19:28:01 UTC
Created attachment 2068824 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 19:28:02 UTC
Created attachment 2068825 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 19:28:04 UTC
Created attachment 2068826 [details]
state.log

Comment 4 Fedora Release Engineering 2025-01-22 21:00:28 UTC
*** Bug 2339694 has been marked as a duplicate of this bug. ***

Comment 5 Ben Beasley 2025-02-01 15:39:07 UTC
The first error is:

  In file included from /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/dlib/../dlib/python.h:7,
                   from /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/tools/python/src/opaque_types.h:6,
                   from /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/tools/python/src/matrix.cpp:4:
  /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/tools/python/src/matrix.cpp: In function ‘std::shared_ptr<dlib::matrix<double, 0, 0, dlib::memory_manager_stateless_kernel_1<char>, dlib::row_major_layout> > from_list(pybind11::list)’:
  /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/tools/python/src/matrix.cpp:82:36: warning: comparison of integer expressions of different signedness: ‘pybind11::size_t’ {aka ‘long unsigned int’} and ‘const long int’ [-Wsign-compare]
     82 |             pyassert(py::len(l[r]) == nc, "All rows of a matrix must have the same number of columns.");
        |                      ~~~~~~~~~~~~~~^~~~~
  /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/dlib/../dlib/python/pyassert.h:9:13: note: in definition of macro ‘pyassert’
      9 |     {if ( !(_exp) )                                                         \
        |             ^~~~
  /builddir/build/BUILD/dlib-19.24.6-build/dlib-19.24.6/tools/python/src/sequence_segmenter.cpp:100:5: error: reference to ‘ranges’ is ambiguous
    100 |     ranges segment_sequence_dense (
        |     ^~~~~~

Comment 6 Aoife Moloney 2025-02-26 13:28:22 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.

Comment 7 Fedora Update System 2025-03-19 09:38:43 UTC
FEDORA-2025-118d5710f8 (dlib-19.24.8-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-118d5710f8

Comment 8 Fedora Update System 2025-03-19 09:38:56 UTC
FEDORA-2025-3ac216fc54 (dlib-19.24.8-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ac216fc54

Comment 9 Fedora Update System 2025-03-19 09:39:08 UTC
FEDORA-2025-f045e7d0ee (dlib-19.24.8-3.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-f045e7d0ee

Comment 10 Fedora Update System 2025-03-20 06:12:39 UTC
FEDORA-2025-f045e7d0ee has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-f045e7d0ee`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-f045e7d0ee

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2025-03-20 06:31:43 UTC
FEDORA-2025-118d5710f8 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-118d5710f8`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-118d5710f8

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 12 Fedora Update System 2025-03-20 06:50:20 UTC
FEDORA-2025-3ac216fc54 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-3ac216fc54`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-3ac216fc54

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 13 Fedora Update System 2025-03-24 01:32:49 UTC
FEDORA-2025-f045e7d0ee (dlib-19.24.8-3.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2025-03-28 14:48:31 UTC
FEDORA-2025-3ac216fc54 (dlib-19.24.8-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 15 Fedora Update System 2025-03-28 15:05:13 UTC
FEDORA-2025-118d5710f8 (dlib-19.24.8-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.