[MacPorts] #56483: Error updating graphene

MacPorts noreply at macports.org
Tue May 15 08:16:21 UTC 2018


#56483: Error updating graphene
-----------------------+----------------------
  Reporter:  eolaguir  |      Owner:  dbevans
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  graphene  |
-----------------------+----------------------

Comment (by hugo-ribeiro):

 I have run into a similar problem when upgrading gstreamer1-gst-plugins-
 base; the newest version depends on graphene. It seems that the meson port
 is responsible. Here's the relevant output from {{{ port -sv upgrade
 outdated }}}

 {{{
 Traceback (most recent call last):
   File "/opt/local/bin/meson", line 26, in <module>
     sys.exit(main())
   File "/opt/local/bin/meson", line 23, in main
     return mesonmain.run(sys.argv[1:], launcher)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/mesonmain.py", line 308, in run
     sys.exit(run_script_command(args[1:]))
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/mesonmain.py", line 257, in run_script_command
     return cmdfunc(cmdargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/scripts/meson_install.py", line 390, in run
     do_install(datafilename)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/scripts/meson_install.py", line 216, in
 do_install
     install_targets(d)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/scripts/meson_install.py", line 371, in
 install_targets
     depfixer.fix_rpath(outname, install_rpath, False)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/scripts/depfixer.py", line 391, in fix_rpath
     fix_darwin(fname, new_rpath)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6
 /site-packages/mesonbuild/scripts/depfixer.py", line 376, in fix_darwin
     subprocess.check_call(['install_name_tool', '-add_rpath', new_rpath,
 fname])
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 286, in check_call
     retcode = call(*popenargs, **kwargs)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 267, in call
     with Popen(*popenargs, **kwargs) as p:
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 709, in __init__
     restore_signals, start_new_session)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/subprocess.py",
 line 1275, in _execute_child
     restore_signals, start_new_session, preexec_fn)
 TypeError: expected str, bytes or os.PathLike object, not NoneType
 FAILED: meson-install
 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
 /opt/local/bin/meson --internal install
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphene/graphene/work
 /build-x86_64/meson-private/install.dat
 ninja: build stopped: subcommand failed.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphene/graphene/work
 /build-x86_64" && /opt/local/bin/ninja install
 Exit code: 1
 Error: Failed to destroot graphene: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_graphene/graphene/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets to report a bug.
 }}}

 I've also attached the main.log file.

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


More information about the macports-tickets mailing list