Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893364 - sys-devel/distcc-3.4-r1 fails include_server_test.py test: basics.NotCoveredError: Could not find translation unit 'test_data/contains_abs_include.c'
Summary: sys-devel/distcc-3.4-r1 fails include_server_test.py test: basics.NotCoveredE...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 928636
  Show dependency tree
 
Reported: 2023-02-06 08:46 UTC by Jaak Ristioja
Modified: 2024-04-19 21:11 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,65.60 KB, text/x-log)
2023-02-06 08:46 UTC, Jaak Ristioja
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaak Ristioja 2023-02-06 08:46:15 UTC
Created attachment 849964 [details]
build.log

[ebuild   R    ] sys-devel/distcc-3.4-r1::gentoo  USE="gtk hardened ipv6 -gssapi (-selinux) -xinetd -zeroconf" PYTHON_SINGLE_TARGET="python3_10 -python3_9 (-python3_8%)" 0 KiB

Running: PYTHONPATH=/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/./_include_server/lib.linux-x86_64-cpython-310/include_server: /usr/bin/python3.10 include_server_test.py
FAIL
/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_server_test.py:158: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='w+' encoding='UTF-8'>
  self.assertTrue(got_here)
ResourceWarning: Enable tracemalloc to get the object allocation traceback
F/usr/lib/python3.10/unittest/case.py:613: ResourceWarning: unclosed file <_io.TextIOWrapper name=3 mode='w+' encoding='UTF-8'>
  outcome.errors.clear()
ResourceWarning: Enable tracemalloc to get the object allocation traceback

======================================================================
FAIL: test_IncludeHandler_handle (__main__.IncludeServerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_server.py", line 384, in handle
    DoCompilationCommand(cmd, currdir,
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_analyzer.py", line 261, in DoCompilationCommand
    self.ProcessCompilationCommand(currdir, parsed_command))
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_analyzer.py", line 189, in ProcessCompilationCommand
    total_closure.update(self._ProcessFileFromCommandLine(translation_unit,
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_analyzer.py", line 135, in _ProcessFileFromCommandLine
    raise NotCoveredError("Could not find %s '%s'." % (kind, fpath),
basics.NotCoveredError: Could not find translation unit 'test_data/contains_abs_include.c'.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_server_test.py", line 177, in test_IncludeHandler_handle
    include_handler.handle()
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_server.py", line 401, in handle
    include_analyzer.email_sender.MaybeSendEmail(fd,
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_server_test.py", line 96, in MaybeSendEmail
    self.expect(text, force, never)
  File "/var/tmp/portage/sys-devel/distcc-3.4-r1/work/distcc-3.4/include_server/include_server_test.py", line 169, in Expect3
    self_test.assertTrue(
AssertionError: False is not true : Preprocessing locally. Include server not covering: Could not find translation unit 'test_data/contains_abs_include.c'. for translation unit 'test_data/contains_abs_include.c' 

----------------------------------------------------------------------
Ran 1 test in 0.026s

FAILED (failures=1)
make[1]: *** [Makefile:740: include-server-maintainer-check] Error 1
Comment 1 Jaak Ristioja 2023-02-06 08:49:37 UTC
Portage 3.0.43 (python 3.11.1-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-11, glibc-2.36-r5, 6.1.9-gentoo x86_64)
=================================================================
Timestamp of repository gentoo: Mon, 06 Feb 2023 08:02:19 +0000
Head commit of repository gentoo: 66c2a599d4c4be5608e569802f2eb9e8061b45af

sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.7.4 [disabled]
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.36.0-r1::gentoo
dev-lang/python:           3.9.16-r1::gentoo, 3.10.9-r1::gentoo, 3.11.1-r1::gentoo
dev-lang/rust:             1.66.1::gentoo
dev-util/ccache:           4.7.4::gentoo
dev-util/cmake:            3.25.2::gentoo
dev-util/meson:            0.64.1::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/openrc:           0.45.2-r2::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo, 2.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.6-r1::gentoo
sys-devel/gcc:             11.3.1_p20221209::gentoo, 12.2.1_p20230121-r1::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.6::gentoo
sys-devel/llvm:            13.0.1::gentoo, 14.0.6-r2::gentoo, 15.0.6-r1::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -ggdb -march=native"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid"
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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live clean-logs collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en et et_EE"
MAKEOPTS="-j5"
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="64bit X a52 aac acl acpi alsa amd64 amr aspell bash-completion bidi boost bzip2 cairo canberra caps cdda cdr cet cli color-management colord cpudetection cracklib crypt cups custom-optimization dbus doc double-precision dri dri2 dri3 dvd dvdr dvdread eds egl eglfs elogind emboss enca encode evdev evo exif faac faad fam fbcon ffmpeg fftw firefox flac fluidsynth fontconfig fontforge gif git glitz gmp gnuplot gpg gphoto2 gpm gtk gtk3 handbook hardened hdri htmlhandbook iconv icu id3tag idn imagemagick introspection ipv6 jpeg jpegxl kate kde kontact kpathsea ladspa lapack laptop latex lcms libbsd libcaca libglvnd libnotify libtirpc lz4 lzma lzo mad mailwrapper man markdown matroska mbim md5sum midi mikmod mmap mms mmx mng modemmanager modplug mp3 mp4 mpeg mudflap ncurses networkmanager nptl nptlonly ogg openal opencl openexr opengl openh264 opus otr pcre pdf pic pie plasma png policykit postscript ppds projectm pulseaudio qalculate raw readline reflection rrdtool rtmp scanner schroedinger screencast sdl sdl2 seccomp session smp sndfile source speex spell spl split-usr sqlite sse sse2 sse3 ssl ssp ssse3 startup-notification subversion svg sysfs system-lua system-png system-sqlite tcpd test-rust theora threads tiff truetype ucs2 udev unicode urandom usb v4l v4l2 vaapi valgrind vc vdpau verify-sig vorbis vpx wayland webp wifi wmf x264 xattr xcb xcomposite xetex xft xinerama xorg xosd xprint xscreensaver xtpax xulrunner xv xvid zlib zstd" ABI_X86="64" ELIBC="glibc" KERNEL="linux" L10N="en et et-EE" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_9 python3_10 python3_11" USERLAND="GNU"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LANG, LC_ALL, LD, LFLAGS, LIBTOOL, 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
Comment 2 matoro archtester 2024-04-19 21:11:30 UTC
Still affects 3.4-r3