Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#36731 closed defect (fixed)

hs-platform-http: fetch failure for HTTP-4000.2.3.tar.gz

Reported by: kevin.krouse@… Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: mikesmithso@…, jacob+macports@…, lord@…
Port: hs-platform-http

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I'm attempting to install the recently updated haskell-platform port, but I'm stuck at fetching distfiles for hs-platform-http. The port is attempting to download HTTP-4000.2.3.tar.gz from the distfiles.macports.org/hs-platform-http, but the directory is empty. There are many other suspect directories on distfiles:

  • hs-platform-HTTP (which contains HTTP-4000.0.6),
  • hs-platform-http (empty),
  • hs-HTTP (which contains HTTP-3001.0.4, HTTP-3001.1.4, HTTP-4000.0.9),
  • hs-http (which contains HTTP-4000.0.6, HTTP-4000.1.1, HTTP-4000.2.3!)

So the port needs to be updated to download from hs-http or the distfiles need to be pushed to hs-platform-http.

[var/root] > install haskell-platform
--->  Computing dependencies for haskell-platform
--->  Dependencies to be installed: hs-platform-alex hs-platform-ghc hs-platform-quickcheck hs-platform-random hs-platform-cabal hs-platform-http hs-platform-mtl hs-platform-transformers hs-platform-network hs-platform-parsec hs-platform-text hs-platform-zlib hs-platform-cgi hs-platform-xhtml hs-platform-fgl hs-platform-glut hs-platform-opengl hs-platform-happy hs-platform-haskell-src hs-platform-syb hs-platform-html hs-platform-hunit hs-platform-parallel hs-platform-regex-base hs-platform-regex-compat hs-platform-regex-posix hs-platform-stm
--->  Fetching archive for hs-platform-ghc
--->  Attempting to fetch hs-platform-ghc-7.4.1_0+gcc47.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-ghc
--->  Attempting to fetch hs-platform-ghc-7.4.1_0+gcc47.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-ghc
--->  Installing hs-platform-ghc @7.4.1_0+gcc47
--->  Activating hs-platform-ghc @7.4.1_0+gcc47
--->  Cleaning hs-platform-ghc
--->  Fetching archive for hs-platform-random
--->  Attempting to fetch hs-platform-random-1.0.1.1_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-random
--->  Attempting to fetch hs-platform-random-1.0.1.1_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-random
--->  Installing hs-platform-random @1.0.1.1_0
--->  Activating hs-platform-random @1.0.1.1_0
--->  Cleaning hs-platform-random
--->  Fetching archive for hs-platform-quickcheck
--->  Attempting to fetch hs-platform-quickcheck-2.4.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-quickcheck
--->  Attempting to fetch hs-platform-quickcheck-2.4.2_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-quickcheck
--->  Installing hs-platform-quickcheck @2.4.2_0
--->  Activating hs-platform-quickcheck @2.4.2_0
--->  Cleaning hs-platform-quickcheck
--->  Fetching archive for hs-platform-alex
--->  Attempting to fetch hs-platform-alex-3.0.1_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-alex
--->  Attempting to fetch hs-platform-alex-3.0.1_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-alex
--->  Installing hs-platform-alex @3.0.1_0
--->  Activating hs-platform-alex @3.0.1_0
--->  Cleaning hs-platform-alex
--->  Fetching archive for hs-platform-transformers
--->  Attempting to fetch hs-platform-transformers-0.3.0.0_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-transformers
--->  Attempting to fetch hs-platform-transformers-0.3.0.0_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-transformers
--->  Installing hs-platform-transformers @0.3.0.0_0
--->  Activating hs-platform-transformers @0.3.0.0_0
--->  Cleaning hs-platform-transformers
--->  Fetching archive for hs-platform-mtl
--->  Attempting to fetch hs-platform-mtl-2.1.1_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-mtl
--->  Attempting to fetch hs-platform-mtl-2.1.1_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-mtl
--->  Installing hs-platform-mtl @2.1.1_0
--->  Activating hs-platform-mtl @2.1.1_0
--->  Cleaning hs-platform-mtl
--->  Fetching archive for hs-platform-text
--->  Attempting to fetch hs-platform-text-0.11.2.0_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-text
--->  Attempting to fetch hs-platform-text-0.11.2.0_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-text
--->  Installing hs-platform-text @0.11.2.0_0
--->  Activating hs-platform-text @0.11.2.0_0
--->  Cleaning hs-platform-text
--->  Fetching archive for hs-platform-parsec
--->  Attempting to fetch hs-platform-parsec-3.1.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-parsec
--->  Attempting to fetch hs-platform-parsec-3.1.2_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-parsec
--->  Installing hs-platform-parsec @3.1.2_0
--->  Activating hs-platform-parsec @3.1.2_0
--->  Cleaning hs-platform-parsec
--->  Fetching archive for hs-platform-network
--->  Attempting to fetch hs-platform-network-2.3.0.13_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-network
--->  Attempting to fetch hs-platform-network-2.3.0.13_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/hs-platform-network
--->  Installing hs-platform-network @2.3.0.13_0
--->  Activating hs-platform-network @2.3.0.13_0
--->  Cleaning hs-platform-network
--->  Fetching archive for hs-platform-http
--->  Attempting to fetch hs-platform-http-4000.2.3_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/hs-platform-http
--->  Attempting to fetch hs-platform-http-4000.2.3_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/hs-platform-http
--->  Attempting to fetch hs-platform-http-4000.2.3_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/hs-platform-http
--->  Fetching distfiles for hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://distfiles.macports.org/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://cjj.kr.distfiles.macports.org/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://lil.fr.distfiles.macports.org/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://her.gr.distfiles.macports.org/mirrors/macports/mpdistfiles/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://jog.id.distfiles.macports.org/macports/mpdistfiles/hs-platform-http
--->  Attempting to fetch http-4000.2.3.tar.gz from http://hackage.haskell.org/packages/archive/http/4000.2.3
--->  Attempting to fetch http-4000.2.3.tar.gz from http://svn.macports.org/repository/macports/distfiles/hs-platform-http
Error: org.macports.fetch for port hs-platform-http returned: fetch failed
Error: Failed to install hs-platform-http
Please see the log file for port hs-platform-http for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-platform-http/hs-platform-http/main.log
Error: The following dependencies were not installed: hs-platform-cabal hs-platform-http hs-platform-zlib hs-platform-cgi hs-platform-xhtml hs-platform-fgl hs-platform-glut hs-platform-opengl hs-platform-happy hs-platform-haskell-src hs-platform-syb hs-platform-html hs-platform-hunit hs-platform-parallel hs-platform-regex-base hs-platform-regex-compat hs-platform-regex-posix hs-platform-stm

Change History (9)

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: cal@… removed
Description: modified (diff)
Owner: changed from macports-tickets@… to cal@…
Port: hs-platform-http added; hs-platform-html removed
Summary: hs-platform-html can't download HTTP-4000.2.3.tar.gzhs-platform-http: fetch failure for HTTP-4000.2.3.tar.gz

The problem appears to have been introduced by r96581 which lowercased "http" in the haskellplatform.setup line. The upstream project name is "HTTP" not "http" and must be kept uppercase. The lint warning must be fixed a different way.

comment:2 Changed 12 years ago by dave@…

Apparently upcasing http in the haskellplatform.setup line isn't enough. I'm still getting the same failure.

comment:3 Changed 11 years ago by mikesmithso@…

Cc: mikesmithso@… added

Cc Me!

comment:4 Changed 11 years ago by jacob+macports@…

Cc: jacob+macports@… added

Cc Me!

comment:5 Changed 11 years ago by lord@…

Cc: lord@… added

Cc Me!

comment:6 Changed 11 years ago by lord@…

this bug prevents me from installing hs-platform-cabal and haskell-platform. I think priority of the ticket should be increased. Basically now one could not install working haskell-platform.

comment:7 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

Fixed in r99461.

comment:8 in reply to:  2 Changed 11 years ago by neverpanic (Clemens Lang)

Replying to dave@…:

Apparently upcasing http in the haskellplatform.setup line isn't enough. I'm still getting the same failure.

I can not reproduce this. It works just fine for me. Try running port clean --all hs-platform-http.

comment:9 Changed 11 years ago by lord@…

I can confirm it is fixed now. Thanks!

Last edited 11 years ago by lord@… (previous) (diff)
Note: See TracTickets for help on using tickets.