#26452: port can't fetch distfile containing space in path ---------------------------------+------------------------------------------ Reporter: elelay@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: fetch space | Port: gtk-osx-application ---------------------------------+------------------------------------------ I would like to fetch [https://sourceforge.net/projects/gtk-osx/files/GTK- OSX%20Build/ ige-mac-integration-0.9.6.tar.bz2] in the "GTK-OSX Build" directory of the sf.net project called gtk-osx. Here is the log : {{{ ---> Attempting to fetch ige-mac-integration-0.9.6.tar.bz2 from http://lil.fr.distfiles.macports.org/gtk-osx-application % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 DEBUG: Fetching failed:: The requested URL returned error: 404 ---> Attempting to fetch ige-mac-integration-0.9.6.tar.bz2 from http://sourceforge.net/projects/gtk-osx/files/GTK-OSX % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 71562 100 71562 0 0 45729 0 0:00:01 0:00:01 --:--:-- 103k }}} what is in Portfile is : {{{ master_sites http://sourceforge.net/projects/gtk-osx/files/GTK-OSX Build/ distname ige-mac-integration-${version} use_bzip2 yes }}} A direct fetch from sourceforge didn't work, but the download script on the macports mirror seemed to succeed (you can try to port fetch gtk-osx- application and it will fetch from distfiles.mp.org). I open a bug this time so someone explains how to express the download url or confirms it's a bug in MP. To try out for yourself, upgrade the version in devel/gtk-osx- application/Portfile to 0.8.6 -- Ticket URL: <http://trac.macports.org/ticket/26452> MacPorts <http://www.macports.org/> Ports system for Mac OS