View Bug Details

IDProjectCategoryView StatusLast Update
0002164DCP-o-maticPackagingpublic2024-01-13 10:06
Reportermarkusk Assigned Tocarl  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionfixed 
Platform64-bitOSLinuxOS VersionArch
Summary0002164: Error with boost 1.78.0 :case_insensitive_sorter.cc:33:9: Fehler: »transform« wurde in diesem Gültigkeitsbereich nicht definiert
Description

[ 65/350] Compiling src/lib/dcp_text_track.cc
[ 66/350] Compiling src/lib/case_insensitive_sorter.cc
[ 67/350] Compiling src/lib/image_decoder.cc
../src/lib/case_insensitive_sorter.cc: In Elementfunktion »bool CaseInsensitiveSorter::operator()(boost::filesystem::path, boost::filesystem::path)«:
../src/lib/case_insensitive_sorter.cc:33:9: Fehler: »transform« wurde in diesem Gültigkeitsbereich nicht definiert
33 | transform (x.begin(), x.end(), x.begin(), ::tolower);
| ^~~~~

Waf: Leaving directory `/media/internal-archiv4/makepkg-build-dir-per--etc--makepkg_conf/dcpomatic/src/dcpomatic-2.14.56/build'

Steps To Reproduce

Trying to build on Arch linux with sources dcpomatic 2.14.56 and boost libs ...

boost 1.78.0-1
boost-libs 1.78.0-1

TagsNo tags attached.
Branch
Estimated weeks required
Estimated work required

Activities

carl

2022-01-16 23:29

administrator   ~0004775

Maybe you could try applying the attached patch to see if that helps?

arch.patch (385 bytes)   
diff --git a/src/lib/case_insensitive_sorter.cc b/src/lib/case_insensitive_sorter.cc
index 1dfdb01f3..c7cc8dadc 100644
--- a/src/lib/case_insensitive_sorter.cc
+++ b/src/lib/case_insensitive_sorter.cc
@@ -21,6 +21,7 @@
 #include "case_insensitive_sorter.h"
 #include <boost/filesystem.hpp>
 #include <boost/foreach.hpp>
+#include <algorithm>
 #include <iostream>
 
 using std::string;
arch.patch (385 bytes)   

carl

2023-09-01 16:03

administrator   ~0005913

I think this is OK now - let me know if not!

Bug History

Date Modified Username Field Change
2022-01-16 22:45 markusk New Bug
2022-01-16 23:29 carl Note Added: 0004775
2022-01-16 23:29 carl File Added: arch.patch
2022-01-16 23:29 carl Assigned To => carl
2022-01-16 23:29 carl Status new => feedback
2022-01-19 00:21 markusk Status feedback => assigned
2023-09-01 16:03 carl Status assigned => resolved
2023-09-01 16:03 carl Resolution open => fixed
2023-09-01 16:03 carl Note Added: 0005913
2024-01-13 10:06 carl Status resolved => closed