#41152 closed defect (fixed)
strigi @0.7.8: error: reference to 'mutex' is ambiguous
Reported by: | hjs@… | Owned by: | clubjuggler@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks haspatch | Cc: | lars@…, bountin (Martin Prebio), soehn@…, sylvain.girbal@…, wahspilihp (Philip Shaw), ryandesign (Ryan Carsten Schmidt), mfuhrer@…, alexcoder@…, tombombadil@…, diochnos, egon.geerardyn@…, crazyhorse671@…, faustinroman@…, whcordis@…, david.halpern@… |
Port: | strigi |
Description
I am trying to install kmymoney4 on Mavericks. This is a dependency of it. I didn't see it listed among the MavericksProblems or in trac. It is my first submission. Find the attached main.log.
Attachments (5)
Change History (35)
Changed 11 years ago by hjs@…
comment:1 Changed 11 years ago by lars@…
Cc: | lars@… added |
---|
comment:4 Changed 11 years ago by wahspilihp (Philip Shaw)
I'm not absolutely convinced I have the same problem (edit: it isn't): in my case the critical part appears to be
:debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for strigi: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install strigi :debug:build could not read "/opt/local/share/man/man3/libswscale.3.gz": no such file or directory while executing "::file type $file"
which is a different error but occurs in the same context as OP's when building with +docs
Changed 11 years ago by wahspilihp (Philip Shaw)
Attachment: | main.2.log added |
---|
Log when building with +docs
comment:6 follow-up: 9 Changed 11 years ago by sylvain.girbal@…
Replying to sylvain.girbal@…:
Cc Me!
Same error here:
.../strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp:79:9: error: use of undeclared identifier 'sleep'
Missing a #include <unistd.h>
?
It is conditioned by #if defined __SUNPRO_CC
in the preamble.
comment:7 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | wahspilihp@… added |
---|---|
Keywords: | mavericks added |
Owner: | changed from macports-tickets@… to clubjuggler@… |
Summary: | strigi @2.2.1 +build error → strigi @2.2.1: error: use of undeclared identifier 'sleep' |
comment:8 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | strigi @2.2.1: error: use of undeclared identifier 'sleep' → strigi @0.7.7_5: error: use of undeclared identifier 'sleep' |
---|
comment:9 follow-up: 10 Changed 11 years ago by wahspilihp (Philip Shaw)
Replying to sylvain.girbal@…:
Same error here:
.../strigi-0.7.7/strigidaemon/bin/daemon/eventlistener/eventlistenerqueue.cpp:79:9: error: use of undeclared identifier 'sleep'Missing a
#include <unistd.h>
?It is conditioned by
#if defined __SUNPRO_CC
in the preamble.
In that case, my issue with building documentation is unrelated, I'll file a new bug.
comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
Replying to wahspilihp@…:
In that case, my issue with building documentation is unrelated, I'll file a new bug.
No, it was the same error. Has duplicate #41163.
I've updated strigi to 0.7.8 but it also doesn't build on Mavericks.
comment:13 follow-up: 14 Changed 11 years ago by tombombadil@…
Cc Me!
New error with 0.7.8:
:info:build make[2]: *** [libstreamanalyzer/plugins/endplugins/CMakeFiles/ffmpeg.dir/ffmpegendanalyzer.cpp.o] Error 1 :info:build make[1]: *** [libstreamanalyzer/plugins/endplugins/CMakeFiles/ffmpeg.dir/all] Error 2 :info:build make: *** [all] Error 2 :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:64:21: error: reference to 'mutex' is ambiguous :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:67:13: error: reference to 'mutex' is ambiguous :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:68:33: error: reference to 'mutex' is ambiguous :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:70:33: error: reference to 'mutex' is ambiguous :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:72:35: error: reference to 'mutex' is ambiguous :info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_strigi/strigi/work/strigi-0.7.8/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:74:27: error: reference to 'mutex' is ambiguous :info:build 6 errors generated. :error:build org.macports.build for port strigi returned: command execution failed
comment:14 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | tombombadil@… added |
---|
Replying to tombombadil@…:
Cc Me!
You have to click the "CcMe!" button to Cc yourself. I've Cc'd you now.
comment:15 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
I have reported the problem in the strigi bug tracker: https://sourceforge.net/p/strigi/bugs/126/
comment:17 follow-up: 18 Changed 11 years ago by diochnos
comment:18 Changed 11 years ago by lodovico.ratti@…
Replying to diochnos@…:
Replying to diochnos@…:
Cc Me!
I am trying to build kde4-kile and this is a dependency.
same here. please Cc Me.
Changed 11 years ago by crazyhorse671@…
Attachment: | patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff added |
---|
source file patch
comment:21 follow-up: 26 Changed 11 years ago by crazyhorse671@…
comment:23 Changed 11 years ago by faustinroman@…
patch works for me too. I tested with kdelibs4 install that depends on strigi Thanks a lot!
comment:24 Changed 11 years ago by sylvain.girbal@…
patch worked well, and solved the second (mutex related) issue.
comment:26 follow-up: 28 Changed 11 years ago by wahspilihp (Philip Shaw)
Replying to crazyhorse671@…:
Replying to crazyhorse671@…:
Cc Me!
added patches. that solved it for me.
The Portfile patch left out the checksum for the code patch, so it doesn't build using "port install strigi".
I've attached an alternative patch with the checksums in, which worked for me. (It is only tested with the code patch saved in /opt/local/var/macports/distfiles/strigi/)
Changed 11 years ago by wahspilihp (Philip Shaw)
Attachment: | Portfile-strigi-checksums.diff added |
---|
Alternative portfile patch, with checksums entry corrected
comment:27 Changed 11 years ago by hjs@…
OP late back to the party. I downloaded patches with checksums and tried with "port install strigi". Solved it for me. Thank you very much. Great work!
comment:28 follow-up: 29 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | david.halpern@… added |
---|---|
Keywords: | haspatch added |
Replying to wahspilihp@…:
The Portfile patch left out the checksum for the code patch, so it doesn't build using "port install strigi".
The first patch was correct. We don't add checksums for local patchfiles, only for remote patchfiles. I will commit the first patch today.
Has duplicate #41225.
comment:29 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:30 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | strigi @0.7.7_5: error: use of undeclared identifier 'sleep' → strigi @0.7.8: error: reference to 'mutex' is ambiguous |
---|
Cc Me!