ports/140249: [PATCH] Unable to fetch distfiles of archivers/unzip
| From: | Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> |
| Date: | Tue, 3 Nov 2009 23:05:49 +0800 (CST) |
| Subject: | [PATCH] Unable to fetch distfiles of archivers/unzip |
| Send-pr version: | 3.113 |
| Number: | 140249 |
| Category: | ports |
| Synopsis: | [PATCH] Unable to fetch distfiles of archivers/unzip |
| Severity: | serious |
| Priority: | high |
| Responsible: | ache@FreeBSD.org |
| State: | closed |
| Class: | sw-bug |
| Arrival-Date: | Tue Nov 03 15:30:03 UTC 2009 |
| Closed-Date: | Fri Nov 06 05:56:11 UTC 2009 |
| Last-Modified: | Fri Nov 06 05:56:11 UTC 2009 |
| Originator: | Denny Lin |
| Release: | FreeBSD 7.2-RELEASE-p4 amd64 |
| Organization: |
| Environment: |
System: FreeBSD cnmc32.hs.ntnu.edu.tw 7.2-RELEASE-p4 FreeBSD 7.2-RELEASE-p4 #0: Mon Oct 26 19:41:45 CST 2009 root@cnmc32.hs.ntnu.edu.tw:/usr/obj/usr/src/sys/cnmc32 amd64
| Description: |
Unable to fetch distfiles. MASTER_SITES seems to have a problem.
| How-To-Repeat: |
# cd /usr/ports/archivers/unzip && make fetch
| Fix: |
Add "\" in front of "(" and ")" (see patch).
| Download unzip.patch |
--- archivers/unzip/Makefile.orig 2009-11-03 22:58:30.000000000 +0800 +++ archivers/unzip/Makefile 2009-11-03 22:58:37.000000000 +0800 @@ -8,7 +8,7 @@ PORTNAME= unzip PORTVERSION= 6.0 CATEGORIES?= archivers -MASTER_SITES= SF/infozip/UnZip%206.x%20(latest)/UnZip%20${PORTVERSION} \ +MASTER_SITES= SF/infozip/UnZip%206.x%20\(latest\)/UnZip%20${PORTVERSION} \ SF/infozip/UnZip%205.x%20and%20earlier/5.51:unreduce DISTNAME= ${PORTNAME}60 |
| Release-Note: |
| Audit-Trail: |
| Responsible Changed | |
| From-To: | freebsd-ports-bugs->ache |
| By: | edwin |
| When: | Tue Nov 3 15:39:10 UTC 2009 |
| Why: | Over to maintainer (via the GNATS Auto Assign Tool) |
| State Changed | |
| From-To: | open->feedback |
| By: | ache |
| When: | Wed Nov 4 12:24:43 UTC 2009 |
| Why: | Something is wrong on your side, you should investigate (I can't reproduce it). I got them without any additional slashesh, moreover, () are valid URL chars. # make fetch Use INSTALL_AS_INFOUNZIP=yes to install Info Unzip as /usr/local/bin/info-unzip => unzip60.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://heanet.dl.sourceforge.net/project/infozip/UnZip%206.x%20(latest)/UnZip%206.0/. unzip60.tar.gz 100% of 1344 kB 825 kBps => unreduce_full.zip doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://heanet.dl.sourceforge.net/project/infozip/UnZip%205.x%20and%20earlier/5.51/. unreduce_full.zip 100% of 2849 B 1187 kBps |
| Reply via E-mail | |
| From: | Denny Lin <dennylin93@cnmc32.hs.ntnu.edu.tw> |
| Date: | Wed, 4 Nov 2009 23:15:28 +0800 |
|
--mYCpIKhGyMATD0i+ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've found the problem. The following lines are in my /etc/make.conf: MASTER_SITE_BACKUP?=3D \ http://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \ ftp://ftp.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \ http://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \ ftp://ftp2.tw.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \ ftp://ftp4.freebsd.org/pub/FreeBSD/distfiles/${DIST_SUBDIR}/ \ ${MASTER_SITES:S/%SUBDIR%/${MASTER_SITE_SUBDIR}/} MASTER_SITE_OVERRIDE?=3D ${MASTER_SITE_BACKUP} If I comment them out, # make fetch works, but if they're uncommented, the blackslashes are required. --=20 Denny Lin --mYCpIKhGyMATD0i+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAkrxmpAACgkQtYH0ykp1KDwwdgCfQb3EYUmTBsAU37qzLJyyn+mz U2YAnjgFZKx75GGG+hFCyHLWNwv7Zi+I =9DQH -----END PGP SIGNATURE----- --mYCpIKhGyMATD0i+-- | |
| State Changed | |
| From-To: | feedback->closed |
| By: | ache |
| When: | Fri Nov 6 05:55:08 UTC 2009 |
| Why: | Should be fixed in Makefile v1.67 |
| Unformatted: |
