Opened 4 months ago

Closed 4 months ago

#69222 closed defect (fixed)

strigi @0.7.8: error: no matching function for call to 'make_pair'

Reported by: Squid4572 (Squid) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: Cc:
Port: strigi

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Not much I know to give but here is the error I see initially, and I will attempt to attach the log referenced:

--->  Fetching archive for strigi
--->  Attempting to fetch strigi-0.7.8_14.darwin_23.x86_64.tbz2 from https://packages.macports.org/strigi
--->  Attempting to fetch strigi-0.7.8_14.darwin_23.x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/strigi
--->  Attempting to fetch strigi-0.7.8_14.darwin_23.x86_64.tbz2 from http://mirror.fcix.net/macports/packages/strigi
--->  Building strigi
Error: Failed to build strigi: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_strigi/strigi/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port kwallet failed

Attachments (1)

main.log (1.6 MB) - added by Squid4572 (Squid) 4 months ago.
strigi install error log

Download all attachments as: .zip

Change History (4)

Changed 4 months ago by Squid4572 (Squid)

Attachment: main.log added

strigi install error log

comment:1 Changed 4 months ago by Squid4572 (Squid)

sorry I didn't add a lot of details, I'm not good with technical stuff like that.

comment:2 Changed 4 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: strigi kde kwallet removed
Summary: strigi(dependencie of kde apps) fails to install.strigi @0.7.8: error: no matching function for call to 'make_pair'

According to the log the error is:

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/indexers/clucenengindexer/cluceneindexreader.cpp:324:31: error: no matching function for call to 'make_pair'
        doc.properties.insert(make_pair<const string, string>(
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/usr/include/c++/v1/__utility/pair.h:542:1: note: candidate function template not viable: expects an rvalue for 2nd argument
make_pair(_T1&& __t1, _T2&& __t2)
^

comment:3 Changed 4 months ago by kencu (Ken)

Resolution: fixed
Status: newclosed

I fixed this recently [98626a41d2372c2a716dc050d16656655d2f1b09/macports-ports] so if you update your ports tree and try again it will build.

Note: See TracTickets for help on using tickets.