Project

General

Profile

Actions

Bug #6138

closed

open5gs fails to build on obs.osmocom.org for Debian testing & unstable

Added by osmith 7 months ago. Updated 15 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
08/18/2023
Due date:
% Done:

100%

Spec Reference:

Description

Error:

[  142s] /usr/include/tins/ip_address.h: In member function ‘std::size_t std::hash<Tins::IPv4Address>::operator()(const Tins::IPv4Address&) const’:
[  142s] /usr/include/tins/ip_address.h:220:31: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’?
[  142s]   220 |         return std::hash<std::uint32_t>()(addr);
[  142s]       |                               ^~~~~~~~
[  142s]       |                               wint_t

This comes from libtins, it has been fixed on their master:
https://github.com/mfontanini/libtins/pull/496

I've asked libtins to tag a new release, so we can have it fixed in debian testing & unstable:
https://github.com/mfontanini/libtins/issues/513

Also a workaround was added to open5gs (not yet in the latest release), which is why it passes on osmocom:nightly and osmocom:master:
https://github.com/open5gs/open5gs/commit/178d1ff98632f35fde270e2a6110ddfe7d8656f8

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)