bugGuile-WWW - Bugs: bug #33175, 1 test failed alive.test

 
 

bug #33175: 1 test failed alive.test

Submitted by:  vonbecmann <vonbecmann>
Submitted on:  Thu 28 Apr 2011 02:32:48 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Thien-Thi Nguyen <ttn>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

(Jump to the original submission Jump to the original submission)

Fri 27 May 2011 11:56:49 PM UTC, comment #8:

my prefix is /usr.
i could load the modules and it is installed now.

thanks very much!
(now, it's time to start hacking!) :)

vonbecmann <vonbecmann>
Fri 27 May 2011 11:43:56 PM UTC, comment #7:
    • i tried the following steps

- tar -xvf guile-www-2.30.tar.gz
- cp --force alive.test ./guile-www-2.30/source
- chmod +x ./guile-www-2.30/source/alive.test
- cd guile-www-2.30
- ./configure
- make check DEBUG=1 >>make-check-debug.log
- tar -cf logs.tar *.log

and it works.
i've installed but i don't not where, may be the default prefix is not enough(due to my own ignorance).
thanks

(file #23456)

vonbecmann <vonbecmann>
Fri 27 May 2011 09:45:25 PM UTC, comment #6:

No response for a few weeks now. I believe the bug is resolved and so will close it now. If there are any further doubts, please review the attached file posted on 2011-05-08.

Thien-Thi Nguyen <ttn>
Project AdministratorIn charge of this item.
Sun 08 May 2011 08:28:53 PM UTC, comment #5:

Sorry, i did not think to upload the file before. Please find the latest alive.test attached.

(file #23370)

Thien-Thi Nguyen <ttn>
Project AdministratorIn charge of this item.
Sun 08 May 2011 07:13:51 PM UTC, comment #4:

i dont know how to get that commit, i try several times.
the tags and branches dont have the scripts to configure and install.
could you upload those files, please?
or tell me the necessary steps to get a full distribution with that commit?
thanks

vonbecmann <vonbecmann>
Mon 02 May 2011 08:44:42 AM UTC, comment #3:

Sorry, the previous fix was not correct. It has now been refined (commit cfabb94). Please try it out.

Thien-Thi Nguyen <ttn>
Project AdministratorIn charge of this item.
Thu 28 Apr 2011 10:36:02 PM UTC, comment #2:

testing alive.test patch

    • i tried the following steps

- tar -xvf guile-www-2.30.tar.gz
- cp --force alive.test ./guile-www-2.30/source
- chmod +x ./guile-www-2.30/source/alive.test
- cd guile-www-2.30
- ./configure
- make check DEBUG=1 >>make-check-debug.log
- tar -cf logs.tar *.log

Actual Results:
from console:
Backtrace:
In unknown file:
?: 26* [load-file #<primitive-procedure primitive-load> "./www/cgi"]
?: 27* [save-module-excursion #<procedure #f ()>]
?: 28 (let (# #) (dynamic-wind # thunk #))
?: 29 [dynamic-wind #<procedure #f ()> #<procedure #f ()> #<procedure #f ()>]
?: 30* [#<procedure #f ()>]
?: 31* [primitive-load "./www/cgi"]
In ./www/cgi:
1: 32* (define-module (www cgi) #:export ...)
1: 33 (eval-case (# #) (else #))
In unknown file:
...
?: 34 (let* ((m (process-define-module #))) (set-current-module m) m)
?: 35* [process-define-module (# # # # ...)]
?: 36 (let* (# # # #) (beautify-user-module! module) (# kws # # ...) ...)
?: 37* [loop (# # # # ...) () () ...]
?: 38 (if (null? kws) (call-with-deferred-observers (lambda () # ...)) ...)
...
?: 39 (let* ((interface-args #) (interface #)) (and (eq? # #) (or # #) ...) ...)
?: 40* [apply #<procedure resolve-interface (name . args)> ((ice-9 and-let-star))]
?: 41 [resolve-interface (ice-9 and-let-star)]
...
?: 42 (let* (# # # # ...) (and # #) (if # public-i #))
?: 43* (and (or (not module) (not public-i)) (error "no code for module" name))
?: 44 [error "no code for module" (ice-9 and-let-star)]
...
?: 45 [scm-error misc-error #f ...]

<unnamed port>: In procedure scm-error in expression (scm-error (quote misc-error) #f ...):
<unnamed port>: no code for module (ice-9 and-let-star)
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check] Error 2
make: *** [check-recursive] Error 1

(file #23322)

vonbecmann <vonbecmann>
Thu 28 Apr 2011 05:26:13 AM UTC, comment #1:

Apparently, for versions of Guile that do not use module catalogs (i.e., everything after 1.4.x), the %load-extensions variable includes ".scm" before "" and so guile resolves, for example, (www server-utils answer) to ./server-utils/answer.scm, and NOT the proper ./server-utils/answer. For most modules, there is no functional distinction between the pre- and post-"compiled" variants, but in the case of (www server-utils answer) that is not the case: The #:use-module (ice-9 curried-definitions) clause is in answer.scm and not answer.

In commit f41bf9380f, just pushed, alive.test now tries to mollify %load-extensions. Let's see how that goes.

Thien-Thi Nguyen <ttn>
Project AdministratorIn charge of this item.
Thu 28 Apr 2011 02:32:48 AM UTC, original submission:

see attached files

vonbecmann <vonbecmann>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #23456:  logs.tar added by vonbecmann (20KiB - application/x-tar - new logs for last patch)
file #23370:  alive.test added by ttn (2KiB - application/octet-stream)
file #23322:  logs.tar added by vonbecmann (20KiB - application/x-tar - new logs for alive.test patch)
file #23312:  logs.tar added by vonbecmann (20KiB - application/x-tar)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ttn (Posted a comment)
  • -unavailable- added by vonbecmann (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 27 May 2011 11:43:56 PM UTCvonbecmannAttached File-=>Added logs.tar, #23456
    Fri 27 May 2011 09:45:25 PM UTCttnStatusNeed Info=>Fixed
      Open/ClosedOpen=>Closed
    Sun 08 May 2011 08:28:53 PM UTCttnAttached File-=>Added alive.test, #23370
    Thu 28 Apr 2011 10:36:02 PM UTCvonbecmannAttached File-=>Added logs.tar, #23322
    Thu 28 Apr 2011 05:26:13 AM UTCttnStatusNone=>Need Info
      Assigned toNone=>ttn
    Thu 28 Apr 2011 02:32:48 AM UTCvonbecmannAttached File-=>Added logs.tar, #23312

    Back to the top


    Powered by Savane 3.1-cleanup1