[MacPorts] #41152: strigi @2.2.1 +build error
#41152: strigi @2.2.1 +build error --------------------+-------------------------------- Reporter: hjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: strigi --------------------+-------------------------------- 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. -- Ticket URL: <https://trac.macports.org/ticket/41152> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @2.2.1 +build error ---------------------+-------------------------------- Reporter: hjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: strigi | ---------------------+-------------------------------- Comment (by wahspilihp@…): I'm not absolutely convinced I have the same problem: 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 -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @2.2.1 +build error ---------------------+-------------------------------- Reporter: hjs@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: strigi | ---------------------+-------------------------------- Comment (by sylvain.girbal@…): Replying to [comment:5 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. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @2.2.1: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Changes (by ryandesign@…): * keywords: => mavericks * owner: macports-tickets@… => clubjuggler@… * cc: wahspilihp@… (added) -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by wahspilihp@…): Replying to [comment:6 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. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Replying to [comment:9 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. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (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 }}} -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Changes (by ryandesign@…): * cc: tombombadil@… (added) Comment: Replying to [comment:13 tombombadil@…]:
Cc Me!
You have to click the "CcMe!" button to Cc yourself. I've Cc'd you now. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by ryandesign@…): I have reported the problem in the strigi bug tracker: https://sourceforge.net/p/strigi/bugs/126/ -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by diochnos@…): Replying to [comment:16 diochnos@…]:
Cc Me!
I am trying to build kde4-kile and this is a dependency. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by lodovico.ratti@…): Replying to [comment:17 diochnos@…]:
Replying to [comment:16 diochnos@…]:
Cc Me!
I am trying to build kde4-kile and this is a dependency.
same here -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by crazyhorse671@…): Replying to [comment:20 crazyhorse671@…]:
Cc Me!
{{{ added patches. that solved it for me. }}} -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by faustinroman@…): patch works for me too. I tested with kdelibs4 install that depends on strigi Thanks a lot! -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by sylvain.girbal@…): patch worked well, and solved the second (mutex related) issue. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:24> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (by wahspilihp@…): Replying to [comment:21 crazyhorse671@…]:
Replying to [comment:20 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/) -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:26> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+--------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: strigi | ---------------------+--------------------------- Comment (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! -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:27> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+-------------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks haspatch Port: strigi | ---------------------+-------------------------------- Changes (by ryandesign@…): * cc: david.halpern@… (added) * keywords: mavericks => mavericks haspatch Comment: Replying to [comment:26 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. -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:28> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.7_5: error: use of undeclared identifier 'sleep' ---------------------+-------------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks haspatch Port: strigi | ---------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:28 ryandesign@…]:
I will commit the first patch today.
r113010 -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:29> MacPorts <http://www.macports.org/> Ports system for OS X
#41152: strigi @0.7.8: error: reference to 'mutex' is ambiguous ---------------------+-------------------------------- Reporter: hjs@… | Owner: clubjuggler@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: mavericks haspatch Port: strigi | ---------------------+-------------------------------- -- Ticket URL: <https://trac.macports.org/ticket/41152#comment:30> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts