Re: guile22 fails building on arm64

Derek Homeier <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 27 Nov 2023, at 8:56 pm, Scott Hannahs via Fink-users <[email protected]> wrote:
> 
> Not sure which versions of guild the build is executing. There is a shell script in the build directory and an executable guild in my /opt/sw/bin directory.  Segmentation fault seems rather bad.
> 
> 
> GUILE_AUTO_COMPILE=0 \
> ../meta/build-env \
> guild compile --target="arm-apple-darwin22.6.0" -Wunbound-variable -Wmacro-use-before-definition -Warity-mismatch -Wformat \
> -L "/opt/sw/src/fink.build/guile22-2.2.7-6/guile-2.2.7/build/../module" -L "/opt/sw/src/fink.build/guile22-2.2.7-6/guile-2.2.7/build/module" \
> -L "/opt/sw/src/fink.build/guile22-2.2.7-6/guile-2.2.7/build/../guile-readline" \
> -o "system/vm/dwarf.go" "../../module/system/vm/dwarf.scm"
> make[2]: *** [system/vm/dwarf.go] Segmentation fault: 11
> make[1]: *** [all-recursive] Error 1
> 
> Also include the following system information:
> Package manager version: 0.45.99.git
> Distribution version: selfupdate-git Mon Nov 27 12:16:24 2023, 13.0, arm64
> Trees: local/injected local/main stable/main
> Xcode.app: 15.0.1
> Xcode command-line tools: 15.0.0.0.1.1694021235
Built this successfully on arm64 under Monterey and Sonoma but have not tried on Ventura.
My log for that step on 14.1.2 is

GUILE_AUTO_COMPILE=0 \
../meta/build-env \
guild compile --target="arm-apple-darwin23.1.0" -Wunbound-variable -Wmacro-use-before-definition -Warity-mismatch -Wformat \
 -L "/opt/sw/src/fink.build/guile22-2.2.7-6/guile-2.2.7/build/../module" -L "/opt/sw/src/fink.build/guile22-2.2.7-6/guile-2.2.7/build/module" \
 -L "/opt/sw/src/fink.build/guile22-2.2.7-6/guile-2.2.7/build/../guile-readline" \
 -o "system/vm/dwarf.go" "../../module/system/vm/dwarf.scm"
wrote `system/repl/coop-server.go’

The executable guild-2.2 in my /opt/sw/bin is installed from guile22 itself; if you already have
one there, maybe it is from an older Fink installation/macOS version?
I’d try removing that to get guile22 to use its own version during the build.

HTH
				Derek



_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.