Your message dated Thu, 04 Sep 2008 10:17:18 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#491909: fixed in ghc6 6.8.2-6
has caused the Debian Bug report #491909,
regarding System.Posix.Resource.setResourceLimit gives "setResourceLimit: 
invalid argument (Invalid argument)"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)


-- 
491909: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491909
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: ghc6
Version: 6.8.2-5
Severity: important

Just importing this bug from upstream:

    # http://hackage.haskell.org/trac/ghc/ticket/2038

    import System.Exit              (exitWith, ExitCode(ExitSuccess))
    import System.IO                (putStrLn)
    import System.Posix.Resource

    rlimit = ResourceLimit 3

    f = do
        putStrLn "whoooooo"
        f
    main = do
        setResourceLimit ResourceCPUTime (ResourceLimits rlimit rlimit)
        r <- getResourceLimit ResourceCPUTime
        let (ResourceLimit s) = softLimit r
        let (ResourceLimit h) = hardLimit r
        putStrLn $ show s
        putStrLn $ show h
        f
        exitWith ExitSuccess

   Returns:
 
     $ strace -etrace=setrlimit ./m 
     setrlimit(RLIMIT_CPU, {rlim_cur=3, rlim_max=0}) = -1 EINVAL (Invalid
                                                                   argument)
     m: setResourceLimit: invalid argument (Invalid argument)

.. so that I can request that the patch be applied to ghc6 for Lenny. As
Eelis mentions on the haskell.org BR, this breaks geordi on x86-32.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: ghc6
Source-Version: 6.8.2-6

We believe that the bug you reported is fixed in the latest version of
ghc6, which is due to be installed in the Debian FTP archive:

ghc6-doc_6.8.2-6_all.deb
  to pool/main/g/ghc6/ghc6-doc_6.8.2-6_all.deb
ghc6-prof_6.8.2-6_i386.deb
  to pool/main/g/ghc6/ghc6-prof_6.8.2-6_i386.deb
ghc6_6.8.2-6.diff.gz
  to pool/main/g/ghc6/ghc6_6.8.2-6.diff.gz
ghc6_6.8.2-6.dsc
  to pool/main/g/ghc6/ghc6_6.8.2-6.dsc
ghc6_6.8.2-6_i386.deb
  to pool/main/g/ghc6/ghc6_6.8.2-6_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kari Pahula <[EMAIL PROTECTED]> (supplier of updated ghc6 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 03 Sep 2008 23:41:18 +0300
Source: ghc6
Binary: ghc6 ghc6-prof ghc6-doc
Architecture: source i386 all
Version: 6.8.2-6
Distribution: unstable
Urgency: medium
Maintainer: Kari Pahula <[EMAIL PROTECTED]>
Changed-By: Kari Pahula <[EMAIL PROTECTED]>
Description: 
 ghc6       - GHC - the Glasgow Haskell Compilation system
 ghc6-doc   - Documentation for the Glasgow Haskell Compilation system
 ghc6-prof  - Profiling libraries for the Glasgow Haskell Compilation system
Closes: 489157 491909
Changes: 
 ghc6 (6.8.2-6) unstable; urgency=medium
 .
   * New maintainer.
   * Made the perl script driver/split/ghc-split not use the obsolete $*
     var (Closes: #489157)
   * Copied libraries/unix/System/Posix/Resource.hsc and
     libraries/base/include/HsBase.h from 6.8.3 to fix issues with
     setResourceLimit. (Closes: #491909)
Checksums-Sha1: 
 d094cd46aa2f26ddc0d1cb355203c7d315bfc39e 1124 ghc6_6.8.2-6.dsc
 fcc4438dbf4ad5c5648934900cff75ad4001b70e 27404 ghc6_6.8.2-6.diff.gz
 5a23bc147e70ab024f95e0e6956b61ddb90a70fb 28458690 ghc6_6.8.2-6_i386.deb
 3f5b34cc5d19240b4c23811ada667ad794ccfeda 10348068 ghc6-prof_6.8.2-6_i386.deb
 3c3e08ab017298f7e97a23779a04d2388f29daca 2444770 ghc6-doc_6.8.2-6_all.deb
Checksums-Sha256: 
 31c9bf60686b9ece6c5e1a747c8cf46acf9d861b00ca4def657b344020f542eb 1124 
ghc6_6.8.2-6.dsc
 915fdfdeeb4edbf16141216011f2ac1703f04debd9cd738317e5035ed84604e9 27404 
ghc6_6.8.2-6.diff.gz
 12ced389d317a5ec19fb9c71f022f6148b5d34709f08111afd52f4c1db910f5d 28458690 
ghc6_6.8.2-6_i386.deb
 c14e6d8f9b6a66e9c0c3e1ca32f1b6837403f8cf677d825094fff31fa1e9d581 10348068 
ghc6-prof_6.8.2-6_i386.deb
 b7898f3f97cf23f4588c4d20ad44250d76cfb092ac53f61028df5089c3006492 2444770 
ghc6-doc_6.8.2-6_all.deb
Files: 
 f1e985ddc47ec9fffdd943c78936124f 1124 devel optional ghc6_6.8.2-6.dsc
 e36d4500b38c17e4c7c2f47f82c2d0f3 27404 devel optional ghc6_6.8.2-6.diff.gz
 53d3d9fb531ec5e236ddbf6227abe3da 28458690 devel optional ghc6_6.8.2-6_i386.deb
 b5562554a0aab998d4d153db307b8b36 10348068 devel optional 
ghc6-prof_6.8.2-6_i386.deb
 68e024bfe4b833094f4519c64b26bad4 2444770 doc optional ghc6-doc_6.8.2-6_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAki+/WAACgkQeYl9593Atw32iACeMnVyArLqo7w9fycu9ttrCVFp
aJYAn0Zh9MGjmb+1i6PShXNZ743f3dpL
=tT9t
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to