Re: [racket-dev] Release for v6.0 has begun

2013-11-21 Thread Aleksej Saushev
Ryan Culpepper ry...@ccs.neu.edu writes:

NOW IS THE TIME TO FIX BUGS THAT YOU KNOW ABOUT 

It would be nice to change location of config.rktd file.

config.rktd looks like it cannot be changed by user at run time in any
meaningful way. Thus it doesn't belong to sysconfdir.
It should be placed into libdir instead.

When building Racket tries to invoke i486--netbsdelf-ar which naturally
doesn't exist. It would be nice if it used canonical archiver name first,
which is ar per POSIX/SUS. Alternatively it should fall back to it when
non-canonical one doesn't exist.



patch-pkgs_drracket-pkgs_drracket-test_tests_drracket_run.sh
Description: Avoid non-portable test \=\=.

-- 
BCE HA MOPE!
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] testing for v5.3

2012-07-28 Thread Aleksej Saushev
Matthew Flatt mfl...@cs.utah.edu writes:

 I haven't been able to replicate this crash on a NetBSD 6.0_BETA2 i386
 install.

 Does it crash consistently for you? Did you provide any arguments to
 `configure'?

Sure.

--enable-pthread --prefix=/usr/pkg --build=i486--netbsdelf --mandir=/usr/pkg/man


-- 
HE CE3OH...
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] testing for v5.3

2012-07-25 Thread Aleksej Saushev
Ryan Culpepper r...@cs.utah.edu writes:

 Just a reminder that testing for release v5.3 begins Monday.

Tests crash on NetBSD 6.0_BETA2 i386:

Section(basic)
Section(unicode)
Section(rx)
Section(reading)
Section(readtable)
Section(printing)
Section(macro)
Section(syntax)
Section(procs)
Section(stx)
Section(module)
Section(submodule)
Section(numbers)
Section(unsafe)
Section(object)
Section(struct)
Section(unit)
Section(unit/sig)
Section(threads)
Section(logger)
Section(synchronization)
Section(deep)
Section(continuation-marks)
Section(prompt)
Section(wills)
Section(namespaces)
Section(modprot)
Section(chaperones)
Section(parameters)
Section(port)
Section(file)
Section(udp)
Section(file-after-udp)
Section(path)
Section(optimization)
Seg fault (internal error) at 0x96ee31a4

Backtrace:

Core was generated by `racket3m'.
Program terminated with signal 6, Aborted.
#0  0xbbb94f37 in _lwp_kill () from /usr/lib/libc.so.12
#0  0xbbb94f37 in _lwp_kill () from /usr/lib/libc.so.12
#1  0xbbb94ef3 in raise () from /usr/lib/libc.so.12
#2  0xbbb946dd in abort () from /usr/lib/libc.so.12
#3  0x082111b7 in fault_handler ()
#4  signal handler called
#5  0x081be156 in chaperone_struct_ref ()
#6  0x08178e02 in setup_graph_table ()
#7  0x08178d54 in setup_graph_table ()
#8  0x08178e19 in setup_graph_table ()
#9  0x08178e19 in setup_graph_table ()
#10 0x08178e19 in setup_graph_table ()
#11 0x0817edb4 in print_to_string ()
#12 0x0817f4d5 in print_to_port ()
#13 0x0817f582 in scheme_internal_write ()
#14 0x081748e9 in display_write ()
#15 0x08085e22 in scheme_do_eval ()
#16 0x081b5e45 in scheme_do_format ()
#17 0x081b63cd in sch_printf ()
#18 0xbba6cfdc in ?? ()
#19 0xbba82080 in ?? ()
#20 0x08086154 in scheme_do_eval ()
#21 0x080950b2 in finish_apply_with_prompt ()
#22 0x08084e8a in scheme_do_eval ()
#23 0x080a368f in scheme_finish_apply_for_prompt ()
#24 0x080a37cb in scheme_apply_for_prompt ()
#25 0x080a6fcb in call_with_prompt ()
#26 0x08085e22 in scheme_do_eval ()
#27 0x0809c069 in do_call_with_prompt ()
#28 0x080a396a in do_apply_with_prompt ()
#29 0x0816e9b3 in do_load_handler ()
#30 0x080a4ef6 in scheme_dynamic_wind ()
#31 0x0816e539 in default_load ()
#32 0x08085e22 in scheme_do_eval ()
#33 0x08175a79 in scheme_load_with_clrd ()
#34 0x08175abe in load ()
#35 0xbba89532 in ?? ()
#36 0x08086154 in scheme_do_eval ()
#37 0x080950b2 in finish_apply_with_prompt ()
#38 0x08084e8a in scheme_do_eval ()
#39 0x080a368f in scheme_finish_apply_for_prompt ()
#40 0x080a37cb in scheme_apply_for_prompt ()
#41 0x080a6fcb in call_with_prompt ()
#42 0x08085e22 in scheme_do_eval ()
#43 0x0809c069 in do_call_with_prompt ()
#44 0x080a396a in do_apply_with_prompt ()
#45 0x0816e9b3 in do_load_handler ()
#46 0x080a4ef6 in scheme_dynamic_wind ()
#47 0x0816e539 in default_load ()
#48 0x08085e22 in scheme_do_eval ()
#49 0x08175a79 in scheme_load_with_clrd ()
#50 0x08175abe in load ()
#51 0xbba89532 in ?? ()
#52 0x08086154 in scheme_do_eval ()
#53 0x080950b2 in finish_apply_with_prompt ()
#54 0x08084e8a in scheme_do_eval ()
#55 0x080a368f in scheme_finish_apply_for_prompt ()
#56 0x080a37cb in scheme_apply_for_prompt ()
#57 0x080a6fcb in call_with_prompt ()
#58 0x08085e22 in scheme_do_eval ()
#59 0x0809c069 in do_call_with_prompt ()
#60 0x080a396a in do_apply_with_prompt ()
#61 0x0816e9b3 in do_load_handler ()
#62 0x080a4ef6 in scheme_dynamic_wind ()
#63 0x0816e539 in default_load ()
#64 0x08085e22 in scheme_do_eval ()
#65 0x08175a79 in scheme_load_with_clrd ()
#66 0x08175abe in load ()
#67 0xbba89532 in ?? ()
#68 0xbba82860 in ?? ()
#69 0xbba8955f in ?? ()
#70 0x08087e12 in _scheme_apply_multi_from_native ()
#71 0xbba89503 in ?? ()
#72 0x08086154 in scheme_do_eval ()
#73 0x080a368f in scheme_finish_apply_for_prompt ()
#74 0x080a37cb in scheme_apply_for_prompt ()
#75 0x080a6fcb in call_with_prompt ()
#76 0x08085e22 in scheme_do_eval ()
#77 0x0808598a in scheme_do_eval ()
#78 0x080950b2 in finish_apply_with_prompt ()
#79 0x08084e8a in scheme_do_eval ()
#80 0x080a368f in scheme_finish_apply_for_prompt ()
#81 0x080a37cb in scheme_apply_for_prompt ()
#82 0x080a6fcb in call_with_prompt ()
#83 0x08085e22 in scheme_do_eval ()
#84 0x0809c069 in do_call_with_prompt ()
#85 0x080a396a in do_apply_with_prompt ()
#86 0x0816e9b3 in do_load_handler ()
#87 0x080a4ef6 in scheme_dynamic_wind ()
#88 0x0816e539 in default_load ()
#89 0x08085e22 in scheme_do_eval ()
#90 0x08175a79 in scheme_load_with_clrd ()
#91 0x08175abe in load ()
#92 0x08085e22 in scheme_do_eval ()
#93 0x0809516a in apply_k ()
#94 0x0809b37d in scheme_top_level_do_worker ()
#95 0x0809b525 in scheme_top_level_do ()
#96 0x08175b99 in scheme_load ()
#97 0x080659b4 in finish_cmd_line_run.clone.2 ()
#98 0x08066fed in main_after_stack ()
#99 0x0806882b in scheme_main_stack_setup ()
#100 0x08067f2f in main ()



-- 
HE CE3OH...

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Racket 5.3 release branch doesn't build

2012-07-18 Thread Aleksej Saushev
  Hello,

Racket 5.3 release branch doesn't build on NetBSD 6.0_BETA2 i386:

env CFLAGS=-O2 -pthread -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2  -Wall   -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -I/usr/pkg/include   -pthread 
LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -pthread 
-pthread racket/racket3m -X 
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects -N raco 
setup -l- setup--no-user
raco setup: bootstrapping from source...
: contract violation
  expected: real?
  given: #f
  argument position: 1st
  other arguments...:
   0
  context...:
   
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects/dynext/filename-version.rkt:14:4:
 loop
   
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects/dynext/filename-version.rkt:
 [running body]
   
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects/dynext/link-unit.rkt:
 [traversing imports]
   
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects/dynext/dynext-unit.rkt:
 [traversing imports]
   
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects/setup/setup-go.rkt:
 [traversing imports]
   
/tmp/local-vcs/racket-rc/work/.destdir/usr/pkg/lib/racket/collects/setup/main.rkt:
 [running body]
*** Error code 1


-- 
HE CE3OH...

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v5.2.1, second call

2012-02-01 Thread Aleksej Saushev
  Hello!

Aleksej Saushev a...@inbox.ru writes:

 I'm testing racket-5.2.0.901 on NetBSD 5.99.59 i386.

 After applying patch as attached

Will the patch be applied at least to trunk?
It would be nice to have it applied to (pre)release branch too,
or is it too late?


-- 
HE CE3OH...

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v5.2.1, second call

2012-01-25 Thread Aleksej Saushev
  Hello,

Matthew Flatt mfl...@cs.utah.edu writes:

 At Mon, 23 Jan 2012 02:16:06 +0400, Aleksej Saushev wrote:
 I'm testing racket-5.2.0.901 on NetBSD 5.99.59 i386.
 
 After applying patch as attached, 

 Thanks!

 Section(deep)
 [1]   Illegal instruction (core dumped) (cd collects/tests/racket  racket 
 -f 
 quiet.rktl)
 
 [...]
 
 Any idea what can be wrong?

 This looks like a problem with Racket's inference of the stack size.

 In some BSD variants, enable pthread support makes the main thread have
 a different size than the usual stack limit. Did you specifically
 enable places, futures, or pthread when configuring? (I think they're
 off by default for NetBSD, but I may be mistaken.)

Of course I enable pthreads! Otherwise I have to expect and to deal
with failures at dynamic linking.

 Does configuring so
 that `-pthread' isn't used in the compiler command change the success
 of the deep.rktl test?

When I check source out of trunk:

$ git show
commit 0b3691691abfe73944f5209d9cad68a90de13257
Author: Ryan Culpepper ry...@racket-lang.org
Date:   Tue Jan 24 15:19:57 2012 -0700

db: fix sqlite3 #:use-place for raco exe

and perform the same tests on NetBSD 5.99.60 i386, I get result as
below. Perhaps the problem was fixed after branch or snapshot creation.
I can try to investigate it, but the racket builds is slowly there,
and you might know if there was anything that could possibly fix it.
If you know by chance, can you suggest particular revision or time frame
to reduce search?

Results of running tests:

Section(basic)
Section(unicode)
Section(rx)
Section(reading)
Section(readtable)
Section(printing)
Section(macro)
Section(syntax)
Section(procs)
Section(stx)
Section(module)
Section(numbers)
Section(unsafe)
Section(object)
Section(struct)
Section(unit)
Section(unit/sig)
Section(threads)
Section(logger)
Section(synchronization)
Section(deep)
Section(continuation-marks)
Section(prompt)
Section(wills)
Section(namespaces)
Section(modprot)
Section(chaperones)
Section(parameters)
Section(port)
Section(file)
Section(udp)
Section(file-after-udp)
Section(path)
Section(optimization)

Performed 92262 expression tests (81680 value expressions, 10582 exn 
expressions)
and 22656 exception field tests.

Errors were:
(Section (got expected (call)))
((optimization) (#f #t ((compile #t (lambda (a) (letrec ((x (lambda () (x 
(displayln a) (letrec ((y (lambda () (y (list (x) (y)) #f)))
((optimization) (#f #t ((compile #t (lambda (a) (letrec ((x (lambda () (x 
(letrec ((y (lambda () (y (list x y) #f)))
((optimization) (#f #t ((compile #t (lambda (a) (letrec ((x (lambda () (x 
(displayln x) (letrec ((y (lambda () (y (list x y) #f)))
((optimization) (#f #t ((compile #t (lambda (a) (define h (+ a a)) (letrec ((x 
(lambda () (y))) (y (lambda () (x (list (x) (y) h #f)))
(Other messages report successful tests of error-handling behavior.)
Section(names)

Performed 92309 expression tests (81725 value expressions, 10584 exn 
expressions)
and 22656 exception field tests.

Errors were:
(Section (got expected (call)))
((optimization) (#f #t ((compile #t (lambda (a) (letrec ((x (lambda () (x 
(displayln a) (letrec ((y (lambda () (y (list (x) (y)) #f)))
((optimization) (#f #t ((compile #t (lambda (a) (letrec ((x (lambda () (x 
(letrec ((y (lambda () (y (list x y) #f)))
((optimization) (#f #t ((compile #t (lambda (a) (letrec ((x (lambda () (x 
(displayln x) (letrec ((y (lambda () (y (list x y) #f)))
((optimization) (#f #t ((compile #t (lambda (a) (define h (+ a a)) (letrec ((x 
(lambda () (y))) (y (lambda () (x (list (x) (y) h #f)))
(Other messages report successful tests of error-handling behavior.)
Section(setup)
Section(for)
Section(list)
Section(math)
Section(vector)
Section(function)
Section(dict)
Section(contract)
Section(fixnum)
Section(flonum)
Section(mpair)
Section(etc)
Section(structlib)
Section(async-channel)
Section(restart)
Section(mzlib-string)
Section(path)
Section(filelib)
Section(portlib)
Section(threadlib)
Section(sets)
Section(date)
Section(compat)
Section(command-line)
Section(stream)
Section(sequence)
Section(generator)
Section(pconvert)
Section(pretty)
Section(control)
Section(serialization)
Section(packages)
Section(mzlib/contract)


TIMEOUT -- ABORTING!



-- 
HE CE3OH...

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v5.2.1, second call

2012-01-23 Thread Aleksej Saushev
  Hello!

Ryan Culpepper r...@cs.utah.edu writes:

 Checklist items for the v5.2.1 release
   (using the v5.2.0.900 release candidate build)

5.2.0.901 doesn't build on NetBSD:

gcc -I./.. -I./../include -O2 -pthread -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2  -Wall -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/freetype2 -pthread-DNO_MBTOWC_FUNCTIONS -c ./port.c -o 
port.o
./port.c: In function 'scheme_alloc_global_fdset':
./port.c:792:77: error: invalid application of 'sizeof' to incomplete type 
'struct mz_fd_set' 
./port.c: In function 'scheme_merge_fd_sets':
./port.c:1257:5: warning: implicit declaration of function 'FDSET_LIMIT'
./port.c:1259:7: error: lvalue required as left operand of assignment

I'm looking into it.


-- 
HE CE3OH...

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Pre-Release Checklist for v5.2.1, second call

2012-01-23 Thread Aleksej Saushev
  Hello!

Ryan Culpepper r...@cs.utah.edu writes:

 Checklist items for the v5.2.1 release
   (using the v5.2.0.900 release candidate build)

I'm testing racket-5.2.0.901 on NetBSD 5.99.59 i386.

After applying patch as attached, I am trying to run tests as follows:

(cd collects/tests/racket  racket -f quiet.rktl)

Racket crashes with this:

Section(basic)
Section(unicode)
Section(rx)
Section(reading)
Section(readtable)
Section(printing)
Section(macro)
Section(syntax)
Section(procs)
Section(stx)
Section(module)
Section(numbers)
Section(unsafe)
Section(object)
Section(struct)
Section(unit)
Section(unit/sig)
Section(threads)
Section(logger)
Section(synchronization)
Section(deep)
[1]   Illegal instruction (core dumped) (cd collects/tests/racket  racket -f 
quiet.rktl)

Backtrace:

Program terminated with signal 4, Illegal instruction.
#0  0xbb5a5d0a in ?? ()
#1  0xbb5a5d0f in ?? ()
#2  0xbb5a5d0f in ?? ()
...
#1274 0xbb5a5d0f in ?? ()
#1275 0xbb5a5d0f in ?? ()
#1276 0xbb5a5d0f in ?? ()
#1277 0x08083897 in scheme_do_eval ()
#1278 0x0808549b in do_eval_k ()
#1279 0x0807d965 in scheme_enlarge_runstack ()
#1280 0x08082ba5 in scheme_do_eval ()
#1281 0x080856a7 in _scheme_apply_from_native ()
#1282 0xbb5a5dcd in ?? ()
#1283 0xbb5a5d0f in ?? ()
#1284 0xbb5a5d0f in ?? ()
...
#6147 0xbb5a5d0f in ?? ()
#6148 0xbb5a5d0f in ?? ()
...
(I've stopped GDB here.)

Any idea what can be wrong?



-- 
HE CE3OH...


patch-src_racket_sconfig.h
Description: Binary data
_
  Racket Developers list:
  http://lists.racket-lang.org/dev