Opened 15 months ago

Last modified 15 months ago

#68005 assigned defect

cl-trivial-garbage fails to upgrade: /opt/local/bin/ccl64: No such file or directory

Reported by: barracuda156 Owned by: catap (Kirill A. Korinsky)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: cl-trivial-garbage

Description

--->  Building cl-trivial-garbage
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build/source
xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build/system
Execute asdf:build-op at trivial-garbage by SBCL
This is SBCL 2.3.7, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
; compiling file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build/source/cl-trivial-garbage/trivial-garbage.lisp" (written 20 JUN 2023 09:03:40 PM):

; wrote /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/.home/.cache/common-lisp/sbcl-2.3.7-macosx-ppc32/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build/source/cl-trivial-garbage/trivial-garbage-tmp7LQ0A0VI.fasl
; compilation finished in 0:00:00.094
Execute asdf:build-op at trivial-garbage by CLISP
#P"/opt/local/lib/clisp-2.49.93+/dynmod/asdf.lisp"
(*DEFAULT-PATHNAME-DEFAULTS*
 #P"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build/system/"
 #P"/opt/local/share/common-lisp/system/")
WARNING: Adding method
         #<STANDARD-METHOD (#<STANDARD-CLASS TEST-OP> (EQL #<SYSTEM 
         "trivial-garbage/tests">))> to an already called generic function
         #<STANDARD-GENERIC-FUNCTION PERFORM>
#<ASDF/OPERATE:BUILD-OP> ;
#<ASDF/PLAN:SEQUENTIAL-PLAN #x102A85B6>
Execute asdf:build-op at trivial-garbage by CCL
sh: /opt/local/bin/ccl64: No such file or directory
Command failed: /opt/local/bin/ccl64 --no-init --batch --eval '(require "asdf")' --eval '(setf asdf:*central-registry* (list* (quote *default-pathname-defaults*) #p"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lisp_cl-trivial-garbage/cl-trivial-garbage/work/build/system/" #p"/opt/local/share/common-lisp/system/" asdf:*central-registry*))' --eval '(asdf:operate (quote asdf:build-op) (quote trivial-garbage))' 2>&1
Exit code: 127
Error: Failed to build cl-trivial-garbage: asdf:build-op cannot be executed

Change History (5)

comment:1 Changed 15 months ago by catap (Kirill A. Korinsky)

I wonder that port contents ccl | grep bin/ccl shows on this system. And also may you guess a value of configure.build_arch?

comment:2 in reply to:  1 Changed 15 months ago by barracuda156

Replying to catap:

I wonder that port contents ccl | grep bin/ccl shows on this system. And also may you guess a value of configure.build_arch?

36-25% port contents ccl | grep bin/ccl
  /opt/local/bin/ccl
  /opt/local/share/ccl/1.6/bin/ccl-export-syms.dfsl

macports.conf has:

build_arch              ppc
universal_archs         ppc ppc64
buildfromsource         always

Obviously, I do not try to install anything as +universal, and SBCL, as well as CCL are ppc-only. (In fact ppc64 is superficial here, but the bug is still to be addressed, since on Leopard such settings would be standard.)

Last edited 15 months ago by barracuda156 (previous) (diff)

comment:3 Changed 15 months ago by catap (Kirill A. Korinsky)

Sergey, if you follow your settings at https://github.com/macports/macports-ports/commit/32a7ae7c7a1d626242c644f551e452eae1fa225b you may see that in case when configure.build_arch is ppc64 it should install ccl64 and not ccl.

Inside lisp port group it uses near the same logic: https://github.com/macports/macports-ports/blob/master/_resources/port1.0/group/common_lisp-1.0.tcl#L246-L257

Feel free to figure out the right settings here, but keep in mind that at least few ports (maxima, maxima-devel and something else I guess) have that hack.

Thus, the right way is rework ccl port, but it requires some time and testing, yeah.

comment:4 in reply to:  3 ; Changed 15 months ago by barracuda156

Replying to catap:

Sergey, if you follow your settings at https://github.com/macports/macports-ports/commit/32a7ae7c7a1d626242c644f551e452eae1fa225b you may see that in case when configure.build_arch is ppc64 it should install ccl64 and not ccl.

Well, build_arch is ppc, not ppc64. If it forces ppc64, it is doing something wrong.

comment:5 in reply to:  4 Changed 15 months ago by catap (Kirill A. Korinsky)

Replying to barracuda156:

Well, build_arch is ppc, not ppc64. If it forces ppc64, it is doing something wrong.

When I don't understand WTF is going on here.

Note: See TracTickets for help on using tickets.