sci-electronics/gwave-20090213-r1.ebuild:DEPEND="=dev-scheme/guile-1.8*[networking]
I have written an ebuild for gwave-20120229 in order to fix this. It was an absolute patch fest and took me an enormous amount of time, mostly because I don't know guile. I'm 99% done but I'm currently stumped by some issue with a guile regular expression. The error I get is: doc/../utilities/doc-split:103:36: Unknown # object: #\+ Triggered by the following snippet of code: (define (process-file-by-lines fname) (let ((fp #f)) (do ((line (read-line) (read-line))) ((eof-object? line) #f) (if (string-index line #\np ) (let ((line (read-line))) (if (not (eof-object? line)) (begin (cond ((regexp-exec #+"^Concept: " line) (The line triggering the error is the last one) This is in the doc directory and we could strip that part out in case we couldn't solve it, in which case the ebuild would be good to go as is. This is probably a 2 minute fix to anyone who knows guile. I have no clue what the thing is, and google wasn't helpful. I'll attach the ebuild and all patches for anybody who wants to try it. Note that you need to replace the '@GUILE@' statement with 'guile' in doc/Makefile.am to get that part working, and 'docbook-to-man $*.sgml > $@' with 'docbook2man $*.sgml' (no redirection, not an error). I haven't patched these yet.
Created attachment 443414 [details] gwave-20120229.ebuild
Created attachment 443416 [details, diff] gwave-20120229_as-needed.patch
Created attachment 443418 [details, diff] gwave-20120229_missing_externs.patch
Created attachment 443420 [details, diff] gwave-20120229_remove_gh.patch
Created attachment 443422 [details, diff] gwave-20120229_remove_old_and_broken_compatibility_check.patch
Created attachment 443424 [details, diff] gwave-20120229_spicestream.patch
Created attachment 443428 [details, diff] gwave-20120229_stdlib.patch
Created attachment 443430 [details, diff] gwave-20120229_unistd.patch
(In reply to Denis Dupeyron from comment #1) > I have written an ebuild for gwave-20120229 in order to fix this. It was an > absolute patch fest and took me an enormous amount of time, mostly because I > don't know guile. I'm 99% done but I'm currently stumped by some issue with > a guile regular expression. The error I get is: > > doc/../utilities/doc-split:103:36: Unknown # object: #\+ > > Triggered by the following snippet of code: > > (define (process-file-by-lines fname) > (let ((fp #f)) > (do ((line (read-line) > (read-line))) > ((eof-object? line) #f) > > (if (string-index line #\np ) > (let ((line (read-line))) > (if (not (eof-object? line)) > (begin > (cond > ((regexp-exec #+"^Concept: " line) > > (The line triggering the error is the last one) > > This is in the doc directory and we could strip that part out in case we > couldn't solve it, in which case the ebuild would be good to go as is. This > is probably a 2 minute fix to anyone who knows guile. I have no clue what > the thing is, and google wasn't helpful. > > I'll attach the ebuild and all patches for anybody who wants to try it. Note > that you need to replace the '@GUILE@' statement with 'guile' in > doc/Makefile.am to get that part working, and 'docbook-to-man $*.sgml > $@' > with 'docbook2man $*.sgml' (no redirection, not an error). I haven't patched > these yet. Hello. I think simply replace last line for: ((regexp-exec (make-regexp "^Concept: ") line) and it should work. Problem is with #+"^Concept: ". Also I think the whole line can be replaced as: ((string-match "^Concept: " line) but I didn't test it. Can you confirm? Thanks
I got it to compile, thanks a lot Amy. This is now fixed in gwave-20120229. Compared to the attachments above, I have cleaned the ebuild, merged two patches and added one. I'm leaving the bug open and IN_PROGRESS pending stabilization like I did with the others. Feel free to close it at any time.
It compiles and works fine. Thank you for your effort.