From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Sep 16 16:40:02 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A8D5DA55 for ; Mon, 16 Sep 2013 16:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 82FDC2AD3 for ; Mon, 16 Sep 2013 16:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r8GGe2ot019932 for ; Mon, 16 Sep 2013 16:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r8GGe294019931; Mon, 16 Sep 2013 16:40:02 GMT (envelope-from gnats) Resent-Date: Mon, 16 Sep 2013 16:40:02 GMT Resent-Message-Id: <201309161640.r8GGe294019931@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jeremy Chadwick Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F0BB5726 for ; Mon, 16 Sep 2013 16:31:15 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9B4512A72 for ; Mon, 16 Sep 2013 16:31:15 +0000 (UTC) Received: from mfilter13-d.gandi.net (mfilter13-d.gandi.net [217.70.178.141]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 6746BA80B9 for ; Mon, 16 Sep 2013 18:30:58 +0200 (CEST) Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter13-d.gandi.net (mfilter13-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id Que0u2r4nsi7 for ; Mon, 16 Sep 2013 18:30:56 +0200 (CEST) Received: from jdc.koitsu.org (c-76-102-14-35.hsd1.ca.comcast.net [76.102.14.35]) (Authenticated sender: jdc@koitsu.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 84844A80DD for ; Mon, 16 Sep 2013 18:30:56 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id C210573A1B; Mon, 16 Sep 2013 09:30:54 -0700 (PDT) Message-Id: <20130916163054.C210573A1B@icarus.home.lan> Date: Mon, 16 Sep 2013 09:30:54 -0700 (PDT) From: Jeremy Chadwick To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.114 Subject: ports/182159: Fix ftp/wget to work with perl 5.18 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jeremy Chadwick List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Sep 2013 16:40:02 -0000 >Number: 182159 >Category: ports >Synopsis: Fix ftp/wget to work with perl 5.18 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Mon Sep 16 16:40:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Jeremy Chadwick >Release: FreeBSD 9.2-PRERELEASE amd64 >Organization: >Environment: System: FreeBSD icarus.home.lan 9.2-PRERELEASE FreeBSD 9.2-PRERELEASE #0 r255608: Mon Sep 16 00:47:48 PDT 2013 root@icarus.home.lan:/usr/obj/usr/src/sys/X7SBA_RELENG_9_amd64 amd64 >Description: ftp/wget does not build when perl 5.18 is used on the system. The failure happens during the pod2man phase during build, and causes the build to bail out: ./texi2pod.pl -D VERSION="1.14" ./wget.texi wget.pod /usr/local/bin/pod2man --center="GNU Wget" --release="GNU Wget 1.14" wget.pod > wget.1 wget.pod around line 2105: Expected text after =item, not a number wget.pod around line 2110: Expected text after =item, not a number wget.pod around line 2116: Expected text after =item, not a number wget.pod around line 2121: Expected text after =item, not a number wget.pod around line 2126: Expected text after =item, not a number wget.pod around line 2131: Expected text after =item, not a number wget.pod around line 2136: Expected text after =item, not a number wget.pod around line 2141: Expected text after =item, not a number POD document had syntax errors at /usr/local/bin/pod2man line 71. The official wget repo lacks a fix for this problem: http://git.savannah.gnu.org/cgit/wget.git/tree/doc ...and I will be contacting them to have it fixed upstream and will follow up to this PR with a official bug number: http://savannah.gnu.org/bugs/?group=wget In the meantime, roughly 4 months ago, some other folks came up with a workaround: http://www.sourcemage.org/issues/546 However they seemed to miss fixing the IPv6 option (-6), so I've included that in the below. >How-To-Repeat: cd /usr/ports/ftp/wget && make, on a system using perl 5.18. >Fix: Apply below patch (generated with "svn diff"). This will hold us over until I can get a proper fix from the official wget folks. A full replacement files/patch-doc__wget.texi will also be available at the below URL once I get a PR number from GNATS: http://jdc.koitsu.org/freebsd/{prnum}/patch-doc__wget.texi Index: files/patch-doc__wget.texi =================================================================== --- files/patch-doc__wget.texi (revision 327410) +++ files/patch-doc__wget.texi (working copy) @@ -1,6 +1,6 @@ ---- doc/wget.texi -+++ doc/wget.texi -@@ -875,7 +875,7 @@ recommendation to block many unrelated users from a web site due to the +--- doc/wget.texi.orig 2012-08-04 01:41:52.000000000 -0700 ++++ doc/wget.texi 2013-09-16 09:14:28.008869641 -0700 +@@ -876,7 +876,7 @@ actions of one. @cindex proxy @@ -9,7 +9,7 @@ Don't use proxies, even if the appropriate @code{*_proxy} environment variable is defined. -@@ -976,7 +976,7 @@ are outside the range of @sc{ascii} characters (that is, greater than +@@ -977,9 +977,9 @@ whose encoding does not match the one used locally. @cindex IPv6 @@ -16,9 +16,54 @@ -@itemx -4 +@item -4 @itemx --inet4-only - @itemx -6 +-@itemx -6 ++@item -6 @itemx --inet6-only -@@ -3093,7 +3093,7 @@ display properly---the same as @samp{-p}. + Force connecting to IPv4 or IPv6 addresses. With @samp{--inet4-only} + or @samp{-4}, Wget will only connect to IPv4 hosts, ignoring AAAA +@@ -2106,32 +2106,32 @@ + + + @table @asis +-@item 0 ++@item .0 + No problems occurred. + +-@item 1 ++@item .1 + Generic error code. + +-@item 2 ++@item .2 + Parse error---for instance, when parsing command-line options, the + @samp{.wgetrc} or @samp{.netrc}... + +-@item 3 ++@item .3 + File I/O error. + +-@item 4 ++@item .4 + Network failure. + +-@item 5 ++@item .5 + SSL verification failure. + +-@item 6 ++@item .6 + Username/password authentication failure. + +-@item 7 ++@item .7 + Protocol errors. + +-@item 8 ++@item .8 + Server issued an error response. + @end table + +@@ -3094,7 +3094,7 @@ Change setting of passive @sc{ftp}, equivalent to the @samp{--passive-ftp} option. @@ -27,7 +72,7 @@ Specify password @var{string} for both @sc{ftp} and @sc{http} file retrieval. This command can be overridden using the @samp{ftp_password} and @samp{http_password} command for @sc{ftp} and @sc{http} respectively. -@@ -3604,7 +3604,7 @@ In addition to the environment variables, proxy location and settings +@@ -3605,7 +3605,7 @@ may be specified from within Wget itself. @table @samp @@ -36,5 +81,3 @@ @itemx proxy = on/off This option and the corresponding command may be used to suppress the use of proxy, even if the appropriate environment variables are set. --- -cgit v0.9.0.2 >Release-Note: >Audit-Trail: >Unformatted: