X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=k5qFEMVEmFzvSFS+lWIvV3H+8sgAzRN5A5ux5xK+ymo=; b=R/UW/72CIbfZvQxSEYCi4KE8z6QHIHdy+SHneqVu0KyoUcBVYuDtDIFfjkr5VXnQ6/ ovzOIFScxffPnQB5ZyEZLLBmv7hXhmXGlo/KCTUr98x82MSz4rSVIhwHluPJXqV2sfHO H7rjsbOlmSdcZ3sJmhfSDHgRp4c/oeGEzg1o5k9iz+ZY2mPWwH+LaEi20VV/ihm+q/bd bycaSqJvPjlZ9Ufks9q2tF0qe5cSKTtpmOmlW/aRmG3RakR9lqH73y7te3cUrN7frKgU cLnaWZgih4EUds+lso5qbqifXubsIaxTAkZalmu9kn3dAf7mjdVsxr0buVYJXwWkRT03 ggpw== MIME-Version: 1.0 X-Received: by 10.182.65.164 with SMTP id y4mr5380344obs.65.1440118528187; Thu, 20 Aug 2015 17:55:28 -0700 (PDT) In-Reply-To: <20150727092112.GB14782@localhost.localdomain> References: <20150726154948 DOT GA15646 AT localhost DOT localdomain> <20150726170206 DOT GB15646 AT localhost DOT localdomain> <20150727092112 DOT GB14782 AT localhost DOT localdomain> Date: Thu, 20 Aug 2015 20:55:27 -0400 Message-ID: Subject: Re: [geda-user] Guile Error in gEDA-gaf Head From: "Jason White (whitewaterssoftwareinfo AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Content-Type: multipart/alternative; boundary=001a11c1fbbe57312a051dc7b99e Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --001a11c1fbbe57312a051dc7b99e Content-Type: text/plain; charset=UTF-8 Well, on my system (Ubuntu 14.04 LTS) it is a non-trivial task to get the Debian package for guile 2.0.11 without contaminating my package manager with (incompatible) upstream libraries. The obvious solution would be to set up a virtual machine to continue, but sadly my current hardware doesn't support that... Since I appear to be the only one affected by this issue, I guess only thing I can do is try to get set up with a different machine... On Mon, Jul 27, 2015 at 5:21 AM, Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > On Sun, Jul 26, 2015 at 09:30:48PM -0400, Jason White ( > whitewaterssoftwareinfo AT gmail DOT com) [via geda-user AT delorie DOT com] wrote: > > It must be specific to my distro's version of guile. Xubuntu 14.04. > > When I type guile, I see "GNU Guile 2.0.9" > > > Hmm, the current Debian stable version of guile is 2.0.11, and Debian is > rather conservative distribution. Could you update your guile version? > > And then, try to build as follows: > > sudo make uninstall > git pull > make maintainer-clean && ./autogen.sh && ./configure && make && sudo make > install && sudo ldconfig > > > find /usr | grep guile | grep [18]; yields no interesting results > > not a trace guile 1.8 to be found on my system. > > > > > > What I did to test: > > > > Untinstalled guile-1.8, > > > > ./configure > > make clean > > make > > ./gschem -> Error remains > > > > Applied patch, the files also had missing.h > > > > gschem/src/gschem_coord_dialog.c:23:#include > > gschem/src/gschem_arc_dialog.c:23:#include > > gschem/src/gschem_slot_edit_dialog.c:23:#include > > gschem/src/gschem_about_dialog.c:23:#include > > gschem/src/gschem_close_confirmation_dialog.c:23:#include > > gschem/src/gschem_hotkey_dialog.c:23:#include > > gschem_translate_dialog.c:23:#include > This is because my patch is probably older than edits in those files. So > it has become incomplete now. > > > > > ./configure > > make clean > > make > > ./gschem -> Error remains > > > > Error: > > > > Backtrace: > > In ice-9/boot-9.scm: > > 157: 1 [catch #t # ...] > > In unknown file: > > ?: 0 [apply-smob/1 #] > > > > ERROR: In procedure apply-smob/1: > > ERROR: In procedure scm_to_utf8_stringn: Wrong type argument in > > position 1 (expecting string): #f > > I saw this before while trying to cross-compile for Windows. > > The only place the scm_to_utf8_stringn function is used after applying > my patch, as I see it, is in the string->page code. Could you run your > gschem in a clean environment to exclude issues with your rc settings? > > Cheers, > Vladimir > -- Jason White --001a11c1fbbe57312a051dc7b99e Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well, on my system (Ubuntu 14.04 LTS) it is a no= n-trivial task to get the Debian package for guile 2.0.11 without contamina= ting my package manager with (incompatible) upstream libraries.

The obvious solution would be to set up a virtual machine to continue, bu= t sadly my current hardware doesn't support that...

Since = I appear to be the only one affected by this issue, I guess only thing I ca= n do is try to get set up with a different machine...

On Mon, Jul 27, 2015 at 5:2= 1 AM, Vladimir Zhbanov (vzhbanov AT gmai= l.com) [via geda-user AT delorie.= com] <geda-user AT delorie DOT com> wrote:
On Sun, Jul 26, 2015 at 09:30:48PM -0400= , Jason White (whitewa= terssoftwareinfo AT gmail DOT com) [via geda-user AT delorie DOT com] wrote:
> It must be specific to my distro's version of guile. Xubuntu 14.04= .
> When I type guile, I see "GNU Guile 2.0.9"
>
Hmm, the current Debian stable version of guile is 2.0.11, and Debia= n is
rather conservative distribution. Could you update your guile version?

And then, try to build as follows:

sudo make uninstall
git pull
make maintainer-clean && ./autogen.sh && ./configure &&= amp; make && sudo make install && sudo ldconfig

> find /usr | grep guile | grep [18]; yields no interesting results
> not a trace guile 1.8 to be found on my system.
>
>
> What I did to test:
>
> Untinstalled guile-1.8,
>
> ./configure
> make clean
> make
> ./gschem -> Error remains
>
> Applied patch, the files also had missing.h
>
> gschem/src/gschem_coord_dialog.c:23:#include <missing.h>
> gschem/src/gschem_arc_dialog.c:23:#include <missing.h>
> gschem/src/gschem_slot_edit_dialog.c:23:#include <missing.h>
> gschem/src/gschem_about_dialog.c:23:#include <missing.h>
> gschem/src/gschem_close_confirmation_dialog.c:23:#include <missing.= h>
> gschem/src/gschem_hotkey_dialog.c:23:#include <missing.h>
> gschem_translate_dialog.c:23:#include <missing.h>
This is because my patch is probably older than edits in those files= . So
it has become incomplete now.

>
> ./configure
> make clean
> make
> ./gschem -> Error remains
>
> Error:
>
> Backtrace:
> In ice-9/boot-9.scm:
>=C2=A0 157: 1 [catch #t #<catch-closure 9463370> ...]
> In unknown file:
>=C2=A0 =C2=A0 ?: 0 [apply-smob/1 #<catch-closure 9463370>]
>
> ERROR: In procedure apply-smob/1:
> ERROR: In procedure scm_to_utf8_stringn: Wrong type argument in
> position 1 (expecting string): #f

I saw this before while trying to cross-compile for Windows.

The only place the scm_to_utf8_stringn function is used after applying
my patch, as I see it, is in the string->page code. Could you run your gschem in a clean environment to exclude issues with your rc settings?

Cheers,
=C2=A0 Vladimir



--
Jason White
--001a11c1fbbe57312a051dc7b99e--