Bug 130064 - lang/py-mx-base: patch out superfluous FETCH_CMD that can lock up.
Summary: lang/py-mx-base: patch out superfluous FETCH_CMD that can lock up.
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: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-30 22:10 UTC by jhs
Modified: 2009-01-11 14:40 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (554 bytes, patch)
2008-12-30 22:10 UTC, jhs
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jhs 2008-12-30 22:10:01 UTC
	
Default FreeBSD fetch behaviour is better than this port, so
Remove the -ar, else if you get a protocol error, this ports loops for ever
with a simple "make fetch"

Fix: Apply diff -c patch below


------------------------------------------------
http://berklix.com/~jhs/src/bsd/fixes/freebsd/ports/gen/lang/py-mx-base/Makefile.REL=7.1.diff

Remove the -ar, else if you get a protocol error, this ports loops for ever
with a simple "make fetch", thus it otherwise it prevents a
	"cd /usr/ports ; make -k fetch BATCH=YES"
having any chance of fetching more distfiles - as it loops forever.

Once I removed this damed ar, it passed by my ftp protocol error,
got on to next fetch rule & succeeded, log below:
---------------
ake fetch
===>  Vulnerability check disabled, database not found
=> egenix-mx-base-2.0.6.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from file:///pub/FreeBSD/dists/current.old//.
fetch: file:///pub/FreeBSD/dists/current.old//egenix-mx-base-2.0.6.tar.gz: No such file or directory
=> Attempting to fetch from /pub/FreeBSD/dists/current.old//.
fetch: /pub/FreeBSD/dists/current.old//egenix-mx-base-2.0.6.tar.gz: No such file or directory
=> Attempting to fetch from ftp://ftp/pub/FreeBSD/dists/current.old//.
fetch: ftp://ftp/pub/FreeBSD/dists/current.old//egenix-mx-base-2.0.6.tar.gz: Not logged in
=> Attempting to fetch from file:///pub/FreeBSD/dists/current//.
egenix-mx-base-2.0.6.tar.gz                   100% of  573 kB 7271 kBps
---------------

Note I have similarly hacked ../../py-mx-experimental/Makefile
How-To-Repeat: 	
	Break your ftp proxy Or simply have no working ftp, or a broken coms link,
	& specify a local distfiles directory in make.conf,
	then run make fetch & see it loop forever on ftp protocol error.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-12-31 06:44:29 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-python

freebsd-python@ wants this port PRs (via the GNATS Auto Assign Tool)
Comment 2 Pav Lucistnik freebsd_committer freebsd_triage 2009-01-11 14:28:01 UTC
State Changed
From-To: open->closed

The patch you submitted is incomplete. But I have changed the port to not need 
the -ar
Comment 3 dfilter service freebsd_committer freebsd_triage 2009-01-11 14:31:24 UTC
pav         2009-01-11 14:31:10 UTC

  FreeBSD ports repository

  Modified files:
    lang/py-mx-base      Makefile 
  Log:
  - Chase redirect and remove fetch -ar
  
  PR:             ports/130064
  Reported by:    Julian H. Stacey <jhs@berklix.org>
  
  Revision  Changes    Path
  1.25      +1 -2      ports/lang/py-mx-base/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"