[MacPorts] #58084: installing Perl: staging failed

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[MacPorts] #58084: installing Perl: staging failed

MacPorts
#58084: installing Perl: staging failed
-----------------------------------------------------+--------------------
 Reporter:  QuRyu                                    |      Owner:  (none)
     Type:  defect                                   |     Status:  new
 Priority:  Normal                                   |  Milestone:
Component:  ports                                    |    Version:  2.5.4
 Keywords:  staging, destroot, installation failure  |       Port:
-----------------------------------------------------+--------------------
 I am running on macOS Mojave 10.14.3. I tried to install perl 5.28.1 but
 the installation failed. I followed through the log file and executed the
 command which the log says failed. The second file is the output I got
 from executing the make instruction.
 The perl installed on my system by default is version 5.18.2 in
 /usr/bin/perl.

--
Ticket URL: <https://trac.macports.org/ticket/58084>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: installing Perl: staging failed

MacPorts
#58084: installing Perl: staging failed
---------------------+-----------------------------------------------------
  Reporter:  QuRyu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.5.4
Resolution:          |   Keywords:  staging, destroot, installation failure
      Port:          |
---------------------+-----------------------------------------------------
Changes (by QuRyu):

 * Attachment "main.log" added.


--
Ticket URL: <https://trac.macports.org/ticket/58084>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: installing Perl: staging failed

MacPorts
In reply to this post by MacPorts
#58084: installing Perl: staging failed
---------------------+-----------------------------------------------------
  Reporter:  QuRyu   |      Owner:  (none)
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:  2.5.4
Resolution:          |   Keywords:  staging, destroot, installation failure
      Port:          |
---------------------+-----------------------------------------------------
Changes (by QuRyu):

 * Attachment "make_output.txt" added.


--
Ticket URL: <https://trac.macports.org/ticket/58084>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: perl5.28: install_name_tool: malformed object (unknown load command 9) (was: installing Perl: staging failed)

MacPorts
In reply to this post by MacPorts
#58084: perl5.28: install_name_tool: malformed object (unknown load command 9)
-----------------------+--------------------
  Reporter:  QuRyu     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  perl5.28  |
-----------------------+--------------------
Changes (by ryandesign):

 * keywords:  staging, destroot, installation failure =>
 * port:   => perl5.28


Comment:

 The log says:

 {{{
 :info:destroot install_name_tool: object:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_perl5/perl5.28/work/destroot/opt/local/bin/perl5.28.1
 malformed object (unknown load command 9)
 }}}

 This suggests your `install_name_tool` command is too old. Please
 reinstall the correct version. It's part of Xcode and/or the command line
 tools.

--
Ticket URL: <https://trac.macports.org/ticket/58084#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: perl5.28: install_name_tool: malformed object (unknown load command 9)

MacPorts
In reply to this post by MacPorts
#58084: perl5.28: install_name_tool: malformed object (unknown load command 9)
-----------------------+--------------------
  Reporter:  QuRyu     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  perl5.28  |
-----------------------+--------------------

Comment (by QuRyu):

 To update `install_name_tool`, should I just delete it and expect Xcode to
 download a new one? I reinstalled Xcode and have `xcode-select` now
 pointing to the correct place. But `install_name_tool` is still kept
 intact.

--
Ticket URL: <https://trac.macports.org/ticket/58084#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: perl5.28: install_name_tool: malformed object (unknown load command 9)

MacPorts
In reply to this post by MacPorts
#58084: perl5.28: install_name_tool: malformed object (unknown load command 9)
-----------------------+--------------------
  Reporter:  QuRyu     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  perl5.28  |
-----------------------+--------------------

Comment (by QuRyu):

 Also software update says that "No new software available" with
 `softwareupdate --list`.

--
Ticket URL: <https://trac.macports.org/ticket/58084#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: perl5.28: install_name_tool: malformed object (unknown load command 9)

MacPorts
In reply to this post by MacPorts
#58084: perl5.28: install_name_tool: malformed object (unknown load command 9)
-----------------------+--------------------
  Reporter:  QuRyu     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  perl5.28  |
-----------------------+--------------------

Comment (by QuRyu):

 The current  version of `install_name_tool` on my mac is

 ``
 /usr/bin/install_name_tool:

         /usr/lib/libxcselect.dylib (compatibility version 1.0.0, current
 version 1.0.0)

         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1252.200.5)

 ``

--
Ticket URL: <https://trac.macports.org/ticket/58084#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: perl5.28: install_name_tool: malformed object (unknown load command 9)

MacPorts
In reply to this post by MacPorts
#58084: perl5.28: install_name_tool: malformed object (unknown load command 9)
-----------------------+--------------------
  Reporter:  QuRyu     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  perl5.28  |
-----------------------+--------------------
Changes (by jmroot):

 * cc: mojca (added)


Comment:

 That doesn't actually tell us anything because (a)
 /usr/bin/install_name_tool is just a shim that runs the actual program
 inside Xcode, and (b) otool -L only shows the versions of the libraries an
 executable is linked with, not the version of the executable itself.

 More helpful might be `xcodebuild -version` and `xcrun --find
 install_name_tool`.

--
Ticket URL: <https://trac.macports.org/ticket/58084#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
Reply | Threaded
Open this post in threaded view
|

Re: [MacPorts] #58084: perl5.28: install_name_tool: malformed object (unknown load command 9)

MacPorts
In reply to this post by MacPorts
#58084: perl5.28: install_name_tool: malformed object (unknown load command 9)
-----------------------+--------------------
  Reporter:  QuRyu     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:
      Port:  perl5.28  |
-----------------------+--------------------

Comment (by QuRyu):

 `xcodebuild -version` gives

 ``
         Xcode 10.1

         Build version 10B61
 ``

 and `xcrun -find install_name_tool` prints

 ``
 /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool
 ``

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