#66459 closed defect (fixed)

git @2.39.0 does not build on PPC Leopard, Mac OS X 10.5.8, because of faulty patch file

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: leopard ppc Cc: ciserlohn@…, herby.gillot@…
Port: git

Description

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

Attachments (1)

main.log (16.8 KB) - added by ballapete (Peter "Pete" Dyballa) 17 months ago.
Main.log from PPC Leopard

Download all attachments as: .zip

Change History (3)

Changed 17 months ago by ballapete (Peter "Pete" Dyballa)

Attachment: main.log added

Main.log from PPC Leopard

comment:1 Changed 17 months ago by herbygillot (Herby Gillot)

The patch file has been updated. Can you do another port selfupdate and try again?

comment:2 Changed 17 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.