[MacPorts] #20535: fetch phase incorrect error for bogus filename
#20535: fetch phase incorrect error for bogus filename ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.8.0 Keywords: | Port: ------------------------------+--------------------------------------------- While creating a new portfile, I inadvertently misnamed the port. It happened to be attempting to pull from SourceForge, but the error I received indicated nothing was wrong with the file name being requested. It took a eureka moment to realize I had misnamed it. The confusing error which I had received is: {{{ Warning: No mirror sites on file for class sourceforge Error: No defined site for tag: patch_sites, using master_sites Error: Target org.macports.fetch returned: can't read "host": no such variable }}} -- Ticket URL: <http://trac.macports.org/ticket/20535> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20535: fetch phase incorrect error for bogus filename ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.8.0 Keywords: | Port: ------------------------------+--------------------------------------------- Comment(by snc@…): I just checked: the portfile does work in 1.7.1 (so it's not one of my mysterious Tcl parsing mistakes). * name: libusb-legacy * version: 0.1.12 * master_sites: sourceforge:libusb -- Ticket URL: <http://trac.macports.org/ticket/20535#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20535: fetch phase incorrect error for bogus filename ------------------------------+--------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.8.0 Keywords: | Port: ------------------------------+--------------------------------------------- Comment(by toby@…): Can you include a portfile that demonstrates this issue? I tried changing the name of a sourceforge port with no such results. -- Ticket URL: <http://trac.macports.org/ticket/20535#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20535: fetch phase incorrect error for bogus filename -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.8.0 Resolution: worksforme | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by snc@…): * status: new => closed * resolution: => worksforme Comment: I'd say sure, but as I'm back here trying to do `info libusb-legacy` on it, I got a warning that my portindex was corrupted. It seems that this was the problem as my original botched portfile is not causing the same error after rerunning portindex. I'll go ahead and put this as worksforme. -- Ticket URL: <http://trac.macports.org/ticket/20535#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20535: fetch phase incorrect error for bogus filename -------------------------------+-------------------------------------------- Reporter: snc@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.8.0 Resolution: worksforme | Keywords: Port: | -------------------------------+-------------------------------------------- Changes (by jmr@…): * milestone: MacPorts 1.8.0 => -- Ticket URL: <http://trac.macports.org/ticket/20535#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts