Bug 92588 - make fetchindex failed with FETCHINDEX=wget
Summary: make fetchindex failed with FETCHINDEX=wget
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-31 08:10 UTC by Alexander Logvinov
Modified: 2007-03-13 02:13 UTC (History)
0 users

See Also:


Attachments
file.diff (398 bytes, patch)
2006-01-31 08:10 UTC, Alexander Logvinov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Logvinov 2006-01-31 08:10:12 UTC
make fetchindex in /usr/ports/ failed with FETCHINDEX=wget

How-To-Repeat: 
cd /usr/ports/
make FETCHINDEX=wget fetchindex
bunzip2: (stdin) is not a bzip2 file.
*** Error code 2

Stop in /usr/ports.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2006-01-31 09:57:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

Part of checkin N-1.
Comment 2 Kris Kennaway 2006-01-31 19:03:58 UTC
We don't officially support using anything other than fetch(1) to
fetch with, and your patch breaks the fix in the last checkin.

Kris
Comment 3 abuse 2006-01-31 22:43:29 UTC
Hello.

> We don't officially support using anything other than fetch(1) to fetch with, 
> and your patch breaks the fix in the last checkin. 
 
 Ok, how about this patch:

--- Makefile.old        Sat Jan 28 11:11:04 2006
+++ Makefile    Wed Feb  1 07:33:59 2006
@@ -76,11 +76,11 @@
    chmod a+r ${INDEXDIR}/${INDEXFILE}

 ${INDEXDIR}/{INDEXFILE}.bz2: .PHONY
-   @${FETCHINDEX} -o ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2
+   @${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2

 MASTER_SITE_INDEX?=    http://www.FreeBSD.org/ports/
 SETENV?=       /usr/bin/env
-FETCHINDEX?=   ${SETENV} ${FETCH_ENV} fetch -am
+FETCHINDEX?=   ${SETENV} ${FETCH_ENV} fetch -am -o
 INDEX_JOBS?=   2

 .if !defined(INDEX_VERBOSE)



 With FETCHINDEX=wget -O and fetch -am -o everything is ok.

-- 
WBR
Comment 4 Kris Kennaway 2006-01-31 23:00:11 UTC
On Wed, Feb 01, 2006 at 07:47:46AM +0900, Alexander Logvinov wrote:
> Hello.
> 
> > We don't officially support using anything other than fetch(1) to fetch with, 
> > and your patch breaks the fix in the last checkin. 
>  
>  Ok, how about this patch:
> 
> --- Makefile.old        Sat Jan 28 11:11:04 2006
> +++ Makefile    Wed Feb  1 07:33:59 2006
> @@ -76,11 +76,11 @@
>     chmod a+r ${INDEXDIR}/${INDEXFILE}
> 
>  ${INDEXDIR}/{INDEXFILE}.bz2: .PHONY
> -   @${FETCHINDEX} -o ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2
> +   @${FETCHINDEX} ${INDEXDIR}/${INDEXFILE}.bz2 ${MASTER_SITE_INDEX}${INDEXFILE}.bz2
> 
>  MASTER_SITE_INDEX?=    http://www.FreeBSD.org/ports/
>  SETENV?=       /usr/bin/env
> -FETCHINDEX?=   ${SETENV} ${FETCH_ENV} fetch -am
> +FETCHINDEX?=   ${SETENV} ${FETCH_ENV} fetch -am -o
>  INDEX_JOBS?=   2
> 
>  .if !defined(INDEX_VERBOSE)
> 
> 
> 
>  With FETCHINDEX=wget -O and fetch -am -o everything is ok.

That looks OK, thanks.

Kris
Comment 5 Mark Linimon freebsd_committer freebsd_triage 2006-02-03 02:17:27 UTC
State Changed
From-To: open->analyzed

The latest patch has been accepted for testing on the cluster.
Comment 6 Mark Linimon freebsd_committer freebsd_triage 2006-02-14 04:39:05 UTC
Responsible Changed
From-To: portmgr->linimon

Although this has been committed, there is apparently still a problem. 
linimon to investigate.
Comment 7 Mark Linimon freebsd_committer freebsd_triage 2007-03-13 02:13:10 UTC
State Changed
From-To: analyzed->closed

Submitter notes that this problem has been resolved.