[MacPorts] #68477: sbcl fails to build server in thrift on PowerPC: unhandled condition in --disable-debugger mode, quitting

MacPorts noreply at macports.org
Thu Dec 21 12:33:32 UTC 2023


#68477: sbcl fails to build server in thrift on PowerPC:  unhandled condition in
--disable-debugger mode, quitting
---------------------------+----------------------
  Reporter:  barracuda156  |      Owner:  catap
      Type:  defect        |     Status:  assigned
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.8.1
Resolution:                |   Keywords:  powerpc
      Port:  thrift, sbcl  |
---------------------------+----------------------

Comment (by tomio-arisaka):

 I tried to build thrift on macOS 10.13.6, then I got the same error.
 I guess the lisp part of thrift is not maintained :)

 I investigated the error, so that the error is caused due to the path to
 "clon-*" which is changed to "cl-clon-*".\\

 Try the following patch "change_clon.patch" if you like.


 {{{
 $ cat ./files/change_clon.patch
 --- lib/cl/test/make-test-binary.lisp.orig      2023-02-07
 07:38:11.000000000 +0900
 +++ lib/cl/test/make-test-binary.lisp   2023-12-21 18:18:00.000000000
 +0900
 @@ -22,7 +22,7 @@
  (asdf:load-system :thrift-test)

  (require "sb-grovel") ;; necessary for :net.didierverna.clon.termio
 -(asdf:load-asd (first (directory (merge-pathnames
 "../externals/software/clon-*/termio/net.didierverna.clon.termio.asd"
 +(asdf:load-asd (first (directory (merge-pathnames "../externals/software
 /cl-clon-*/termio/net.didierverna.clon.termio.asd"
                                                    *load-truename*))))
  (asdf:load-system :net.didierverna.clon)

 --- test/cl/make-test-client.lisp.orig  2023-02-07 07:38:11.000000000
 +0900
 +++ test/cl/make-test-client.lisp       2023-12-21 18:18:00.000000000
 +0900
 @@ -18,7 +18,7 @@
  (require "asdf")
  (load (merge-pathnames "../../lib/cl/load-locally.lisp" *load-truename*))
  (require "sb-grovel") ;; necessary for :net.didierverna.clon.termio
 -(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/clon-*/termio/net.didierverna.clon.termio.asd"
 +(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/cl-
 clon-*/termio/net.didierverna.clon.termio.asd"
                                                    *load-truename*))))
  (asdf:load-system :net.didierverna.clon)
  (asdf:load-system :fiasco)
 --- test/cl/make-test-server.lisp.orig  2023-02-07 07:38:11.000000000
 +0900
 +++ test/cl/make-test-server.lisp       2023-12-21 18:18:00.000000000
 +0900
 @@ -15,7 +15,7 @@
  (require "asdf")
  (load (merge-pathnames "../../lib/cl/load-locally.lisp" *load-truename*))
  (require "sb-grovel") ;; necessary for :net.didierverna.clon.termio
 -(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/clon-*/termio/net.didierverna.clon.termio.asd"
 +(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/cl-
 clon-*/termio/net.didierverna.clon.termio.asd"
                                                    *load-truename*))))
  (asdf:load-system :net.didierverna.clon)
  (asdf:load-asd (merge-pathnames "gen-cl/ThriftTest/thrift-gen-
 ThriftTest.asd" *load-truename*))
 --- tutorial/cl/make-tutorial-client.lisp.orig  2023-02-07
 07:38:11.000000000 +0900
 +++ tutorial/cl/make-tutorial-client.lisp       2023-12-21
 18:18:00.000000000 +0900
 @@ -15,7 +15,7 @@
  (require "asdf")
  (load (merge-pathnames "load-locally.lisp" *load-truename*))
  (require "sb-grovel") ;; necessary for :net.didierverna.clon.termio
 -(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/clon-*/termio/net.didierverna.clon.termio.asd"
 +(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/cl-
 clon-*/termio/net.didierverna.clon.termio.asd"
                                                    *load-truename*))))
  (asdf:load-system :net.didierverna.clon)
  (asdf:load-asd (merge-pathnames "gen-cl/shared/thrift-gen-shared.asd"
 *load-truename*))
 --- tutorial/cl/make-tutorial-server.lisp.orig  2023-02-07
 07:38:11.000000000 +0900
 +++ tutorial/cl/make-tutorial-server.lisp       2023-12-21
 18:18:00.000000000 +0900
 @@ -15,7 +15,7 @@
  (require "asdf")
  (load (merge-pathnames "load-locally.lisp" *load-truename*))
  (require "sb-grovel") ;; necessary for :net.didierverna.clon.termio
 -(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/clon-*/termio/net.didierverna.clon.termio.asd"
 +(asdf:load-asd (first (directory (merge-pathnames
 "../../lib/cl/externals/software/cl-
 clon-*/termio/net.didierverna.clon.termio.asd"
                                                    *load-truename*))))
  (asdf:load-system :net.didierverna.clon)
  (asdf:load-asd (merge-pathnames "gen-cl/shared/thrift-gen-shared.asd"
 *load-truename*))
 }}}


 {{{
 $ diff -u Portfile.orig Portfile
 --- Portfile.orig       2023-10-18 10:20:20.000000000 +0900
 +++ Portfile    2023-12-21 18:41:00.000000000 +0900
 @@ -30,7 +30,8 @@
  homepage        https://thrift.apache.org/
  master_sites    apache:${name}/${version}

 -patchfiles-append   dynamic_lookup-11.patch
 +patchfiles-append   dynamic_lookup-11.patch \
 +                    change_clon.patch

  depends_build       port:autoconf \
                      port:automake \

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/68477#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list