Off-Topic > Off-Topic - Tiny Tux's Corner
Building guile 2.2.x fails
GNUser:
--- Quote from: jazzbiker on July 28, 2023, 10:11:39 AM ---In TC12 x86 all dependencies are the same as in TC13 x86. But in TC12 guile-3.0.9 is built while in TC13 not. Compilation completes in both cases but compiled with gcc11 (TC13) can not work properly and successfully accomplish the build.
--- End quote ---
Hi jazzbiker. TC14 x86_64 has gcc12, which seems to be similarly impacted as gcc11 (assuming gcc is the problem).
GNUser:
Hi Juanito. I tried again on TCL14 x86_64, this time with a properly-edited configure script (now that I understand the edit--sorry for being dense) and latest guile source code (version 3.0.9). Still same error :(
--- Code: ---$ make
...
SNARF net_db.doc
SNARF socket.doc
SNARF regex-posix.doc
GEN guile-procedures.texi
Pre-boot error; key: encoding-error, args: ("scm_to_stringn" "cannot convert narrow string to output locale" 38 #f #f)Aborted
make[3]: *** [Makefile:4656: guile-procedures.texi] Error 1
make[3]: Leaving directory '/mnt/data/Downloads/guile-3.0.9/libguile'
make[2]: *** [Makefile:2725: all] Error 2
make[2]: Leaving directory '/mnt/data/Downloads/guile-3.0.9/libguile'
make[1]: *** [Makefile:2152: all-recursive] Error 1
make[1]: Leaving directory '/mnt/data/Downloads/guile-3.0.9'
make: *** [Makefile:2038: all] Error 2
Command exited with non-zero status 2
--- End code ---
jazzbiker:
I want to mention that the question in the topic name is now not actual for me concerning building dependency for gEDA-gaf 1.10.2. On geda-project.org site the sources that are proposed to download require guile >= 2.2. But authors in the git version rolled back the requirements for guile version back to >= 2.0.11, so I don't need another guile version to build gEDA-gaf 1.10.2.
Still the question remains why the latest GNU C compiler don't build GNU extension language properly :-) If it may help I can try some digging but now I don't know in what direction. Building new guile version with gdb support and running the failing file under the debugger? Not a piece of cake, I guess :-)
mocore:
not shore if/how relevant my sum-what uneducated musings on this subject might be
however !...
i dug up a few topics mentioning the string after the error's "Uncaught exception:
Throw to key encoding-error with args" mentioned @ https://forum.tinycorelinux.net/index.php/topic,26345.msg169858.html#msg169858
& "Pre-boot error; key: encoding-error, args:" @ https://forum.tinycorelinux.net/index.php/topic,26345.msg169876.html#msg169876
perhaps the below threads might help illuminate the exact source of the problem or at least rule out some factors ?? :-\
Chunked store references in compiled code break grafting (again)
https://issues.guix.gnu.org/30395
bug#11083: guile-2.0.5 bug report
https://bug-guile.gnu.narkive.com/S0anG9Gy/bug-11083-guile-2-0-5-bug-report
buggy GUILE ? (also, guile vs. guile30?)
https://forums.fedoraforum.org/showthread.php?329977-buggy-GUILE-(also-guile-vs-guile30-)&p=1867013
....
presumably greping the archives @ https://savannah.gnu.org/mail/?group=guile
or even posting to a/the relevent guile list
where id presume those with more knowledge of guile building pitfalls
are likely to read / reply !
sayonara.
Navigation
[0] Message Index
[*] Previous page
Go to full version