phylonium 1.7-1 FTBFS on 32 bits

Bug #2033638 reported by Benjamin Drung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
phylonium (Debian)
Fix Released
Unknown
phylonium (Ubuntu)
Triaged
High
Unassigned

Bug Description

phylonium 1.7-1 fails to build from source on the 32 bit architecture armhf:

```
g++ -std=gnu++17 -DHAVE_CONFIG_H -I. -I.. -fopenmp -Wall -Wextra -I../libs -Wdate-time -D_FORTIFY_SOURCE=2 -fms-extensions -fopenmp -O2 -ggdb -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/phylonium-1.7-1 -c -o phylonium-evo_model.o `test -f 'evo_model.cxx' || echo './'`evo_model.cxx
process.cxx: In lambda function:
process.cxx:222:39: error: no matching function for call to ‘max(saidx64_t&, long int)’
  222 | this_length = std::max(inter.l, 0l);
      | ~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/c++/13/vector:62,
                 from process.h:8,
                 from process.cxx:6:
/usr/include/c++/13/bits/stl_algobase.h:257:5: note: candidate: ‘template<class _Tp> constexpr const _Tp& std::max(const _Tp&, const _Tp&)’
  257 | max(const _Tp& __a, const _Tp& __b)
      | ^~~
/usr/include/c++/13/bits/stl_algobase.h:257:5: note: template argument deduction/substitution failed:
process.cxx:222:39: note: deduced conflicting types for parameter ‘const _Tp’ (‘long long int’ and ‘long int’)
  222 | this_length = std::max(inter.l, 0l);
      | ~~~~~~~~^~~~~~~~~~~~~
/usr/include/c++/13/bits/stl_algobase.h:303:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr const _Tp& std::max(const _Tp&, const _Tp&, _Compare)’
  303 | max(const _Tp& __a, const _Tp& __b, _Compare __comp)
      | ^~~
/usr/include/c++/13/bits/stl_algobase.h:303:5: note: template argument deduction/substitution failed:
process.cxx:222:39: note: deduced conflicting types for parameter ‘const _Tp’ (‘long long int’ and ‘long int’)
  222 | this_length = std::max(inter.l, 0l);
      | ~~~~~~~~^~~~~~~~~~~~~
In file included from /usr/include/c++/13/algorithm:61,
                 from evo_model.h:7,
                 from process.h:9:
/usr/include/c++/13/bits/stl_algo.h:5795:5: note: candidate: ‘template<class _Tp> constexpr _Tp std::max(initializer_list<_Tp>)’
 5795 | max(initializer_list<_Tp> __l)
      | ^~~
/usr/include/c++/13/bits/stl_algo.h:5795:5: note: template argument deduction/substitution failed:
process.cxx:222:39: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long long int’
  222 | this_length = std::max(inter.l, 0l);
      | ~~~~~~~~^~~~~~~~~~~~~
/usr/include/c++/13/bits/stl_algo.h:5805:5: note: candidate: ‘template<class _Tp, class _Compare> constexpr _Tp std::max(initializer_list<_Tp>, _Compare)’
 5805 | max(initializer_list<_Tp> __l, _Compare __comp)
      | ^~~
/usr/include/c++/13/bits/stl_algo.h:5805:5: note: template argument deduction/substitution failed:
process.cxx:222:39: note: mismatched types ‘std::initializer_list<_Tp>’ and ‘long long int’
  222 | this_length = std::max(inter.l, 0l);
      | ~~~~~~~~^~~~~~~~~~~~~
make[3]: *** [Makefile:480: phylonium-process.o] Error 1
```

Full log: https://launchpadlibrarian.net/683922593/buildlog_ubuntu-mantic-armhf.phylonium_1.7-1_BUILDING.txt.gz

Benjamin Drung (bdrung)
summary: - phylonium 1.7-1 FTBFS on armhf
+ phylonium 1.7-1 FTBFS on 32 bits
description: updated
Changed in phylonium (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in phylonium (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.