Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 590814 - sci-electronics/gwave-20090213-r1 uses deprecated dev-scheme/guile-1.8
Summary: sci-electronics/gwave-20090213-r1 uses deprecated dev-scheme/guile-1.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: The Soldering-Iron Brotherhood
URL:
Whiteboard:
Keywords:
Depends on: 637308
Blocks: 587252
  Show dependency tree
 
Reported: 2016-08-08 22:18 UTC by Austin English (RETIRED)
Modified: 2018-02-13 08:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gwave-20120229.ebuild (gwave-20120229.ebuild,1.60 KB, text/plain)
2016-08-15 20:04 UTC, Denis Dupeyron (RETIRED)
Details
gwave-20120229_as-needed.patch (gwave-20120229_as-needed.patch,2.50 KB, patch)
2016-08-15 20:05 UTC, Denis Dupeyron (RETIRED)
Details | Diff
gwave-20120229_missing_externs.patch (gwave-20120229_missing_externs.patch,429 bytes, patch)
2016-08-15 20:06 UTC, Denis Dupeyron (RETIRED)
Details | Diff
gwave-20120229_remove_gh.patch (gwave-20120229_remove_gh.patch,3.25 KB, patch)
2016-08-15 20:07 UTC, Denis Dupeyron (RETIRED)
Details | Diff
gwave-20120229_remove_old_and_broken_compatibility_check.patch (gwave-20120229_remove_old_and_broken_compatibility_check.patch,1.72 KB, patch)
2016-08-15 20:07 UTC, Denis Dupeyron (RETIRED)
Details | Diff
gwave-20120229_spicestream.patch (gwave-20120229_spicestream.patch,540 bytes, patch)
2016-08-15 20:08 UTC, Denis Dupeyron (RETIRED)
Details | Diff
gwave-20120229_stdlib.patch (gwave-20120229_stdlib.patch,396 bytes, patch)
2016-08-15 20:08 UTC, Denis Dupeyron (RETIRED)
Details | Diff
gwave-20120229_unistd.patch (gwave-20120229_unistd.patch,802 bytes, patch)
2016-08-15 20:09 UTC, Denis Dupeyron (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Austin English (RETIRED) gentoo-dev 2016-08-08 22:18:07 UTC
sci-electronics/gwave-20090213-r1.ebuild:DEPEND="=dev-scheme/guile-1.8*[networking]
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:03:00 UTC
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.
Comment 2 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:04:43 UTC
Created attachment 443414 [details]
gwave-20120229.ebuild
Comment 3 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:05:37 UTC
Created attachment 443416 [details, diff]
gwave-20120229_as-needed.patch
Comment 4 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:06:33 UTC
Created attachment 443418 [details, diff]
gwave-20120229_missing_externs.patch
Comment 5 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:07:07 UTC
Created attachment 443420 [details, diff]
gwave-20120229_remove_gh.patch
Comment 6 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:07:33 UTC
Created attachment 443422 [details, diff]
gwave-20120229_remove_old_and_broken_compatibility_check.patch
Comment 7 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:08:03 UTC
Created attachment 443424 [details, diff]
gwave-20120229_spicestream.patch
Comment 8 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:08:28 UTC
Created attachment 443428 [details, diff]
gwave-20120229_stdlib.patch
Comment 9 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-15 20:09:06 UTC
Created attachment 443430 [details, diff]
gwave-20120229_unistd.patch
Comment 10 Amy Liffey gentoo-dev 2016-08-17 09:32:47 UTC
(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
Comment 11 Denis Dupeyron (RETIRED) gentoo-dev 2016-08-17 22:51:00 UTC
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.
Comment 12 Andreas Proteus 2016-08-18 05:06:13 UTC
It compiles and works fine.
Thank you for your effort.