[MacPorts] #66459: git @2.39.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of faulty patch file

MacPorts noreply at macports.org
Tue Dec 13 09:35:31 UTC 2022


#66459: git @2.39.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of
faulty patch file
-------------------------+--------------------
 Reporter:  ballapete    |      Owner:  (none)
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:  2.8.0
 Keywords:  leopard ppc  |       Port:  git
-------------------------+--------------------
 {{{
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_git/git/work/git-2.39.0"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/git/files
 /patch-ignore-fsmonitor-daemon-backend.diff'
 DEBUG: system:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_git/git/work/git-2.39.0"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/git/files
 /patch-ignore-fsmonitor-daemon-backend.diff'
 patching file Makefile
 Hunk #1 FAILED at 2016.
 1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_git/git/work/git-2.39.0"
 && /usr/bin/patch -p1 <
 '/opt/local/var/macports/sources/nue.de.rsync.macports.org/macports/release/tarballs/ports/devel/git/files
 /patch-ignore-fsmonitor-daemon-backend.diff'
 Exit code: 1
 Error: Failed to patch git: command execution failed
 DEBUG: Error code: CHILDSTATUS 6143 1
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec patch "" "< '$patch'""
     (procedure "portpatch::patch_main" line 41)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_devel_git/git/main.log
 for details.
 }}}

 `Makefile` has now:

 {{{
  2148   ifdef FSMONITOR_DAEMON_BACKEND
  2149           COMPAT_CFLAGS += -DHAVE_FSMONITOR_DAEMON_BACKEND
  2150           COMPAT_OBJS += compat/fsmonitor/fsm-
 listen-$(FSMONITOR_DAEMON_BACKEND).o
  2151           COMPAT_OBJS += compat/fsmonitor/fsm-
 health-$(FSMONITOR_DAEMON_BACKEND).o
  2152           COMPAT_OBJS += compat/fsmonitor/fsm-
 ipc-$(FSMONITOR_DAEMON_BACKEND).o
  2153   endif
  2154
  2155   ifdef FSMONITOR_OS_SETTINGS
  2156           COMPAT_CFLAGS += -DHAVE_FSMONITOR_OS_SETTINGS
  2157           COMPAT_OBJS += compat/fsmonitor/fsm-
 settings-$(FSMONITOR_OS_SETTINGS).o
  2158           COMPAT_OBJS += compat/fsmonitor/fsm-path-
 utils-$(FSMONITOR_OS_SETTINGS).o
  2159   endif
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/66459>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list