main(GIFT) GNU Image Finding Tool - Support: sr #111124, Fails to build on Debian 12.7

 
 

sr #111124: Fails to build on Debian 12.7

Submitter:  Aurelia Peters <aureliap>
Submitted:  Tue 24 Sep 2024 10:20:00 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  5 - Blocker Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 24 Sep 2024 10:20:00 PM UTC, original submission:  

Attempted to build on Debian 12 and got the error:

CAccessorImplementation.cc: In member function 'virtual std::pair<bool, int> CAccessorImplementation::URLToID(const std::string&) const':
CAccessorImplementation.cc:313:45: error: cannot bind rvalue reference of type 'int&&' to lvalue of type 'const int'
  313 |       return make_pair<bool,TID>(true,(*lI).second);
      |                                       ~~~~~~^~~~~~
In file included from /usr/include/c++/12/bits/stl_algobase.h:64,
                 from /usr/include/c++/12/string:50:
/usr/include/c++/12/bits/stl_pair.h:741:32: note:   initializing argument 2 of 'constexpr std::pair<typename std::__strip_reference_wrapper<typename std::decay<_Tp>::type>::__type, typename std::__strip_reference_wrapper<typename std::decay<_Tp2>::type>::__type> std::make_pair(_T1&&, _T2&&) [with _T1 = bool; _T2 = int; typename __strip_reference_wrapper<typename decay<_Tp2>::type>::__type = int; typename decay<_Tp2>::type = int; typename __strip_reference_wrapper<typename decay<_Tp>::type>::__type = bool; typename decay<_Tp>::type = bool]'
  741 |     make_pair(_T1&& __x, _T2&& __y)
      |                          ~~~~~~^~~
make[3]: * [Makefile:726: CAccessorImplementation.lo] Error 1
make[3]: Leaving directory '/home/aurelia/gift/libMRML/cc'
make[2]: * [Makefile:393: all-recursive] Error 1
make[2]: Leaving directory '/home/aurelia/gift/libMRML'
make[1]: * [Makefile:497: all-recursive] Error 1
make[1]: Leaving directory '/home/aurelia/gift'
make: * [Makefile:429: all] Error 2

Aurelia Peters <aureliap>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by aureliap (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-31c1.
    Corresponding source code