Package: ghc6
Version: 6.8.2dfsg1-1
Severity: grave
Justification: renders package unusable

Sorry for posting again, but the previous report (via reportbug) did not show 
up in the BTS.

Installing a self-made package with CABAL changes permissions of some files to 
be readable only by root. This includes /usr/lib/ghc-6.8.2/package.conf which 
makes GHCi unusable for all non-root users on the system. Also the installed 
binaries and librares are not accessible by non-root users. Somehow the group 
"staff" seems involved.

Installation is done with a default setup file (indentation=4)

    #!/usr/bin/runhaskell
    
    > import Distribution.Simple
    
    > main = defaultMain

And the cabal file (indentation=4)

    name: hedge
    version: 0.1
    cabal-version: >= 1.2
    build-type: Simple
    license: GPL
    license-file: COPYING
    
    copyright: ©2007-2009 Stefan Klinger
    author: Stefan Klinger
    maintainer: http://stefan-klinger.de
    
    stability: provisional
    
    synopsis: The Data Hedge Language
    description: The Data Hedge Language is intended to be a minimal, though
      versatile language to express hierarchically structured data of any kind 
in a
      human readable format. In contrast to XML, it tries to be easier to
      manipulate for both, humans and machines, while offering the same 
flexibility.
    
    
    library
      exposed-modules: Hedge.Parser, Hedge.Data, Hedge.Names, Hedge.Xml
      other-modules: Hedge.Helper, Hedge.Lint
      
      build-depends:
        base,
        haskell98,
        utf8-string >= 0.3.1.1,
        containers >= 0.1.0.1,
        parsec >= 2.1.0.0
    
      ghc-options: -O -Werror -fwarn-incomplete-patterns 
-fno-warn-unused-matches
    
    
    
    Executable hedge
      main-is: Hedge/Lint.lhs
    
      other-modules:
        Hedge.Parser, Hedge.Data, Hedge.Names, Hedge.Xml, Hedge.Helper
    
      ghc-options: -O -Werror -fwarn-incomplete-patterns 
-fno-warn-unused-matches -main-is Hedge.Lint.main
    

Regards,
Stefan



-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ghc6 depends on:
ii  gcc                       4:4.3.2-2      The GNU C compiler
ii  haskell-utils             1.11           Utilities used by the Debian Haske
ii  libc6                     2.7-18         GNU C Library: Shared libraries
ii  libgmp3-dev               2:4.2.2+dfsg-3 Multiprecision arithmetic library 
ii  libgmp3c2                 2:4.2.2+dfsg-3 Multiprecision arithmetic library
ii  libncurses5               5.7+20081213-1 shared libraries for terminal hand
ii  libreadline5              5.2-3.1        GNU readline and history libraries
ii  libreadline5-dev          5.2-3.1        GNU readline and history libraries
ii  perl [perl5]              5.10.0-19      Larry Wall's Practical Extraction 

ghc6 recommends no packages.

Versions of packages ghc6 suggests:
pn  ghc6-doc                      <none>     (no description available)
pn  ghc6-prof                     <none>     (no description available)
pn  haskell-doc                   <none>     (no description available)

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to