Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#20535 closed defect (worksforme)

fetch phase incorrect error for bogus filename

Reported by: nerdling (Jeremy Lavergne) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 1.8.0
Keywords: Cc:
Port:

Description

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

Change History (4)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

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

comment:2 Changed 15 years ago by tobypeterson

Can you include a portfile that demonstrates this issue? I tried changing the name of a sourceforge port with no such results.

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: worksforme
Status: newclosed

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.

comment:4 Changed 15 years ago by jmroot (Joshua Root)

Milestone: MacPorts 1.8.0
Note: See TracTickets for help on using tickets.