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=date:from:to:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=R7YGVVIpvk5RG6RrSxOJ/buTGTyOjl3uIuHEMxgRerM=; b=in+OwZz03nFhGaaGtFN6r4jiG4gQv1G1yUj4aiRBcV8Hz8DflypS50vXiGS6OYq24l HM7X9XNm2iTstkIHKszIWi9dE/iVLCkM/4y+p43kfvbYv9e/4feihm99sCCHELBkCxsi WuqPBSok3AnPgVTNVhgjKUzY2RyU81P/DsR0gUyikX01Ppdcw2H09sgpeiU4Qz9Y9lvh Tf32naf5uIKEHLFESAu+mWp2Xhl7S+zS5cNw2i7PP02tCsvKCzoN/fa1kDnD32iU5Nm5 x8kB0clrfnTub4aVZ7+5i5IRdymXOG9847sbXvCtv3a+6gUuXqgb/m5gnWQTDjyEO2Ph WbEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mail-followup-to :references:mime-version:content-disposition:in-reply-to:user-agent; bh=R7YGVVIpvk5RG6RrSxOJ/buTGTyOjl3uIuHEMxgRerM=; b=XpwNavWZcrt2Y2olnKzB0nlvlKVUdPPSRMHb5VPe5M09zaNbG9tECTp+zH/O3lA5VT jRrSoPiYXF1PPENqHcR0xWxJZZylNi7ot+coDQJNeX0S5Ewo3GEEA47jWCMwnTWmu11u tXuRQvu6LjV8ZbTufOE7lla8flOHMGaBw4YTQsvIjejyn3iQIDrvPywJrE93X8CHvz4x GOAZcnWZCfsj5PlDF4xjzVSfXp+3ALjWDeKFO3katixn2Ek1fNiAN4ey+rMJb8wkIens 6fu9zrakVb+CSBDYeAO2GIYlCwu0pzUbO3IpJo4NGFRn6sEm5N7qb2+UaJuP731paywj hDUQ== X-Gm-Message-State: ALyK8tLtfk6PcfyKXlH+ACmWDS02iaulicXGOyHacPL54yZm4wWll8YSqTqlVJ+rzKomNw== X-Received: by 10.46.33.151 with SMTP id h23mr10271150lji.38.1468606817957; Fri, 15 Jul 2016 11:20:17 -0700 (PDT) Date: Fri, 15 Jul 2016 21:20:15 +0300 From: "Vladimir Zhbanov (vzhbanov AT gmail DOT com) [via geda-user AT delorie DOT com]" To: geda-user AT delorie DOT com Subject: Re: [geda-user] can't run gschem, but can run gaf --version (Guile problems?) Message-ID: <20160715182015.GA29579@localhost.localdomain> Mail-Followup-To: geda-user AT delorie DOT com References: <6647c170-2564-b2f8-5ee8-94cce01b26ec AT ecosensory DOT com> <20160714152917 DOT GA15540 AT localhost DOT localdomain> <18b0d745-7657-a81d-0807-f634651ea6fa AT ecosensory DOT com> <5ca33aba-b993-d578-13bc-a11365005bf7 AT ecosensory DOT com> <20160714163205 DOT GC4347 AT localhost DOT localdomain> <31b5b5a4-556c-906c-fa35-1102f65e4e69 AT ecosensory DOT com> <3fabe885-8c74-905b-0677-5f8b47640912 AT ecosensory DOT com> <489d114c-f7d7-73a1-9d51-a85f99e5739d AT ecosensory DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <489d114c-f7d7-73a1-9d51-a85f99e5739d@ecosensory.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 On Fri, Jul 15, 2016 at 11:04:43AM -0500, John Griessen (john AT ecosensory DOT com) [via geda-user AT delorie DOT com] wrote: > I still have the symptom of the subject line. > > I moved my original /home/john/.gEDA/gafrc /home/john/.gEDA/gschemrc files and created empty ones > > The system files are as default from a fresh compile of geda-gaf v 1.9.2 > > john AT toolbench64 [gnucap]find /usr -name '*gafrc' > /usr/local/share/gEDA/system-gafrc > /usr/local/share/doc/geda-gaf/examples/lightning_detector/gafrc > john AT toolbench64 [gnucap]find /usr -name '*gschemrc' > /usr/local/share/gEDA/system-gschemrc > > guile works fine now after creating an empty file ~/.guile > > My debian installation is up to date stretch/testing. > > > john AT toolbench64 [~]gschem > Backtrace: > In ice-9/boot-9.scm: > 157: 1 [catch #t # ...] > In unknown file: > ?: 0 [apply-smob/1 #] > > ERROR: In procedure apply-smob/1: > > > So this is plain vanilla now and it still bombs. > > strace gschem end with the below errors: > > close(11) = 0 > brk(0x2363000) = 0x2363000 > stat("/opt/geda/share/gEDA/scheme/srfi/srfi-26.scm", 0x7ffd95736e50) = -1 ENOENT (No such file or directory) > stat("/opt/geda/share/gEDA/scheme/srfi/srfi-26", 0x7ffd95736e50) = -1 ENOENT (No such file or directory) > stat("/usr/share/guile/2.0/srfi/srfi-26.scm", {st_mode=S_IFREG|0644, st_size=2643, ...}) = 0 > stat("/usr/lib/x86_64-linux-gnu/guile/2.0/ccache/srfi/srfi-26.go", {st_mode=S_IFREG|0644, st_size=6828, ...}) = 0 > open("/usr/lib/x86_64-linux-gnu/guile/2.0/ccache/srfi/srfi-26.go", O_RDONLY|O_CLOEXEC) = 11 > fstat(11, {st_mode=S_IFREG|0644, st_size=6828, ...}) = 0 > mmap(NULL, 6828, PROT_READ, MAP_PRIVATE, 11, 0) = 0x7ff318468000 > close(11) = 0 > futex(0x7ff31f2a24d8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 > write(2, "[catch #t # ...]) = 39 > write(2, "\n", 1 > ) = 1 > write(2, "In ", 3In ) = 3 > write(2, "unknown file", 12unknown file) = 12 > write(2, ":\n", 2: > ) = 2 > write(2, " ?", 4 ?) = 4 > write(2, ": ", 2: ) = 2 > write(2, "0", 10) = 1 > write(2, " ", 1 ) = 1 > write(2, "[apply-smob/1 #]) = 39 > write(2, "\n", 1 > ) = 1 > write(2, "\n", 1 > ) = 1 > futex(0x7ff31f2a16e8, FUTEX_WAKE_PRIVATE, 2147483647) = 0 > write(2, "ERROR: ", 7ERROR: ) = 7 > write(2, "In procedure ", 13In procedure ) = 13 > write(2, "apply-smob/1", 12apply-smob/1) = 12 > write(2, ":\n", 2: > ) = 2 > write(2, "ERROR: ", 7ERROR: ) = 7 > write(2, "In procedure ", 13In procedure ) = 13 > write(2, "scm_to_utf8_stringn", 19scm_to_utf8_stringn) = 19 > write(2, ": ", 2: ) = 2 > write(2, "Wrong type argument in position ", 32Wrong type argument in position ) = 32 > write(2, "1", 11) = 1 > write(2, " (expecting ", 12 (expecting ) = 12 > write(2, "string", 6string) = 6 > write(2, "): ", 3): ) = 3 > write(2, "#f", 2#f) = 2 > write(2, "\n", 1 > ) = 1 > exit_group(1) = ? > +++ exited with 1 +++ > > > Any ideas? I see you don't use apt-get or aptitude which are recommended to install dependences now. Try apt-cache depends guile-2.0 and look if all needed packages are installed. Guile itself may work without some of them, I suspect. You can create a new user with empty $HOME and try to compile there. What else? Do 'gaf shell' and 'gnetlist -i somefile.sch' work? Check if you have no geda* packages installed. BTW, I'm curious, who may use srfi-26? This module is not used (yet) in geda-gaf. I have no 64-bit systems. Could anybody having such system try to build using latest git master and report if it works? -- Vladimir