New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #31987 (closed defect: invalid)

Opened 19 months ago

Last modified 19 months ago

netpbm install tries to fetch nonexistent file

Reported by: nathmclean@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: netpbm

Description (last modified by ryandesign@…) (diff)

I am trying to install netpbm through macports, however it fails with the message:

Error: Target org.macports.fetch returned: Subversion check out failed

After inspecting the log file (attached) it seems to me the problem lies in that mac ports is trying to fetch the file: netpbm-10.47.31_0.darwin_10.x86_64.tgz from http://packages.macports.org/netpbm/ and gets a 404 error

The actual file at that location is a different type of archive, using the file extension tbz2.

I am new to using MacPorts and I was wondering if there is any quick and dirty way to change the archive MacPorts looks for when I type the command "port install netpbm"

I have just updated MacPorts definitions using "port selfupdate" so it seems to me that this is a bug.

Thanks in advance!

Attachments

main.log (16.7 KB) - added by nathmclean@… 19 months ago.
netpbm install log file

Change History

Changed 19 months ago by nathmclean@…

netpbm install log file

comment:1 Changed 19 months ago by ryandesign@…

  • Port set to netpbm
  • Description modified (diff)

comment:2 in reply to: ↑ description Changed 19 months ago by ryandesign@…

Yes, MacPorts tries to download pre-built archives from packages.macports.org. No, it is not a problem if a package is not found there; in that case, MacPorts will try to download the source code and compile it on your system. In your case, the problem is that downloading the source code from netpbm's repository failed, for an unknown reason (perhaps #29692).

Yes, we only publish .tbz2 archives on packages.macports.org. For some reason your MacPorts is set to use .tgz archives. Perhaps you originally installed MacPorts a long time ago, when that was the default archive type. I recommend you edit /opt/local/etc/macports/macports.conf and change portarchivetype to tbz2, or better yet just comment out that line so it uses the default (tbz2). Many other settings in macports.conf have changed since the days when tgz was the default archive type, so you should spend some time comparing macports.conf with macports.conf.default in the same directory, and adopt any changes from macports.conf.default that you haven't deliberately changed.

comment:3 Changed 19 months ago by nathmclean@…

Thank you very much. It worked fine after I changed the config file and cleaned netpbm.

comment:4 Changed 19 months ago by macsforever2000@…

  • Status changed from new to closed
  • Resolution set to invalid
Note: See TracTickets for help on using tickets.