Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Nov 2021 04:31:44 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 259891] net-mgmt/smokeping patch fails when upgrading from 2.7.3_2 to 2.8.2
Message-ID:  <bug-259891-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259891

            Bug ID: 259891
           Summary: net-mgmt/smokeping patch fails when upgrading from
                    2.7.3_2 to 2.8.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: freebsd@shaunc.com
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

Overview:

When attempting to upgrade from smokeping-2.7.3_2 to smokeping-2.8.2, the
"patch-bin_smokeping" patch fails to apply and the build fails.=20

Steps to Reproduce:

cd /usr/ports/net-mgmt/smokeping
make

A prompt appears for "File to patch:" and waits for input. I'm not sure what
it's asking for, so I hit Enter, then Enter again to confirm skipping the
patch.

Actual Results:

[root@host /usr/ports/net-mgmt/smokeping]# make
=3D=3D=3D>  License GPLv2 accepted by the user
=3D=3D=3D>   smokeping-2.8.2 depends on file: /usr/local/sbin/pkg - found
=3D=3D=3D> Fetching all distfiles required by smokeping-2.8.2 for building
=3D=3D=3D>  Extracting for smokeping-2.8.2
=3D> SHA256 Checksum OK for oetiker-SmokePing-2.8.2_GH0.tar.gz.
cd /usr/ports/net-mgmt/smokeping/work/SmokePing-2.8.2/lib ; /bin/rm -f BER.=
pm
SNMP_util.pm SNMP_Session.pm
=3D=3D=3D>  Patching for smokeping-2.8.2
=3D=3D=3D>  Applying FreeBSD patches for smokeping-2.8.2 from
/usr/ports/net-mgmt/smokeping/files
File to patch:
No file found--skip this patch? [y]
1 out of 1 hunks ignored--saving rejects to Oops.rej
=3D=3D=3D>  FAILED Applying FreeBSD patch-bin_smokeping
=3D=3D=3D> Cleanly applied FreeBSD patch(es)  patch-Makefile.am
=3D=3D=3D> FAILED to apply cleanly FreeBSD patch(es)  patch-bin_smokeping
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/net-mgmt/smokeping
*** Error code 1

Stop.
make: stopped in /usr/ports/net-mgmt/smokeping

[root@host /usr/ports/net-mgmt/smokeping]# cat work/SmokePing-2.8.2/Oops.rej
@@ -4,13 +4,12 @@
 use strict;
 use warnings;

-use FindBin;
 use lib (split /:/, q{}); # PERL5LIB
-use lib "$FindBin::RealBin/../lib";use lib
"$FindBin::RealBin/../thirdparty/lib/perl5"; # LIBDIR
+use lib "/usr/local/smokeping/lib";

 use Smokeping;

-Smokeping::main("$FindBin::RealBin/../etc/config");
+Smokeping::main("/usr/local/etc/smokeping/config");

 =3Dhead1 NAME


Expected Results:

The patch applies and the build completes successfully

Build Date & Hardware:

FreeBSD 12.2-RELEASE-p11 #8 6be068e8574(releng/12.2): Thu Nov  4 15:21:58 C=
DT
2021

Additional Information:

N/A

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259891-7788>