Merging net-wireless/urh-2.9.3 fails with the following message: ``` >>> Compiling source in /var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py --without-airspy --without-bladerf --with-hackrf --without-limesdr --with-plutosdr --with-rtlsdr --without-sdrplay --without-usrp build -j 5 Traceback (most recent call last): File "/var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3/setup.py", line 19, in <module> from src.urh.dev.native import ExtensionHelper ModuleNotFoundError: No module named 'src.urh' ```
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-11, glibc-2.36-r5, 5.15.80-gentoo x86_64) ================================================================= System uname: Linux-5.15.80-gentoo-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-glibc2.36 KiB Mem: 16274756 total, 3241996 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 27 Dec 2022 10:30:01 +0000 Head commit of repository gentoo: a68238e5051fd1ec10b3c4e6879e7cb11e5b745b Timestamp of repository hamari: Tue, 27 Dec 2022 08:33:00 +0000 Head commit of repository hamari: 027fed66964245a44f845e8a09321ab29162a11f sh bash 5.1_p16-r2 ld GNU ld (Gentoo 2.38 p4) 2.38 app-misc/pax-utils: 1.3.5::gentoo app-shells/bash: 5.1_p16-r2::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.36.0-r1::gentoo dev-lang/python: 3.10.9::gentoo, 3.11.1::gentoo dev-lang/rust: 1.65.0::gentoo dev-util/cmake: 3.24.3::gentoo dev-util/meson: 0.63.3::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.71-r5::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.38-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 15.0.6::gentoo sys-devel/gcc: 11.3.1_p20221209::gentoo sys-devel/gcc-config: 2.8::gentoo sys-devel/libtool: 2.4.7::gentoo sys-devel/llvm: 14.0.6-r2::gentoo, 15.0.6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.36-r5::gentoo Repositories: brancik-overlay location: /var/lib/layman/brancik-overlay masters: gentoo priority: -1100 gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 crossdev location: /usr/local/portage-crossdev masters: gentoo hamari location: /var/db/repos/hamari sync-type: git sync-uri: https://github.com/gentoo-mirror/hamari.git masters: gentoo hamari-dev location: /home/hamari/gentoo/hamari-overlay masters: gentoo priority: 100 local location: /usr/local/portage masters: gentoo priority: 200 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA PUEL Aseprite-EULA baudline ms-teams-pre" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /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="-march=native -O2 -pipe" DISTDIR="/var/cache/distfiles" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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 binpkg-multi-instance buildpkg-live 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 unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ rsync://mirror.eu.oneandone.net/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://mirror.netcologne.de/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ rsync://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://gentoo.osuosl.org/" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j5" 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="3d X X509 a52 aac aalib acl acpi activities afs alsa amd64 atsc avr bash-completion bluetooth boost branding bzip2 cairo capstone cdda cdr cli conntrack crypt cryptsetup cscope cups cutter cxx dbus declarative designer device-mapper digikam disasm display-manager doc dot dri dri3 dts dtv dvd dvdr dvipdfm elogind encode eselect-ldso exif extra extras fcd fec fftw firmware fits flac fontconfig fortran fuse games gd gdal gdbm geolocation georeferencer geos gif gimp glamor glut gmp gmttria gnuplot gphoto2 gpm gps graph graphics graphicsmagick graphviz grass grc grub gssapi gtk gui hackrf hamlib handbook harfbuzz heif hires humanities iaito iconv icu iio indi introspection ipv6 iqbalance jadetex jpeg jsonschema jumbo-build kde kerberos kpathsea krita kwallet lapack lapacke las latex latex3 lcms ldap libass libcaca libglvnd libnotify libtirpc lm_sensors location lua luatex lvm lzma mad markdown mbedtls messages midi mmap mng mp3 mp4 mpeg multilib multimedia ncurses netlink networking nftables ngspice nls noaa nptl ntp objc objc++ objc-gc ogdi ogg omega openexr opengl openmp openssl osmesa pam pango pcap pcre pcsc-lite pdal pdf pgf pim plasma plotutils plplot plutosdr png pnm policykit portaudio positioning postgres postscript ppds printsupport pstricks publishers pygments python qml qt5 quick raw readline rss rtlsdr sasl scanner schematics science script scripts sddm sdl seccomp secure-messaging semantic-desktop serialport sgp4 smartcard smp sna soapy sound spatialite spell split-usr sql sqlite sqlite3 ssh ssl stars startup-notification svg test-rust testlib theora threads tiff timidity tofu tools trellis truetype uberooth udev udisks unicode upower usb uxa v4l v4l2 verilog vim-syntax virtfs vocoder vorbis vpx wallpapers waveform wavelet wcs webchannel webengine webkit webp widgets wks-server wxwidgets x264 x265 xattr xcb xcomposite xetex xft xinerama xml xplanet xrandr xv xvfb xvid yara z3 zeromq zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="synaptics evdev libinput" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" QEMU_SOFTMMU_TARGETS="aarch64 arm avr i386 m68k ppc ppc64 x86_64" QEMU_USER_TARGETS="aarch64 aarch64_be arm armeb i386 m68k ppc ppc64 ppc64le x86_64" RUBY_TARGETS="ruby27" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="fbdev vesa intel i965" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, 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
When trying to upload the `build.log`, the bug tracker responds with an internal server error. The `build.log` is very short, so I chose not to follow the policy and to paste it as comment instead to upload it as an attachment. ``` # cat /var/tmp/portage/net-wireless/urh-2.9.3/temp/build.log * Package: net-wireless/urh-2.9.3:0 * Repository: gentoo * Maintainer: zerochaos@gentoo.org radio@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc hackrf kernel_linux plutosdr python_targets_python3_10 rtlsdr userland_GNU * FEATURES: network-sandbox preserve-libs sandbox splitdebug userpriv usersandbox >>> Unpacking source... >>> Unpacking urh-2.9.3.tar.gz to /var/tmp/portage/net-wireless/urh-2.9.3/work >>> Source unpacked in /var/tmp/portage/net-wireless/urh-2.9.3/work >>> Preparing source in /var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3 ... * Build system packages: * dev-python/setuptools : 65.6.3 >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3 ... * Using python3.10 in global scope * python3_10: running distutils-r1_run_phase python_configure_all >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py --without-airspy --without-bladerf --with-hackrf --without-limesdr --with-plutosdr --with-rtlsdr --without-sdrplay --without-usrp build -j 5 Traceback (most recent call last): File "/var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3/setup.py", line 19, in <module> from src.urh.dev.native import ExtensionHelper ModuleNotFoundError: No module named 'src.urh' * ERROR: net-wireless/urh-2.9.3::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3423: Called distutils-r1_src_compile * environment, line 1587: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 719: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3120: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2680: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2678: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1071: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1569: Called distutils-r1_python_compile * environment, line 1375: Called esetup.py 'build' '-j' '5' * environment, line 2212: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=net-wireless/urh-2.9.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/urh-2.9.3::gentoo'`. * The complete build log is located at '/var/tmp/portage/net-wireless/urh-2.9.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/urh-2.9.3/temp/environment'. * Working directory: '/var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3' * S: '/var/tmp/portage/net-wireless/urh-2.9.3/work/urh-2.9.3' ```
(In reply to mario.haustein from comment #2) > When trying to upload the `build.log`, the bug tracker responds with an > internal server error. The `build.log` is very short, so I chose not to > follow the policy and to paste it as comment instead to upload it as an > attachment. > > ``` This happens when your browser lacks permissions to access the file.
I'm not sure what's going on here. I tested reinstalling urh as well as removing it and installing it fresh again, and I don't hit this bug. Any notes on how to replicate? Also, same note as on the PR, I'd prefer to upstream anything like this. That said, I can help upstream it feel free to tag ZeroChaos- on github if you open an issue or PR against https://github.com/jopohl/urh
Upstream pull request: https://github.com/jopohl/urh/pull/1031
I can't reproduce this, I'm leaving it to upstream's capable hands.
Just for information: There was a python package on my system which (incorrectly) installed some modules in /usr/lib/python3.10/site-packages/src. This path has a higher precedence than the source repository. Consider this as an oddity of my system. Sorry for the noise.