[Bug 873385] New: Random module fails on Doubles because of odd minBound behaviour
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=873385
Bug ID: 873385
QA Contact: extras-qa(a)fedoraproject.org
Severity: unspecified
Version: 17
Priority: unspecified
CC: haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
Assignee: petersen(a)redhat.com
Summary: Random module fails on Doubles because of odd minBound
behaviour
Regression: ---
Story Points: ---
Classification: Fedora
OS: Unspecified
Reporter: imc(a)cs.ox.ac.uk
Type: Bug
Documentation: ---
Hardware: Unspecified
Mount Type: ---
Status: NEW
Component: hugs98
Product: Fedora
I'm not sure how live this project is any more, but here goes...
$ rpm -q hugs98
hugs98-2006.09-11.fc17.x86_64
$ hugs
Type :? for help
Hugs> :load Random
Random> randomR (1::Double,10) (mkStdGen 3)
(
Program error: arithmetic overflow
The equivalent answer in ghci is:
(1.928919588914141,2109513658 1655838864)
This seems to happen because:
Random> minBound::Int
-2147483648
Random> toInteger (minBound::Int)
-18446744071562067968
Random> toInteger (maxBound::Int)
2147483647
The implementation of Random on Doubles uses the construction
"toInteger (minBound::Int)" to get an integer random number, but
the implementation of Random on integers falls over on values
greater than 2^32-1.
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years
[Bug 837388] New: Bluetile doesn't work properly with Java GUI apps
by Red Hat Bugzilla
https://bugzilla.redhat.com/show_bug.cgi?id=837388
Bug ID: 837388
QA Contact: extras-qa(a)fedoraproject.org
Severity: medium
Version: 17
Priority: unspecified
CC: haskell-devel(a)lists.fedoraproject.org,
petersen(a)redhat.com
Assignee: petersen(a)redhat.com
Summary: Bluetile doesn't work properly with Java GUI apps
Regression: ---
Story Points: ---
Classification: Fedora
OS: Linux
Reporter: t.hlavnicka(a)centrum.cz
Type: Bug
Documentation: ---
Hardware: Unspecified
Mount Type: ---
Status: NEW
Component: bluetile
Product: Fedora
Description of problem:
Bluetile doesn't work properly with Java GUI applications. Some Java GUI
elements are not gaining focus after mouse clicks (like text areas) and its not
possible to work with those elements.
Version-Release number of selected component (if applicable):
bluetile-0.6-5.fc17
java-1.7.0-openjdk-1.7.0.3-2.2.1.fc17.8
How reproducible:
Using any Java Swing application (like Netbeans) with text areas.
Actual results:
User can't write anything into text area.
Expected results:
Being able to write into focused text area.
Additional info:
This is tested only on x86 plaform. I am using Bluetile with Xfce desktop.
Bluetile is working properly in Fedora 15 and openjdk 1.6.0 (tested on x86 and
x86_64)
--
You are receiving this mail because:
You are on the CC list for the bug.
8 years
[Bug 803812] New: FTBS: build failure on PPC64, `IO' is applied to too many type arguments'
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: FTBS: build failure on PPC64, `IO' is applied to too many type arguments'
https://bugzilla.redhat.com/show_bug.cgi?id=803812
Summary: FTBS: build failure on PPC64, `IO' is applied to too
many type arguments'
Product: Fedora
Version: 17
Platform: powerpc
OS/Version: Linux
Status: NEW
Severity: high
Priority: high
Component: ghc-gio
AssignedTo: petersen(a)redhat.com
ReportedBy: karsten(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, fedora-haskell-list(a)redhat.com
Classification: Fedora
Story Points: ---
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Description of problem:
[14 of 24] Compiling System.GIO.File.FileInfo (
dist/build/System/GIO/File/FileInfo.hs, dist/build/System/GIO/File/FileInfo.o )
System/GIO/File/FileInfo.chs:269:5:
`IO' is applied to too many type arguments
In the type signature for `fileInfoGetAttributeBool':
fileInfoGetAttributeBool :: FileInfoClass info =>
info -> String -> IO Bool bool
System/GIO/File/FileInfo.chs:278:5:
`IO' is applied to too many type arguments
In the type signature for `fileInfoGetAttributeWord32':
fileInfoGetAttributeWord32 :: FileInfoClass info =>
info -> String -> IO Word32 bool
System/GIO/File/FileInfo.chs:287:5:
`IO' is applied to too many type arguments
In the type signature for `fileInfoGetAttributeInt32':
fileInfoGetAttributeInt32 :: FileInfoClass info =>
info -> String -> IO Int32 bool
System/GIO/File/FileInfo.chs:296:5:
`IO' is applied to too many type arguments
In the type signature for `fileInfoGetAttributeWord64':
fileInfoGetAttributeWord64 :: FileInfoClass info =>
info -> String -> IO Word64 bool
System/GIO/File/FileInfo.chs:305:5:
`IO' is applied to too many type arguments
In the type signature for `fileInfoGetAttributeInt64':
fileInfoGetAttributeInt64 :: FileInfoClass info =>
info -> String -> IO Int64 bool
error: Bad exit status from /var/tmp/rpm-tmp.sEL96Y (%build)
Version-Release number of selected component (if applicable):
ghc-gio-0.12.2-1.fc17
How reproducible:
always
Steps to Reproduce:
1.ppc-koji build --scratch f17 ghc-gio-0.12.2-1.fc17.src.rpm
2.
3.
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=439435
Expected results:
Additional info:
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
8 years, 4 months
[Fedora-haskell-list] [Bug 635581] New: [gold] configure: error: curses library not found, so this package cannot be built
by Red Hat Bugzilla
Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.
Summary: [gold] configure: error: curses library not found, so this package cannot be built
https://bugzilla.redhat.com/show_bug.cgi?id=635581
Summary: [gold] configure: error: curses library not found, so
this package cannot be built
Product: Fedora
Version: rawhide
Platform: All
OS/Version: Linux
Status: NEW
Severity: medium
Priority: low
Component: ghc
AssignedTo: petersen(a)redhat.com
ReportedBy: mnowak(a)redhat.com
QAContact: extras-qa(a)fedoraproject.org
CC: petersen(a)redhat.com, bos(a)serpentine.com,
loupgaroublond(a)gmail.com,
fedora-haskell-list(a)redhat.com
Classification: Fedora
Target Release: ---
Description of problem:
ghc-6.12.3-5.fc15.src.rpm rebuild with gold (the alternative linker in
binutils) fails because configure script won't find curses:
DEBUG: ncurses.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-libs.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-libs.x86_64 0:5.7-8.20100703.fc14
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
resolvedep ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >= 0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel' 'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
--setopt=tsflags=nocontexts
DEBUG: 0:ncurses-devel-5.7-8.20100703.fc14.x86_64
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
install ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >= 0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ install ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel' 'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
--setopt=tsflags=nocontexts
DEBUG: ncurses-devel x86_64 5.7-8.20100703.fc14 fedora
663 k
DEBUG: libxslt.x86_64 0:1.1.26-3.fc14 ncurses-devel.x86_64
0:5.7-8.20100703.fc14
DEBUG: checking ncurses.h usability... yes
DEBUG: checking ncurses.h presence... yes
DEBUG: checking for ncurses.h... yes
DEBUG: checking for setupterm in -lncursesw... no
DEBUG: checking for setupterm in -lncurses... no
Version-Release number of selected component (if applicable):
ghc-6.12.3-5.fc15
How reproducible:
always (x86_64)
Steps to Reproduce:
1. alternatives --config ld
2. set gold
3. rebuild ghc srpm
Actual results:
Expected results:
DEBUG: ncurses.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-base.x86_64 0:5.7-8.20100703.fc14
DEBUG: ncurses-libs.x86_64 0:5.7-8.20100703.fc14
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
resolvedep ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >= 0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ resolvedep ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel' 'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
--setopt=tsflags=nocontexts
DEBUG: 0:ncurses-devel-5.7-8.20100703.fc14.x86_64
DEBUG: /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
install ccache 'libffi-devel' 'gmp-devel' 'ghc-rpm-macros >= 0.8.0'
'ncurses-devel' 'python' 'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
DEBUG: Executing command: /usr/bin/yum --installroot
/var/lib/mock/fedora-rawhide-x86_64/root/ install ccache 'libffi-devel'
'gmp-devel' 'ghc-rpm-macros >= 0.8.0' 'ncurses-devel' 'python'
'docbook-style-xsl' 'ghc' 'libxslt' 'hscolour' 'happy'
--setopt=tsflags=nocontexts
DEBUG: ncurses-devel x86_64 5.7-8.20100703.fc14 fedora
663 k
DEBUG: libxslt.x86_64 0:1.1.26-3.fc14 ncurses-devel.x86_64
0:5.7-8.20100703.fc14
DEBUG: checking ncurses.h usability... yes
DEBUG: checking ncurses.h presence... yes
DEBUG: checking for ncurses.h... yes
DEBUG: checking for setupterm in -lncursesw... yes
Additional info:
Since gold might be the default linker (per
http://fedoraproject.org/wiki/Features/GoldLinkerDefault) this problem might be
worth fixing.
--
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
8 years, 9 months