Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 880965 Details for
Bug 920940
dev-python/sphinxygen-1.0.4-r1 fails tests: FileNotFoundError: [Errno 2] No such file or directory: 'sphinx-build'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log and emerge --info
file_920940.txt (text/plain), 28.33 KB, created by
matoro
on 2023-12-29 16:29:54 UTC
(
hide
)
Description:
build.log and emerge --info
Filename:
MIME Type:
Creator:
matoro
Created:
2023-12-29 16:29:54 UTC
Size:
28.33 KB
patch
obsolete
>Portage 3.0.59 (python 3.11.7-final-0, default/linux/sparc/17.0/64ul, gcc-13, glibc-2.37-r7, 6.6.8-gentoo-sparc64 sparc64) >================================================================= >System uname: Linux-6.6.8-gentoo-sparc64-sparc64-sun4v-with-glibc2.37 >KiB Mem: 32643128 total, 27850024 free >KiB Swap: 0 total, 0 free >Timestamp of repository gentoo: Fri, 29 Dec 2023 15:31:59 +0000 >sh bash 5.1_p16-r6 >ld GNU ld (Gentoo 2.40 p5) 2.40.0 >app-misc/pax-utils: 1.3.7::gentoo >app-shells/bash: 5.1_p16-r6::gentoo >dev-lang/perl: 5.38.2-r1::gentoo >dev-lang/python: 3.11.7::gentoo, 3.12.1::gentoo >dev-lang/rust-bin: 1.71.1::gentoo >dev-util/cmake: 3.27.7::gentoo >dev-util/meson: 1.2.3::gentoo >sys-apps/baselayout: 2.14-r1::gentoo >sys-apps/openrc: 0.48::gentoo >sys-apps/sandbox: 2.38::gentoo >sys-devel/autoconf: 2.71-r6::gentoo >sys-devel/automake: 1.16.5-r1::gentoo >sys-devel/binutils: 2.40-r5::gentoo >sys-devel/binutils-config: 5.5::gentoo >sys-devel/gcc: 13.2.1_p20230826::gentoo >sys-devel/gcc-config: 2.11::gentoo >sys-devel/libtool: 2.4.7-r1::gentoo >sys-devel/make: 4.4.1-r1::gentoo >sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers) >sys-libs/glibc: 2.37-r7::gentoo >Repositories: > >gentoo > location: /var/db/repos/gentoo > sync-type: rsync > sync-uri: rsync://rsync.gentoo.org/gentoo-portage > priority: -1000 > volatile: False > sync-rsync-extra-opts: > sync-rsync-verify-max-age: 3 > sync-rsync-verify-metamanifest: yes > sync-rsync-verify-jobs: 1 > >Binary Repositories: > >gentoobinhost > priority: 1 > sync-uri: https://gentoo.osuosl.org/releases/sparc/binpackages/17.0/64 > >ACCEPT_KEYWORDS="sparc" >ACCEPT_LICENSE="@FREE" >CBUILD="sparc64-unknown-linux-gnu" >CFLAGS="-O2 -mcpu=ultrasparc -pipe" >CHOST="sparc64-unknown-linux-gnu" >CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" >CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" >CXXFLAGS="-O2 -mcpu=ultrasparc -pipe" >DISTDIR="/var/cache/distfiles" >EMERGE_DEFAULT_OPTS="--autounmask=y --autounmask-continue=y" >ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME" >FCFLAGS="-O2 -mcpu=ultrasparc -pipe" >FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox news pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" >FFLAGS="-O2 -mcpu=ultrasparc -pipe" >GENTOO_MIRRORS="http://distfiles.gentoo.org" >LANG="en_US.utf8" >LDFLAGS="-Wl,-O1 -Wl,--as-needed" >LEX="flex" >MAKEOPTS="-j30" >PKGDIR="/var/cache/binpkgs" >PORTAGE_CONFIGROOT="/" >PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" >PORTAGE_TMPDIR="/var/tmp" >SHELL="/bin/bash" >USE="acl big-endian bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc llvm-libunwind ncurses nls nptl openmp pam pcre readline sparc split-usr ssl test-rust unicode xattr zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev mga r128 radeon dummy" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account" >Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS > > > > * Package: dev-python/sphinxygen-1.0.4-r1:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: elibc_glibc kernel_linux python_targets_python3_11 sparc test > * FEATURES: keeptemp network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking sphinxygen-1.0.4.gh.tar.gz to /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work >>>> Source unpacked in /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work >>>> Preparing source in /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4 ... > * Build system packages: > * dev-python/gpep517 : 15 > * dev-python/installer : 0.7.0 > * dev-python/setuptools : 69.0.2-r1 > * dev-python/setuptools-rust : > * dev-python/setuptools-scm : 8.0.4 > * dev-python/wheel : 0.42.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4 ... > * python3_11: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for sphinxygen-v1.0.4 via setuptools.build_meta >python3.11 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/wheel >2023-12-29 16:23:41,788 gpep517 INFO Building wheel via backend setuptools.build_meta >WARNING setuptools_scm._integration.setuptools pyproject.toml does not contain a tool.setuptools_scm section >2023-12-29 16:23:43,773 root INFO running bdist_wheel >2023-12-29 16:23:43,895 root INFO running build >2023-12-29 16:23:43,895 root INFO running build_py >2023-12-29 16:23:43,920 root INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build >2023-12-29 16:23:43,921 root INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/lib >2023-12-29 16:23:43,922 root INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/lib/sphinxygen >2023-12-29 16:23:43,922 root INFO copying src/sphinxygen/__init__.py -> /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/lib/sphinxygen >2023-12-29 16:23:43,924 root INFO copying src/sphinxygen/sphinxygen.py -> /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/lib/sphinxygen >2023-12-29 16:23:43,927 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2023-12-29 16:23:43,976 wheel INFO installing to /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel >2023-12-29 16:23:43,977 root INFO running install >2023-12-29 16:23:44,077 root INFO running install_lib >2023-12-29 16:23:44,102 root INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64 >2023-12-29 16:23:44,103 root INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel >2023-12-29 16:23:44,104 root INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel/sphinxygen >2023-12-29 16:23:44,104 root INFO copying /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/lib/sphinxygen/__init__.py -> /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel/sphinxygen >2023-12-29 16:23:44,106 root INFO copying /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/lib/sphinxygen/sphinxygen.py -> /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel/sphinxygen >2023-12-29 16:23:44,107 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2023-12-29 16:23:44,107 root INFO running install_egg_info >2023-12-29 16:23:44,131 root INFO running egg_info >2023-12-29 16:23:44,132 root INFO creating src/sphinxygen.egg-info >2023-12-29 16:23:44,155 root INFO writing src/sphinxygen.egg-info/PKG-INFO >2023-12-29 16:23:44,159 root INFO writing dependency_links to src/sphinxygen.egg-info/dependency_links.txt >2023-12-29 16:23:44,160 root INFO writing entry points to src/sphinxygen.egg-info/entry_points.txt >2023-12-29 16:23:44,162 root INFO writing requirements to src/sphinxygen.egg-info/requires.txt >2023-12-29 16:23:44,163 root INFO writing top-level names to src/sphinxygen.egg-info/top_level.txt >2023-12-29 16:23:44,164 root INFO writing manifest file 'src/sphinxygen.egg-info/SOURCES.txt' >2023-12-29 16:23:44,330 root INFO reading manifest file 'src/sphinxygen.egg-info/SOURCES.txt' >2023-12-29 16:23:44,332 root INFO reading manifest template 'MANIFEST.in' >2023-12-29 16:23:44,334 root WARNING warning: no files found matching '.clang-format' >2023-12-29 16:23:44,337 root INFO adding license file 'LICENSE' >2023-12-29 16:23:44,343 root INFO writing manifest file 'src/sphinxygen.egg-info/SOURCES.txt' >2023-12-29 16:23:44,344 root INFO Copying src/sphinxygen.egg-info to /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel/sphinxygen-1.0.4-py3.11.egg-info >2023-12-29 16:23:44,353 root INFO running install_scripts >2023-12-29 16:23:44,369 wheel INFO creating /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel/sphinxygen-1.0.4.dist-info/WHEEL >2023-12-29 16:23:44,372 wheel INFO creating '/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/wheel/.tmp-1iymp76c/sphinxygen-1.0.4-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel' to it >2023-12-29 16:23:44,374 wheel INFO adding 'sphinxygen/__init__.py' >2023-12-29 16:23:44,375 wheel INFO adding 'sphinxygen/sphinxygen.py' >2023-12-29 16:23:44,377 wheel INFO adding 'sphinxygen-1.0.4.dist-info/LICENSE' >2023-12-29 16:23:44,378 wheel INFO adding 'sphinxygen-1.0.4.dist-info/METADATA' >2023-12-29 16:23:44,379 wheel INFO adding 'sphinxygen-1.0.4.dist-info/WHEEL' >2023-12-29 16:23:44,380 wheel INFO adding 'sphinxygen-1.0.4.dist-info/entry_points.txt' >2023-12-29 16:23:44,381 wheel INFO adding 'sphinxygen-1.0.4.dist-info/top_level.txt' >2023-12-29 16:23:44,382 wheel INFO adding 'sphinxygen-1.0.4.dist-info/RECORD' >2023-12-29 16:23:44,383 wheel INFO removing /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/build/bdist.linux-sparc64/wheel >2023-12-29 16:23:44,387 gpep517 INFO The backend produced /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/wheel/sphinxygen-1.0.4-py3-none-any.whl > * Installing sphinxygen-1.0.4-py3-none-any.whl to /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/install >python3.11 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/install --interpreter=/usr/bin/python3.11 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/wheel/sphinxygen-1.0.4-py3-none-any.whl >2023-12-29 16:23:45,273 gpep517 INFO Installing /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/wheel/sphinxygen-1.0.4-py3-none-any.whl into /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/install >2023-12-29 16:23:45,437 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/sphinxygen-1.0.4-r1 > * python3_11: running distutils-r1_run_phase python_test >python3.11 -m pytest -vv -ra -l -Wdefault --color=yes -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:pytest-describe -p no:plus -p no:tavern -p no:salt-factories >============================================================= test session starts ============================================================= >platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 -- /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-python3_11/install/usr/bin/python3.11 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4 >collecting ... collected 1 item > >test/test_sphinxygen.py::TestSphinxygen::test_generate FAILED [1/1] > >================================================================== FAILURES =================================================================== >________________________________________________________ TestSphinxygen.test_generate _________________________________________________________ > >self = <test.test_sphinxygen.TestSphinxygen testMethod=test_generate> > > def test_generate(self): > self._run(["mkdir", "-p", "build"]) > self._run(["cp", "test/c/conf.py", "build"]) > self._run(["cp", "test/c/index.rst", "build"]) > self._run(["doxygen", "test/c/Doxyfile"]) > > sphinxygen.run("build/xml/index.xml", "build/api", "c", True) > > builder = "html" > build_dir = "build" > out_dir = os.path.join(build_dir, builder) > >> self._run(["sphinx-build", "-EW", "-b", builder, build_dir, out_dir]) > >build_dir = 'build' >builder = 'html' >out_dir = 'build/html' >self = <test.test_sphinxygen.TestSphinxygen testMethod=test_generate> > >test/test_sphinxygen.py:44: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >test/test_sphinxygen.py:24: in _run > proc = subprocess.run( > command = ['sphinx-build', '-EW', '-b', 'html', 'build', 'build/html'] > self = <test.test_sphinxygen.TestSphinxygen testMethod=test_generate> >/usr/lib/python3.11/subprocess.py:548: in run > with Popen(*popenargs, **kwargs) as process: > capture_output = True > check = True > input = None > kwargs = {'encoding': 'utf-8', 'stderr': -1, 'stdout': -1} > popenargs = (['sphinx-build', '-EW', '-b', 'html', 'build', 'build/html'],) > timeout = None >/usr/lib/python3.11/subprocess.py:1026: in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > args = ['sphinx-build', '-EW', '-b', 'html', 'build', 'build/html'] > bufsize = -1 > c2pread = 11 > c2pwrite = 12 > close_fds = True > creationflags = 0 > cwd = None > encoding = 'utf-8' > env = None > errors = None > errread = 13 > errwrite = 14 > executable = None > extra_groups = None > f = <_io.TextIOWrapper name=13 encoding='utf-8'> > gid = None > gids = None > group = None > line_buffering = False > p2cread = -1 > p2cwrite = -1 > pass_fds = () > pipesize = -1 > preexec_fn = None > process_group = -1 > restore_signals = True > self = <Popen: returncode: 255 args: ['sphinx-build', '-EW', '-b', 'html', 'build',...> > shell = False > start_new_session = False > startupinfo = None > stderr = -1 > stdin = None > stdout = -1 > text = None > uid = None > umask = -1 > universal_newlines = None > user = None >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <Popen: returncode: 255 args: ['sphinx-build', '-EW', '-b', 'html', 'build',...> >args = ['sphinx-build', '-EW', '-b', 'html', 'build', 'build/html'], executable = b'sphinx-build', preexec_fn = None, close_fds = True >pass_fds = (), cwd = None, env = None, startupinfo = None, creationflags = 0, shell = False, p2cread = -1, p2cwrite = -1, c2pread = 11 >c2pwrite = 12, errread = 13, errwrite = 14, restore_signals = True, gid = None, gids = None, uid = None, umask = -1, start_new_session = False >process_group = -1 > > def _execute_child(self, args, executable, preexec_fn, close_fds, > pass_fds, cwd, env, > startupinfo, creationflags, shell, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite, > restore_signals, > gid, gids, uid, umask, > start_new_session, process_group): > """Execute program (POSIX version)""" > > if isinstance(args, (str, bytes)): > args = [args] > elif isinstance(args, os.PathLike): > if shell: > raise TypeError('path-like args is not allowed when ' > 'shell is true') > args = [args] > else: > args = list(args) > > if shell: > # On Android the default shell is at '/system/bin/sh'. > unix_shell = ('/system/bin/sh' if > hasattr(sys, 'getandroidapilevel') else '/bin/sh') > args = [unix_shell, "-c"] + args > if executable: > args[0] = executable > > if executable is None: > executable = args[0] > > sys.audit("subprocess.Popen", executable, args, cwd, env) > > if (_USE_POSIX_SPAWN > and os.path.dirname(executable) > and preexec_fn is None > and not close_fds > and not pass_fds > and cwd is None > and (p2cread == -1 or p2cread > 2) > and (c2pwrite == -1 or c2pwrite > 2) > and (errwrite == -1 or errwrite > 2) > and not start_new_session > and process_group == -1 > and gid is None > and gids is None > and uid is None > and umask < 0): > self._posix_spawn(args, executable, env, restore_signals, > p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite) > return > > orig_executable = executable > > # For transferring possible exec failure from child to parent. > # Data format: "exception name:hex errno:description" > # Pickle is not used; it is complex and involves memory allocation. > errpipe_read, errpipe_write = os.pipe() > # errpipe_write must not be in the standard io 0, 1, or 2 fd range. > low_fds_to_close = [] > while errpipe_write < 3: > low_fds_to_close.append(errpipe_write) > errpipe_write = os.dup(errpipe_write) > for low_fd in low_fds_to_close: > os.close(low_fd) > try: > try: > # We must avoid complex work that could involve > # malloc or free in the child process to avoid > # potential deadlocks, thus we do all this here. > # and pass it to fork_exec() > > if env is not None: > env_list = [] > for k, v in env.items(): > k = os.fsencode(k) > if b'=' in k: > raise ValueError("illegal environment variable name") > env_list.append(k + b'=' + os.fsencode(v)) > else: > env_list = None # Use execv instead of execve. > executable = os.fsencode(executable) > if os.path.dirname(executable): > executable_list = (executable,) > else: > # This matches the behavior of os._execvpe(). > executable_list = tuple( > os.path.join(os.fsencode(dir), executable) > for dir in os.get_exec_path(env)) > fds_to_keep = set(pass_fds) > fds_to_keep.add(errpipe_write) > self.pid = _fork_exec( > args, executable_list, > close_fds, tuple(sorted(map(int, fds_to_keep))), > cwd, env_list, > p2cread, p2cwrite, c2pread, c2pwrite, > errread, errwrite, > errpipe_read, errpipe_write, > restore_signals, start_new_session, > process_group, gid, gids, uid, umask, > preexec_fn, _USE_VFORK) > self._child_created = True > finally: > # be sure the FD is closed no matter what > os.close(errpipe_write) > > self._close_pipe_fds(p2cread, p2cwrite, > c2pread, c2pwrite, > errread, errwrite) > > # Wait for exec to fail or succeed; possibly raising an > # exception (limited in size) > errpipe_data = bytearray() > while True: > part = os.read(errpipe_read, 50000) > errpipe_data += part > if not part or len(errpipe_data) > 50000: > break > finally: > # be sure the FD is closed no matter what > os.close(errpipe_read) > > if errpipe_data: > try: > pid, sts = os.waitpid(self.pid, 0) > if pid == self.pid: > self._handle_exitstatus(sts) > else: > self.returncode = sys.maxsize > except ChildProcessError: > pass > > try: > exception_name, hex_errno, err_msg = ( > errpipe_data.split(b':', 2)) > # The encoding here should match the encoding > # written in by the subprocess implementations > # like _posixsubprocess > err_msg = err_msg.decode() > except ValueError: > exception_name = b'SubprocessError' > hex_errno = b'0' > err_msg = 'Bad exception data from child: {!r}'.format( > bytes(errpipe_data)) > child_exception_type = getattr( > builtins, exception_name.decode('ascii'), > SubprocessError) > if issubclass(child_exception_type, OSError) and hex_errno: > errno_num = int(hex_errno, 16) > child_exec_never_called = (err_msg == "noexec") > if child_exec_never_called: > err_msg = "" > # The error must be from chdir(cwd). > err_filename = cwd > else: > err_filename = orig_executable > if errno_num != 0: > err_msg = os.strerror(errno_num) >> raise child_exception_type(errno_num, err_msg, err_filename) >E FileNotFoundError: [Errno 2] No such file or directory: 'sphinx-build' > >args = ['sphinx-build', '-EW', '-b', 'html', 'build', 'build/html'] >c2pread = 11 >c2pwrite = 12 >child_exception_type = <class 'OSError'> >child_exec_never_called = False >close_fds = True >creationflags = 0 >cwd = None >env = None >env_list = None >err_filename = 'sphinx-build' >err_msg = 'No such file or directory' >errno_num = 2 >errpipe_data = bytearray(b'OSError:2:') >errpipe_read = 15 >errpipe_write = 16 >errread = 13 >errwrite = 14 >exception_name = bytearray(b'OSError') >executable = b'sphinx-build' >executable_list = (b'/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4-pytho' > b'n3_11/install/usr/bin/sphinx-build', > b'/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/temp/python3.11/bin/sphinx-b' > b'uild', > b'/usr/lib/portage/python3.11/ebuild-helpers/xattr/sphinx-build', > b'/usr/lib/portage/python3.11/ebuild-helpers/sphinx-build', > b'/usr/local/sbin/sphinx-build', > b'/usr/local/bin/sphinx-build', > b'/usr/sbin/sphinx-build', > b'/usr/bin/sphinx-build', > b'/sbin/sphinx-build', > b'/bin/sphinx-build', > b'/opt/bin/sphinx-build') >fds_to_keep = {16} >gid = None >gids = None >hex_errno = bytearray(b'2') >low_fds_to_close = [] >orig_executable = 'sphinx-build' >p2cread = -1 >p2cwrite = -1 >part = b'' >pass_fds = () >pid = 84 >preexec_fn = None >process_group = -1 >restore_signals = True >self = <Popen: returncode: 255 args: ['sphinx-build', '-EW', '-b', 'html', 'build',...> >shell = False >start_new_session = False >startupinfo = None >sts = 65280 >uid = None >umask = -1 > >/usr/lib/python3.11/subprocess.py:1950: FileNotFoundError >=========================================================== short test summary info =========================================================== >FAILED test/test_sphinxygen.py::TestSphinxygen::test_generate - FileNotFoundError: [Errno 2] No such file or directory: 'sphinx-build' >============================================================== 1 failed in 2.20s ============================================================== > * ERROR: dev-python/sphinxygen-1.0.4-r1::gentoo failed (test phase): > * pytest failed with python3.11 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 4012: Called distutils-r1_src_test > * environment, line 2006: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 735: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3616: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3122: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 3120: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1232: Called distutils-r1_run_phase 'python_test' > * environment, line 1929: Called python_test > * environment, line 3899: Called distutils-r1_python_test > * environment, line 1869: Called epytest > * environment, line 2544: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/sphinxygen-1.0.4-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/sphinxygen-1.0.4-r1::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4' > * S: '/var/tmp/portage/dev-python/sphinxygen-1.0.4-r1/work/sphinxygen-v1.0.4' > >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 920940
: 880965