[Bug 259891] net-mgmt/smokeping patch fails when upgrading from 2.7.3_2 to 2.8.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 17 Nov 2021 04:31:44 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259891 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. 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 ===> License GPLv2 accepted by the user ===> smokeping-2.8.2 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by smokeping-2.8.2 for building ===> Extracting for smokeping-2.8.2 => 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 ===> Patching for smokeping-2.8.2 ===> 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 ===> FAILED Applying FreeBSD patch-bin_smokeping ===> Cleanly applied FreeBSD patch(es) patch-Makefile.am ===> 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"); =head1 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 CDT 2021 Additional Information: N/A -- You are receiving this mail because: You are the assignee for the bug.