Bug 78228

Summary: Failed to fetch mozilla-1.7.5-langjajp.fix.xpi from ftp.mozilla.org
Product: Ports & Packages Reporter: Ko Nonomura <nonomura>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Ko Nonomura 2005-03-01 06:50:18 UTC
Make fetch fails under /usr/ports/japanese/mozilla-jlp.
I am using mozilla-jlp_1.7.5,2

Output below

make fetch
===>  Vulnerability check disabled
=> mozilla-1.7.5-langjajp.fix.xpi doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from ftp://ftp.mozilla-japan.org/pub/mozilla-japan/mozilla/releases/1.7.5/.
fetch: ftp://ftp.mozilla-japan.org/pub/mozilla-japan/mozilla/releases/1.7.5/mozilla-1.7.5-langjajp.fix.xpi: Connection refused
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mozilla-1.7.5-langjajp.fix.xpi: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/japanese/mozilla-jlp.

Fix: 

Do not use passive mode to fetch file.

i.e.
unsetenv FTP_PASSIVE_MODE no
make fetch

works.

For another workaround, I am asking maintainer of ftp.mozilla-japan.org if they can enable passive mode.
How-To-Repeat: Run make fetch under /usr/ports/japanese/mozilla-jlp
Comment 1 Maho Nakata freebsd_committer freebsd_triage 2005-03-19 10:41:36 UTC
State Changed
From-To: open->closed

1. now mozilla-japan.org seems to accept passive mode 
% setenv | grep FTP 
FTP_PASSIVE_MODE=YES 
% fetch ftp://ftp.mozilla-japan.org/pub/mozilla-japan/mozilla/releases/1.7.5/mozilla-1.7.5-langjajp.fix.xpi 
mozilla-1.7.5-langjajp.fix.xpi                100% of  839 kB  379 kBps 
2. as another workaround, I put this file at FreeBSD.org