Opened 3 years ago

Last modified 2 years ago

#45965 new defect

mt-daapd not compiling on Mavericks 10.10

Reported by: cdl@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: mt-daapd

Description (last modified by mf2k (Frank Schima))

port install mt-daapd
--->  Computing dependencies for mt-daapd
--->  Building mt-daapd
Error: org.macports.build for port mt-daapd returned: command execution failed
Please see the log file for port mt-daapd for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mt-daapd failed

cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/main.log

[deleted for brevity]

:info:build if /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I..   -I/opt/local/include -g -DOGGVORBIS -DHOST='"i686-apple-darwin14.0.0"' -no-cpp-precomp -DMAC  -pipe -Os -I/opt/local/include -arch x86_64 -MT rend-osx.o -MD -MP -MF ".deps/rend-osx.Tpo" -c -o rend-osx.o rend-osx.c; \
:info:build 	then mv -f ".deps/rend-osx.Tpo" ".deps/rend-osx.Po"; else rm -f ".deps/rend-osx.Tpo"; exit 1; fi
:info:build rend-osx.c:34:10: fatal error: 'DNSServiceDiscovery/DNSServiceDiscovery.h' file not found
:info:build #include <DNSServiceDiscovery/DNSServiceDiscovery.h>
:info:build          ^
:info:build 1 error generated.
:info:build make[3]: *** [rend-osx.o] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/work/mt-daapd-0.2.4.2/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/work/mt-daapd-0.2.4.2/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/work/mt-daapd-0.2.4.2'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/work/mt-daapd-0.2.4.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/work/mt-daapd-0.2.4.2" && /usr/bin/make -j5 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port mt-daapd returned: command execution failed
:debug:build Error code: CHILDSTATUS 17929 2
: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
"portbuild::build_main org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for mt-daapd: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port mt-daapd for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mt-daapd/mt-daapd/main.log

Attachments (1)

main.log (16.7 KB) - added by cdl@… 3 years ago.
main.log

Download all attachments as: .zip

Change History (7)

comment:1 Changed 3 years ago by mf2k (Frank Schima)

  • Port mt-daapd added

In the future, please use WikiFormatting and fill in the Port field.

comment:2 Changed 3 years ago by mf2k (Frank Schima)

  • Description modified (diff)

Please attach the complete main.log file after running port clean on the port.

comment:3 Changed 3 years ago by cdl@…

main.log attached. Thanks.

Changed 3 years ago by cdl@…

main.log

comment:4 Changed 3 years ago by cdl@…

Problem solved.

I downloaded mDNSResponder-522.91.1 from MacOSForge and installed the mDNSMacOSX headers /opt/local/include/DNSServiceDiscovery. Compiled and seems to be working fine.

comment:5 Changed 2 years ago by hwr@…

As DNSServiceDisvocery.h is under ASL license, I could imagine that it could be supplied (with license intact) in the mt-daap package to make this self-contained again ?

comment:6 Changed 2 years ago by cdl@…

hwr, thanks for the update. mt-daap was not stable and kept crashing. I'm now using forked-daap on ubuntu. When mt-daap for OSX is fixed, please update this thread. Thank you.

Note: See TracTickets for help on using tickets.