[MacPorts] #68232: john-jumbo @1.9.0_3: does not install executables on arm64

MacPorts noreply at macports.org
Sat Sep 23 21:39:46 UTC 2023


#68232: john-jumbo @1.9.0_3: does not install executables on arm64
--------------------+-----------------------------------------
 Reporter:  JDLH    |      Owner:  kirill@…
     Type:  defect  |     Status:  assigned
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.8.1
 Keywords:          |       Port:  john-jumbo john-jumbo-devel
--------------------+-----------------------------------------
 Ports john-jumbo @1.9.0_3 and john-jumbo-devel @1.9.0_3 appear to install
 no executable. This may be limited to arm64 (M1, Apple Silicon)
 architectures. This appears to be true regardless of the presence or
 absence of the +threads and +native variants.

 **How to reproduce**: Install ports "john-jumbo" or "john-jumbo-devel". I
 used a MacBook Pro with an Apple M1 Max CPU and macOS 12.6.8 Monterey.
 Then attempt to run john's executable.


 {{{
 % sudo port install -k john-jumbo -threads
 --->  Computing dependencies for john-jumbo
 --->  Fetching archive for john-jumbo
 --->  Attempting to fetch john-jumbo-1.9.0_3.darwin_21.arm64.tbz2 from
 https://packages.macports.org/john-jumbo
 --->  Attempting to fetch john-jumbo-1.9.0_3.darwin_21.arm64.tbz2 from
 http://mirror.fcix.net/macports/packages/john-jumbo
 --->  Attempting to fetch john-jumbo-1.9.0_3.darwin_21.arm64.tbz2 from
 https://ywg.ca.packages.macports.org/mirror/macports/packages/john-jumbo
 --->  Fetching distfiles for john-jumbo
 --->  Verifying checksums for john-jumbo
 --->  Extracting john-jumbo
 --->  Applying patches to john-jumbo
 --->  Configuring john-jumbo
 --->  Building john-jumbo
 --->  Staging john-jumbo into destroot
 --->  Installing john-jumbo @1.9.0_3
 --->  Deactivating john-jumbo @1.9.0_3+threads
 --->  Cleaning john-jumbo
 --->  Activating john-jumbo @1.9.0_3
 --->  Cleaning john-jumbo
 --->  Updating database of binaries
 --->  Scanning binaries for linking errors
 --->  No broken files found.
 --->  No broken ports found.
 --->  Some of the ports you installed have notes:
   john-jumbo has the following notes:
     This version is built based on a base architecture for convenience,
 which may not be optimized for your system. To build a version customized
 for your machine, use the +native variant
     You'll find the john files under /opt/local/share/john/
 }}}

 **Observed behaviour**:

 {{{
 % john
 zsh: command not found: john
 % ls -l /opt/local/bin/john
 lrwxr-xr-x  1 root  wheel  26 23 Sep 14:22 /opt/local/bin/john ->
 /opt/local/share/john/john
 % ls -l /opt/local/share/john/john
 ls: /opt/local/share/john/john: No such file or directory
 }}}


 **Expected behaviour**: executable for john runs, without errors.

 **Discussion**: Looking at the [https://github.com/macports/macports-
 ports/blob/master/sysutils/john/Portfile Portfile for john], the "john"
 port has a [https://github.com/macports/macports-
 ports/blob/69e775cfd7bbf6d44b24b9b1deb2fd2872c1c254/sysutils/john/Portfile#L22
 supported_archs directive] and a [https://github.com/macports/macports-
 ports/blob/caf99e9c4ba87622cadb58b3496a23fd12ef4450/sysutils/john/Portfile#L48-L75
 switch statement about how to handle various archictectures], but the
 "john-jumbo" and "john-jumbo-devel" ports appear to lack these. Is Arm64
 included in the default supported_archs list?

 Earlier, subport "john-jumbo" also did not install an executable, but this
 was because it has a build failure. See ticket #67973. That is fixed.

 Earlier, port "john" did not install an executable, but this was due to it
 not patching for Arm architecture. See ticket #67975. That is fixed, but
 this problem smells like a similar issue but with the other subports.

-- 
Ticket URL: <https://trac.macports.org/ticket/68232>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list