Problem install from ports
devel/glib20
After make i have ERROR: Could not execute command /usr/ports/devel/glib20/work-default/.bin/g-ir-scanner --version
All reports:
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/g-ir-scanner'
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
===> Script "configure" failed unexpectedly.
Please report the problem to desktop@FreeBSD.org [maintainer] and attach the
"/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[2]: stopped making "/usr/ports/print/harfbuzz/work/.install_done.harfbuzz._usr_local" in /usr/ports/print/harfbuzz
*** Error code 1
Stop.
make[1]: stopped making "deinstall install" in /usr/ports/print/harfbuzz
*** Error code 1
!!! But problem in link at "g-ir-scanner" in "/usr/ports/devel/glib20/work-default/.bin"
After make install in "/usr/ports/devel/glib20/work-default/.bin" create link:
But g-ir-scanner in:
So, create you need to manually create a symlink immediately after executing the command make install:
and then the installation will complete successfully.
devel/glib20
After make i have ERROR: Could not execute command /usr/ports/devel/glib20/work-default/.bin/g-ir-scanner --version
All reports:
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/bin/g-ir-scanner'
ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
===> Script "configure" failed unexpectedly.
Please report the problem to desktop@FreeBSD.org [maintainer] and attach the
"/usr/ports/print/harfbuzz/work/harfbuzz-14.2.1/_build/meson-logs/meson-log.txt"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1
Stop.
make[2]: stopped making "/usr/ports/print/harfbuzz/work/.install_done.harfbuzz._usr_local" in /usr/ports/print/harfbuzz
*** Error code 1
Stop.
make[1]: stopped making "deinstall install" in /usr/ports/print/harfbuzz
*** Error code 1
!!! But problem in link at "g-ir-scanner" in "/usr/ports/devel/glib20/work-default/.bin"
After make install in "/usr/ports/devel/glib20/work-default/.bin" create link:
Code:
root@gw:/usr/ports/devel/glib20/work-default/.bin # ls -l
total 0
lrwxr-xr-x 1 root wheel 69 Jul 9 23:09 g-ir-scanner -> ../../../../../local/gobject-introspection-bootstrap/bin/g-ir-scanner
lrwxr-xr-x 1 root wheel 35 Jul 9 23:09 python3 -> ../../../../../local/bin/python3.12
Code:
root@gw:/usr/ports/devel/glib20 # where g-ir-scanner
/usr/local/bin/g-ir-scanner
So, create you need to manually create a symlink immediately after executing the command make install:
Code:
root@gw:/usr/ports/devel/glib20 # ln -sf /usr/local/bin/g-ir-scanner /usr/ports/devel/glib20/work-default/.bin/g-ir-scanner