Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save amstelchen/a4ea1d9a5ec8f63ea02cb90fc3bc0b3e to your computer and use it in GitHub Desktop.
Save amstelchen/a4ea1d9a5ec8f63ea02cb90fc3bc0b3e to your computer and use it in GitHub Desktop.
~> haikuporter/haikuporter -v --debug --no-repository-update psutil
----------------------------------------------------------------------
dev-python::psutil-5.6.7
/boot/home/haikuports/dev-python/psutil/psutil-5.6.7.recipe
----------------------------------------------------------------------
Skipping download of source for release-5.6.7.tar.gz
Skipping checksum validation of release-5.6.7.tar.gz
Skipping unpack of release-5.6.7.tar.gz
Skipping patchset for release-5.6.7.tar.gz
Cleaning up temporary directories ...
chroot has these packages active:
/boot/system/packages/bash-5.2.015-1-x86_64.hpkg
/boot/system/packages/binutils-2.31.1-2-x86_64.hpkg
/boot/system/packages/build_python39-0.10.0-1-any.hpkg
/boot/system/packages/bzip2-1.0.8-3-x86_64.hpkg
/boot/system/packages/ca_root_certificates-2022_10_11-1-any.hpkg
/boot/system/packages/coreutils-9.3-3-x86_64.hpkg
/boot/system/packages/curl-8.1.2-1-x86_64.hpkg
/boot/system/packages/expat-2.5.0-2-x86_64.hpkg
/boot/system/packages/file-5.43-1-x86_64.hpkg
/boot/system/packages/file_data-5.43-1-any.hpkg
/boot/system/packages/fontconfig-2.13.96-2-x86_64.hpkg
/boot/system/packages/freetype-2.12.1-4-x86_64.hpkg
/boot/system/packages/gcc_syslibs-11.2.0_2021_07_28-10-x86_64.hpkg
/boot/system/packages/gettext_libintl-0.21.1-3-x86_64.hpkg
/boot/system/packages/git-2.37.3-1-x86_64.hpkg
/boot/system/packages/graphite2-1.3.14-2-x86_64.hpkg
/boot/system/packages/grep-3.8-1-x86_64.hpkg
/boot/system/packages/gzip-1.12-1-x86_64.hpkg
/boot/system/packages/haiku-r1~beta4_hrev56578_87-1-x86_64.hpkg
/boot/system/packages/haiku_devel-r1~beta4_hrev56578_87-1-x86_64.hpkg
/boot/system/packages/harfbuzz-7.3.0-1-x86_64.hpkg
/boot/system/packages/icu66-66.1-3-x86_64.hpkg
/boot/system/packages/installer_python39-0.7.0-1-any.hpkg
/boot/system/packages/intel_wifi_firmwares-2022_01_11-5-any.hpkg
/boot/system/packages/libedit-20210910_3.1-3-x86_64.hpkg
/boot/system/packages/libffi-3.4.2-2-x86_64.hpkg
/boot/system/packages/libiconv-1.17-3-x86_64.hpkg
/boot/system/packages/libpcre-8.45-3-x86_64.hpkg
/boot/system/packages/libpcre2-10.39-2-x86_64.hpkg
/boot/system/packages/libpng16-1.6.38-3-x86_64.hpkg
/boot/system/packages/libsolv-0.3.0_haiku_2014_12_22-5-x86_64.hpkg
/boot/system/packages/libssh2-1.9.0-2-x86_64.hpkg
/boot/system/packages/libxml2-2.10.4-2-x86_64.hpkg
/boot/system/packages/mandoc-1.14.3-2-x86_64.hpkg
/boot/system/packages/nano-7.1-1-x86_64.hpkg
/boot/system/packages/ncurses6-6.3-2-x86_64.hpkg
/boot/system/packages/nghttp2-1.43.0-1-x86_64.hpkg
/boot/system/packages/noto-20200106-1-any.hpkg
/boot/system/packages/noto_sans_cjk_jp-1.004-2-any.hpkg
/boot/system/packages/openssl-1.1.1t-1-x86_64.hpkg
/boot/system/packages/packaging_python39-23.0-1-any.hpkg
/boot/system/packages/perl-5.32.1-1-x86_64.hpkg
/boot/system/packages/pyproject_hooks_python39-1.0.0-1-any.hpkg
/boot/system/packages/python3.9-3.9.17-1-x86_64.hpkg
/boot/system/packages/ralink_wifi_firmwares-2015_02_11-2-any.hpkg
/boot/system/packages/readline-8.2.001-1-x86_64.hpkg
/boot/system/packages/realtek_wifi_firmwares-2019_01_02-1-any.hpkg
/boot/system/packages/sed-4.8-1-x86_64.hpkg
/boot/system/packages/setuptools_python39-67.8.0-1-any.hpkg
/boot/system/packages/setuptools_scm_python39-7.1.0-1-any.hpkg
/boot/system/packages/sqlite-3.42.0.0-1-x86_64.hpkg
/boot/system/packages/tar-1.34-1-x86_64.hpkg
/boot/system/packages/toml_python39-0.10.2-3-any.hpkg
/boot/system/packages/tomli_python39-2.0.1-3-any.hpkg
/boot/system/packages/unzip-6.10c23-5-x86_64.hpkg
/boot/system/packages/wheel_python39-0.36.2-3-any.hpkg
/boot/system/packages/which-2.21-6-x86_64.hpkg
/boot/system/packages/xz_utils-5.4.3-1-x86_64.hpkg
/boot/system/packages/zlib-1.2.13-2-x86_64.hpkg
/boot/system/packages/zstd-1.5.2-3-x86_64.hpkg
----- Package Info ----------------
header size: 80
heap size: 745
TOC size: 41
package attributes size: 860
total size: 825
-----------------------------------
----- Package Info ----------------
header size: 80
heap size: 791
TOC size: 41
package attributes size: 942
total size: 871
-----------------------------------
waiting for build package psutil-5.6.7-1 to be activated
waiting for build package psutil_python39-5.6.7-1 to be activated
Skipping build ...
Collecting files to be packaged ...
running build
running build_py
creating build
creating build/lib.haiku-1-x86_64-cpython-39
creating build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/__init__.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_common.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_compat.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_psaix.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_psbsd.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_pshaiku.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_pslinux.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_psosx.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_psposix.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_pssunos.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
copying psutil/_pswindows.py -> build/lib.haiku-1-x86_64-cpython-39/psutil
creating build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/__init__.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/__main__.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/runner.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_aix.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_bsd.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_connections.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_contracts.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_linux.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_memory_leaks.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_misc.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_osx.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_posix.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_process.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_sunos.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_system.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_unicode.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
copying psutil/tests/test_windows.py -> build/lib.haiku-1-x86_64-cpython-39/psutil/tests
running build_ext
building 'psutil._psutil_haiku' extension
creating build/temp.haiku-1-x86_64-cpython-39
creating build/temp.haiku-1-x86_64-cpython-39/psutil
gcc -D_BSD_SOURCE -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O3 -Wall -fPIC -DPSUTIL_POSIX=1 -DPSUTIL_VERSION=567 -DPSUTIL_HAIKU=1 -D_DEFAULT_SOURCE=1 -I/packages/python3.9-3.9.17-1/.self/develop/headers/python3.9 -c psutil/_psutil_common.c -o build/temp.haiku-1-x86_64-cpython-39/psutil/_psutil_common.o
error: command 'gcc' failed: No such file or directory
Traceback (most recent call last):
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1277, in _executeInChroot
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 813, in taskFunction
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1364, in _executeBuild
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1463, in _makePackages
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1520, in _doInstallStage
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1552, in _doRecipeAction
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1587, in _openShell
File "/packages/python3.9-3.9.17-1/.self/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['bash', '-c', '. /wrapper-script']' returned non-zero exit status 1.
cleaning 'chroot/boot' folder
keeping chroot folder /boot/home/haikuports/dev-python/psutil/work-5.6.7 intact for inspection
Traceback (most recent call last):
File "/boot/home/haikuporter/HaikuPorter/Main.py", line 38, in __init__
self.run(args)
File "/boot/home/haikuporter/HaikuPorter/Main.py", line 476, in run
self._buildPort(port, True, self.options.test)
File "/boot/home/haikuporter/HaikuPorter/Main.py", line 690, in _buildPort
port.build(self.packagesPath, self.options.package, targetPath)
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 832, in build
self._executeInChroot(chrootSetup, makeChrootFunctions())
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 1293, in _executeInChroot
chrootFunctions['failure']()
File "/boot/home/haikuporter/HaikuPorter/Port.py", line 823, in failureFunction
sysExit('Build has failed - stopping.')
File "/boot/home/haikuporter/HaikuPorter/Utils.py", line 67, in sysExit
sys.exit(message)
SystemExit: Error: Build has failed - stopping.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment