[MacPorts] #35081: mpd @0.17: patch fails to apply on Snow Leopard

MacPorts noreply at macports.org
Sat Oct 20 15:04:02 PDT 2012


#35081: mpd @0.17: patch fails to apply on Snow Leopard
-----------------------------+----------------------------------
  Reporter:  coredumpling@…  |      Owner:  rmstonecipher@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.1
Resolution:                  |   Keywords:  snowleopard haspatch
      Port:  mpd             |
-----------------------------+----------------------------------

Comment (by flobakk@…):

 Still broken when trying to install mpd @0.17.2_0 on Snow Leopard.

 Log:
 {{{
 :notice:patch --->  Applying patches to mpd
 :info:patch --->  Applying patch-src-output-osx_plugin.c
 :debug:patch Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_mpd/mpd/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.6'
 :debug:patch Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_mpd/mpd/work/mpd-0.17.2"
 && /usr/bin/patch -p0'
 :debug:patch Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_mpd/mpd/work/mpd-0.17.2"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/mpd/files
 /patch-src-output-osx_plugin.c'
 :info:patch can't find file to patch at input line 3
 :info:patch Perhaps you used the wrong -p or --strip option?
 :info:patch The text leading up to this was:
 :info:patch --------------------------
 :info:patch |--- src/output/osx_plugin.c.orig   2009-09-11
 00:11:55.000000000 -0500
 :info:patch |+++ src/output/osx_plugin.c        2009-09-11
 22:02:46.000000000 -0500
 :info:patch --------------------------
 :info:patch File to patch:
 :info:patch Skip this patch? [y]
 :info:patch Skipping patch.
 :info:patch 6 out of 6 hunks ignored
 :info:patch Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_mpd/mpd/work/mpd-0.17.2"
 && /usr/bin/patch -p0 <
 '/opt/local/var/macports/sources/rsync.macports.org/release/ports/audio/mpd/files
 /patch-src-output-osx_plugin.c'
 :info:patch Exit code: 1
 :error:patch org.macports.patch for port mpd returned: command execution
 failed
 :debug:patch Error code: CHILDSTATUS 48329 1
 :debug:patch Backtrace: command execution failed
     while executing
 "system $fullcmdstring"
     ("eval" body line 1)
     invoked from within
 "eval system $notty $nice \$fullcmdstring"
     invoked from within
 "command_exec patch "" "< '$patch'""
     (procedure "portpatch::patch_main" line 35)
     invoked from within
 "$procedure $targetname"
 :info:patch Warning: targets not executed for mpd: org.macports.install
 org.macports.patch org.macports.configure org.macports.build
 org.macports.destroot
 :notice:patch Please see the log file for port mpd for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_audio_mpd/mpd/main.log
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35081#comment:9>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list