Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18281 closed defect (invalid)

hs-zlib fails to install

Reported by: brett@… Owned by: gwright@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: hs-zlib

Description (last modified by blb@…)

--->  Fetching hs-zlib
--->  Attempting to fetch zlib-0.5.0.0.tar.gz from http://distfiles.macports.org/hs-zlib
--->  Verifying checksum(s) for hs-zlib
--->  Extracting hs-zlib
--->  Configuring hs-zlib
Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-zlib/work/zlib-0.5.0.0 && runhaskell Setup configure --ghc --prefix=/opt/local --enable-library-profiling --with-compiler=/opt/local/bin/ghc" returned error 1
Command output: 
Setup.hs:1:7:
    Could not find module `Distribution.Simple':
      Use -v to see a list of the files searched for.

Error: Status 1 encountered during processing.

Change History (8)

comment:1 Changed 16 years ago by blb@…

Description: modified (diff)

What version of ghc do you have installed?

comment:2 Changed 16 years ago by brett@…

% port installed ghc
The following ports are currently installed:
  ghc @6.10.1_8+darwin_9_i386 (active)

comment:3 Changed 16 years ago by brett@…

Notably, this was noticed during:

% sudo port install hs-cabal
Password:
--->  Fetching hs-HTTP
--->  Attempting to fetch HTTP-3001.1.4.tar.gz from http://distfiles.macports.org/hs-HTTP
--->  Verifying checksum(s) for hs-HTTP
--->  Extracting hs-HTTP
--->  Configuring hs-HTTP
--->  Building hs-HTTP
--->  Staging hs-HTTP into destroot
--->  Installing hs-HTTP @3001.1.4_0
--->  Activating hs-HTTP @3001.1.4_0
--->  Cleaning hs-HTTP
--->  Fetching hs-libcabal
--->  Attempting to fetch Cabal-1.6.0.1.tar.gz from http://distfiles.macports.org/hs-libcabal
--->  Verifying checksum(s) for hs-libcabal
--->  Extracting hs-libcabal
--->  Configuring hs-libcabal
--->  Building hs-libcabal
--->  Staging hs-libcabal into destroot
--->  Installing hs-libcabal @1.6.0.1_0
--->  Activating hs-libcabal @1.6.0.1_0
--->  Cleaning hs-libcabal
--->  Fetching hs-zlib
--->  Attempting to fetch zlib-0.5.0.0.tar.gz from http://distfiles.macports.org/hs-zlib
--->  Verifying checksum(s) for hs-zlib
--->  Extracting hs-zlib
--->  Configuring hs-zlib
Error: Target org.macports.configure returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_hs-zlib/work/zlib-0.5.0.0 && runhaskell Setup configure --ghc --prefix=/opt/local --enable-library-profiling --with-compiler=/opt/local/bin/ghc" returned error 1
Command output: 
Setup.hs:1:7:
    Could not find module `Distribution.Simple':
      Use -v to see a list of the files searched for.

Error: The following dependencies failed to build: hs-zlib
Error: Status 1 encountered during processing.

and then independently verified.

comment:4 Changed 16 years ago by blb@…

Okay, ghc is up to date; what does

ghc-pkg list

say?

comment:5 Changed 16 years ago by brett@…

% ghc-pkg list
/opt/local/lib/ghc-6.10.1/./package.conf:
    Cabal-1.6.0.1, HTTP-3001.1.4, HUnit-1.2.0.3, QuickCheck-1.2.0.0,
    array-0.2.0.0, base-3.0.3.0, base-4.0.0.0, bytestring-0.9.1.4,
    containers-0.2.0.0, directory-1.0.0.2, (dph-base-0.3),
    (dph-par-0.3), (dph-prim-interface-0.3), (dph-prim-par-0.3),
    (dph-prim-seq-0.3), (dph-seq-0.3), editline-0.2.1.0,
    filepath-1.1.0.1, (ghc-6.10.1), ghc-prim-0.1.0.0, haddock-2.3.0,
    haskell-src-1.0.1.3, haskell98-1.0.1.0, hpc-0.5.0.2, html-1.0.1.2,
    integer-0.1.0.0, mtl-1.1.0.2, network-2.2.0.1, old-locale-1.0.0.1,
    old-time-1.0.0.1, packedstring-0.1.0.1, parallel-1.1.0.0,
    parsec-2.1.0.1, pretty-1.0.1.0, process-1.0.1.0, random-1.0.0.1,
    regex-base-0.72.0.2, regex-compat-0.71.0.1, regex-posix-0.72.0.3,
    rts-1.0, stm-2.1.1.2, syb-0.1.0.0, template-haskell-2.3.0.0,
    time-1.1.2.2, unix-2.3.1.0, xhtml-3000.2.0.1
/Users/brett/.ghc/i386-darwin-6.10.1/package.conf:
    Cabal-1.6.0.1, HTTP-3001.1.3, HTTP-3001.1.4, OpenGL-2.2.1.1,
    X11-1.4.4, binary-strict-0.3.1, mmap-0.2, xmonad-0.8, zlib-0.4.0.4,
    zlib-0.5.0.0

comment:6 Changed 16 years ago by brett@…

Resolution: invalid
Status: newclosed

comment:7 Changed 16 years ago by brett@…

further testing proved this to be environmental

comment:8 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.