Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

main.log (893.7 KB) - added by hjs@… 10 years ago.
main.2.log (793.1 KB) - added by wahspilihp (Philip Shaw) 10 years ago.
Log when building with +docs
patch-libstreamanalyzer-plugins-endplugins-ffmpegendanalyzer.cpp.diff (1.2 KB) - added by crazyhorse671@… 10 years ago.
source file patch
Portfile-strigi.diff (596 bytes) - added by crazyhorse671@… 10 years ago.
Portfile patch
Portfile-strigi-checksums.diff (1.3 KB) - added by wahspilihp (Philip Shaw) 10 years ago.
Alternative portfile patch, with checksums entry corrected

Download all attachments as: .zip

Change History (35)

Changed 10 years ago by hjs@…

Attachment: main.log added

comment:1 Changed 10 years ago by lars@…

Cc: lars@… added

Cc Me!

comment:2 Changed 10 years ago by bountin (Martin Prebio)

Cc: martin.prebio@… added

Cc Me!

comment:3 Changed 10 years ago by soehn@…

Cc: soehn@… added

Cc Me!

comment:4 Changed 10 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

Last edited 10 years ago by wahspilihp (Philip Shaw) (previous) (diff)

Changed 10 years ago by wahspilihp (Philip Shaw)

Attachment: main.2.log added

Log when building with +docs

comment:5 Changed 10 years ago by sylvain.girbal@…

Cc: sylvain.girbal@… added

Cc Me!

comment:6 in reply to:  5 ; Changed 10 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.

Last edited 10 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:7 Changed 10 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 errorstrigi @2.2.1: error: use of undeclared identifier 'sleep'

comment:8 Changed 10 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 in reply to:  6 ; Changed 10 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 in reply to:  9 Changed 10 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:11 Changed 10 years ago by mfuhrer@…

Cc: mfuhrer@… added

Cc Me!

comment:12 Changed 10 years ago by alexcoder@…

Cc: alexcoder@… added

Cc Me!

comment:13 Changed 10 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 in reply to:  13 Changed 10 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 10 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:16 Changed 10 years ago by diochnos

Cc: diochnos@… added

Cc Me!

comment:17 in reply to:  16 ; Changed 10 years ago by diochnos

Replying to diochnos@…:

Cc Me!

I am trying to build kde4-kile and this is a dependency.

comment:18 in reply to:  17 Changed 10 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.

Last edited 10 years ago by lodovico.ratti@… (previous) (diff)

comment:19 Changed 10 years ago by egon.geerardyn@…

Cc: egon.geerardyn@… added

Cc Me!

comment:20 Changed 10 years ago by crazyhorse671@…

Cc: crazyhorse671@… added

Cc Me!

Changed 10 years ago by crazyhorse671@…

source file patch

Changed 10 years ago by crazyhorse671@…

Attachment: Portfile-strigi.diff added

Portfile patch

comment:21 in reply to:  20 ; Changed 10 years ago by crazyhorse671@…

Replying to crazyhorse671@…:

Cc Me!

added patches. that solved it for me.

Last edited 10 years ago by crazyhorse671@… (previous) (diff)

comment:22 Changed 10 years ago by faustinroman@…

Cc: faustinroman@… added

Cc Me!

comment:23 Changed 10 years ago by faustinroman@…

patch works for me too. I tested with kdelibs4 install that depends on strigi Thanks a lot!

comment:24 Changed 10 years ago by sylvain.girbal@…

patch worked well, and solved the second (mutex related) issue.

comment:25 Changed 10 years ago by whcordis@…

Cc: whcordis@… added

Cc Me!

comment:26 in reply to:  21 ; Changed 10 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 10 years ago by wahspilihp (Philip Shaw)

Alternative portfile patch, with checksums entry corrected

comment:27 Changed 10 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 in reply to:  26 ; Changed 10 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 in reply to:  28 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Replying to ryandesign@…:

I will commit the first patch today.

r113010

comment:30 Changed 10 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
Note: See TracTickets for help on using tickets.