[Bug 257363] net/gitup not cleaning stale patches in ports tree

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 23 Jul 2021 18:58:32 UTC

            Bug ID: 257363
           Summary: net/gitup not cleaning stale patches in ports tree
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: eduardo@FreeBSD.org
          Reporter: zarychtam@plan-b.pwste.edu.pl
             Flags: maintainer-feedback?(eduardo@FreeBSD.org)
          Assignee: eduardo@FreeBSD.org

net/gitup with this config:

        "ports" : {
                "repository" : "/ports.git",
                "branch"     : "main",
                "target"     : "/usr/ports",
                "ignores"    : [

is leaving stale patches, for example after recent texinfo update after running
"gitup ports" it has left
/usr/ports/texinfo/files/patch-tp-Texinfo-XS-parsetexi-Parser-5556.pm and
patch-tp-Texinfo-XS-parsetexi-errors.c which both should have been deleted.
Such a mess leads usually only to breakage at the patching stage (see below),
but could probably lead to more pessimistic endings.

===>  Patching for texinfo-6.8,1
===>  Applying FreeBSD patches for texinfo-6.8,1 from
File to patch: ^C===>  FAILED Applying FreeBSD
===> FAILED to apply cleanly FreeBSD patch(es) 
*** Error code 1
*** Signal 2

It's only an example, I have fallen into this many times, especially while
updating python modules.

You are receiving this mail because:
You are the assignee for the bug.