[MacPorts] #61463: mongodb @4.4.1_0 mongod: cannot execute binary file on macOS 10.15
MacPorts
noreply at macports.org
Tue Nov 17 07:48:37 UTC 2020
#61463: mongodb @4.4.1_0 mongod: cannot execute binary file on macOS 10.15
-----------------------+------------------------
Reporter: ValeryKV | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Resolution: | Keywords: catalina
Port: mongodb |
-----------------------+------------------------
Comment (by ValeryKV):
I installed Command Line Tools for Xcode 12, not 12.2, because they tell
the version 12.2 is pre-release software.
{{{
$ pkgutil --pkg-info=com.apple.pkg.CLTools_Executables
package-id: com.apple.pkg.CLTools_Executables
version: 12.0.0.0.1.1599194153
volume: /
location: /
install-time: 1605347145
groups: com.apple.FindSystemFiles.pkg-group
}}}
Here the output for hexdump
{{{
$ hexdump -n 128 /opt/local/bin/mongo
0000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
*
0000080
}}}
{{{
$ hexdump -C /opt/local/bin/mongo | head
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|................|
*
00800000 90 4c 89 85 78 ff ff ff 89 55 c4 48 8b 48 08 48
|.L..x....U.H.H.H|
00800010 89 fe 48 c1 e6 04 4c 63 3c 31 4c 8b 74 31 08 49
|..H...Lc<1L.t1.I|
00800020 63 00 4a 8d 1c 38 48 89 5d 98 83 7c 31 04 00 48
|c.J..8H.]..|1..H|
00800030 89 bd 70 ff ff ff 74 67 48 85 ff 0f 94 c0 83 fa
|..p...tgH.......|
00800040 04 0f 85 ac 04 00 00 44 20 c8 0f 85 a3 04 00 00 |.......D
.......|
00800050 45 39 78 30 7e 10 4b 8d 04 7f 41 80 7c 40 38 00
|E9x0~.K...A.|@8.|
00800060 0f 85 8d 04 00 00 48 8b 85 60 ff ff ff 48 8b 70
|......H..`...H.p|
00800070 30 48 8b 45 10 8b 00 89 45 b8 49 8d 7e 08 48 89
|0H.E....E.I.~.H.|
}}}
Must I use the Xcode 12.2 version of the command line tools?
If version 12.0 is OK, I will try to rebuild with `-k` flag.
--
Ticket URL: <https://trac.macports.org/ticket/61463#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list