Custom Query (152 matches)

Filters
 
Columns

Show under each result:


Results (31 - 33 of 152)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#1142 fixed GHC_PKG_CHECK fails when multiple versions of the package are installed duncan guest

Reported by guest, 6 years ago.

description

The GHC_PKG_CHECK macro doesn't work properly when multiple versions of the same package are installed. I'm guessing it's a problem where it assumes GNU sed but BSD sed doesn't work (OS X uses BSD sed).

The actual error is this expression sed -e 's/,/\n/g' -e 's/[[(), ]]//g' (the first -e expression). The token \n in a replacement string is not interpreted as a newline by BSD sed. You have to embed a real backslash-escaped newline. The second -e expression also doesn't work right, since [[(), ]] isn't a valid POSIX regex. This whole expression should probably be replaced with tr ',' '\n' | tr -d '(), '

There's another sed expression further on in the same line sed -e 's/[[A-Za-z-]]*//' which also has the same problem with [[A-Za-z-]] not being a valid POSIX regex. The problem here is that the expressions seem to treat [[bar]] as a character class for bar, but that should just be [bar]. [[bar]] is invalid because it treats [[bar] as the character class (containing [, b, a, and r) followed by a trailing ]. This expression could also be replaced by {{tr}}, or it could just be fixed to read [A-Za-z-]

#1139 wontfix GHCi linking error. somebody guest

Reported by guest, 6 years ago.

description

Starting ghci interpreter with '-package gtk' option results in this linking error:

GHCi, version 6.8.3: http://www.haskell.org/ghc/ :? for help
Loading package base ... linking ... done.
Loading package mtl-1.1.0.1 ... linking ... done.
: Unknown PEi386 section name '.reloc' (while processing: F:/Gtk2Hs/HSglib.o)
Loading package glib-0.9.13 ... : panic! (the 'impossible' happened)
   (GHC version 6.8.3 for i386-unknown-mingw32):
         loadObj: failed

Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug

I use Windows XP Home SP2 with last updates, and GHC / Gtk2Hs installers from this site.

#1192 wontfix GLib-CRITICAL **: g_timeout_add_full: assertion `function != NULL' failed somebody guest

Reported by guest, 4 years ago.

description

PowerPC Linux, ghc6_6.12.1-13 with Debian patches. Tested with different GTK versions and with gtk2hs from hackage, tarball and the newest from darcs. A lot of haskell code runs OK, including most gtk demos. The problem may be in FFI implementation in GHC for PowerPC, but it may be in gtk, too, since I don't get any similar error when compiling GHC itself, gtk2hs and any Haskell apps that don't use gtk. I'm ready to debug, as instructed.

When I run the cairo clock demo (and many other gtk applications that depend on g_timeout_add_full) I get:

mikolaj@bratek:~/Desktop/gtknew/gtk2hs/gtk2hs/cairo/demo$ ./clock (clock:1521): GLib-CRITICAL **: g_timeout_add_full: assertion `function != NULL' failed

And the clock is shown but does not run. Other applications that show this assertion sometimes run, but e.g. reacting to many key-presses at once after a delay and then freezing again.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.