Opened 2 years ago

Closed 2 years ago

#66075 closed defect (fixed)

mm-common @1.0.4 patch failure

Reported by: MaddTheSane (C.W. Betts) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: ventura Cc: dbevans (David B. Evans), mascguy (Christopher Nielsen)
Port: mm-common

Description

When attempting to build mm-common (which is required by Inkscape), it fails to build due to a failed patch.

First noted on Ventura, but I don't think that has anything to do with the failed patch.

:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_mm-common/mm-common/work/mm-common-1.0.4" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/mm-common/files/patch-use-our-python3.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_mm-common/mm-common/work/mm-common-1.0.4" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/mm-common/files/patch-use-our-python3.diff'
:info:patch patching file meson.build
:info:patch patching file 'util/mm-common-get.in'
:info:patch patching file 'util/build_scripts/dist-build-scripts.py'
:info:patch patching file 'util/build_scripts/doc-reference.py'
:info:patch 1 out of 1 hunks failed--saving rejects to 'util/build_scripts/doc-reference.py.rej'
:info:patch patching file 'util/build_scripts/dist-changelog.py'
:info:patch patching file 'util/build_scripts/generate-binding.py'
:info:patch patching file 'util/build_scripts/check-dllexport-usage.py'
:info:patch patching file 'util/doc_install.py'
:info:patch patching file 'util/doc_postprocess.py'
:info:patch patching file 'util/meson_aux/copy-files.py'
:info:patch patching file 'util/meson_aux/extra-dist-cmd.py'
:info:patch patching file 'util/meson_aux/extra-install-cmd.py'
:info:patch patching file 'util/meson_aux/libstdcxx-tag.py'
:info:patch patching file 'util/meson_aux/skeletonmm-tarball.py'
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_mm-common/mm-common/work/mm-common-1.0.4" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/gnome/mm-common/files/patch-use-our-python3.diff'

Change History (2)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: ventura added
Owner: set to ryandesign
Status: newaccepted

I can't reproduce this problem on Monterey. The hunk of the patch for doc-reference.py applies with fuzz. So either there is something wrong with your patch utility or this is an intentional change in how the patch utility works as of Ventura. Either way, I'll de-fuzz the patch.

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

Resolution: fixed
Status: acceptedclosed

In 35a9a5a84e190e7faddbf5a4f8b5a3669241a893/macports-ports (master):

mm-common: De-fuzz the patchfile

Closes: #66075

Note: See TracTickets for help on using tickets.