Hi, seems the install process writes directly into the filesystem instead of ${DESTDIR}. >>> Emerging (3 of 19) dev-python/tables-3.9.2::gentoo * tables-3.9.2.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking tables-3.9.2.tar.gz to /var/tmp/portage/dev-python/tables-3.9.2/work >>> Source unpacked in /var/tmp/portage/dev-python/tables-3.9.2/work >>> Preparing source in /var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2 ... * Build system packages: * dev-python/gpep517 : 15 * dev-python/installer : 0.7.0 * dev-python/cython : 3.0.8 * dev-python/setuptools : 68.0.0-r1 * dev-python/setuptools-rust : 1.6.0 * dev-python/setuptools-scm : 7.1.0 * dev-python/wheel : 0.40.0 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile * Building the wheel for tables-3.9.2 via setuptools.build_meta python3.10 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2-python3_10/wheel 2024-01-17 12:34:30,131 gpep517 INFO Building wheel via backend setuptools.build_meta Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 429, in <module> sys.exit(main()) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 425, in main return func(args) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 215, in build_wheel print(build_wheel_impl(args, args.wheel_dir), file=out) File "/usr/lib/python3.10/site-packages/gpep517/__main__.py", line 207, in build_wheel_impl wheel_name = backend.build_wheel(str(wheel_dir), args.config_json) File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel return self._build_with_temp_dir(['bdist_wheel'], '.whl', File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir self.run_setup() File "/usr/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup exec(code, locals()) File "<string>", line 817, in <module> File "<string>", line 459, in find_directories File "<string>", line 342, in find_header_path File "<string>", line 209, in _find_file_path File "/usr/lib/python3.10/pathlib.py", line 1322, in is_file return S_ISREG(self.stat().st_mode) File "/usr/lib/python3.10/pathlib.py", line 1097, in stat return self._accessor.stat(self, follow_symlinks=follow_symlinks) PermissionError: [Errno 13] Permission denied: '/opt/include/H5public.h' * Using Python 3.10.13 (main, Dec 28 2023, 03:07:56) [GCC 13.2.1 20231014] * Found cython 3.0.8 * USE_PKGCONFIG: True * ERROR: dev-python/tables-3.9.2::gentoo failed (compile phase): * Wheel build failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 4098: Called distutils-r1_src_compile * environment, line 1950: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 764: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3701: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3191: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3189: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1235: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1932: Called distutils-r1_python_compile * environment, line 1747: Called distutils_pep517_install '/var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2-python3_10/install' * environment, line 2288: Called die * The specific snippet of code: * local wheel=$("${cmd[@]}" 3>&1 1>&2 || die "Wheel build failed"); * * If you need support, post the output of `emerge --info '=dev-python/tables-3.9.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/tables-3.9.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/tables-3.9.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/tables-3.9.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2' * S: '/var/tmp/portage/dev-python/tables-3.9.2/work/tables-3.9.2' Blocks: https://bugs.gentoo.org/920021
And I wonder why /opt/include/H5public.h is being attempted if /usr/include/H5public.h is already installed by sci-libs/hdf5-1.14.3-r1 # emerge --info '=dev-python/tables-3.9.2::gentoo' Portage 3.0.61 (python 3.11.7-final-0, default/linux/amd64/17.1/no-multilib, gcc-13, glibc-2.38-r1, 6.6.11 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-6.6.11-x86_64-Intel-R-_Core-TM-_i7-7820HQ_CPU_@_2.90GHz-with-glibc2.38 KiB Mem: 32735000 total, 6634724 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 15 Jan 2024 19:00:01 +0000 Head commit of repository gentoo: b24167aa561016cbe3dc6e8e23e45e0a016e17e4 Head commit of repository jgenco: 6c0e9d29ad9b0322809b663afd4cdb401f0c0f87 Head commit of repository randall: 1878db2875a45dfa0a8c37a1f38035da7deb5cbc sh bash 5.2_p26 ld GNU ld (Gentoo 2.39 p5) 2.39.0 app-misc/pax-utils: 1.3.7::gentoo app-shells/bash: 5.2_p26::gentoo dev-build/autoconf: 2.13-r8::gentoo, 2.69-r5::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo dev-build/automake: 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5-r1::gentoo dev-build/cmake: 3.27.4::gentoo dev-build/libtool: 2.4.7-r2::gentoo dev-build/make: 4.4.1-r1::gentoo dev-build/meson: 1.3.1::gentoo dev-java/java-config: 2.3.3-r1::gentoo dev-lang/perl: 5.36.0::gentoo dev-lang/python: 2.7.18_p112::stefantalpalaru, 3.10.13::gentoo, 3.11.7::gentoo, 3.12.1_p1::gentoo dev-lang/rust: 1.70.0::gentoo sys-apps/baselayout: 2.14-r1::gentoo sys-apps/openrc: 0.53::gentoo sys-apps/sandbox: 2.38::gentoo sys-devel/binutils: 2.39-r4::gentoo, 2.40-r6::gentoo, 2.41-r4::gentoo sys-devel/binutils-config: 5.5::gentoo sys-devel/clang: 14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo sys-devel/gcc: 10.3.0::gentoo, 11.3.0::gentoo, 12.2.1_p20230304::gentoo, 13.2.1_p20231216::gentoo sys-devel/gcc-config: 2.11::gentoo sys-devel/lld: 14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo sys-devel/llvm: 14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo sys-kernel/linux-headers: 6.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.38-r1::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 volatile: True sync-rsync-verify-max-age: 3 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: jgenco location: /var/db/repos/jgenco sync-type: git sync-uri: https://github.com/jgenco/jgenco-overlay masters: gentoo volatile: False randall location: /var/db/repos/randall sync-type: git sync-uri: https://github.com/ran-dall/portage-overlay masters: gentoo volatile: False science location: /mnt/large/home/mmokrejs/proj/sci masters: gentoo priority: 0 volatile: True x-portage location: /usr/local/portage masters: gentoo priority: 1 volatile: True layman location: /var/lib/layman masters: gentoo priority: 2 volatile: True ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 NPSL Nero-EULA-US AdobeFlash-10.3 AdobeFlash-11.x OPERA-2014 RAR Intel-SDP intel-ucode Skype-TOS vmware linux-firmware fasta vienna-rna unafold GRL MSttfEULA hplip-plugin meme mRNAmarkup ApE ICS ipw3945 finchtv modeller gmap master-pdf-editor abyss swiss-prot Aladdin AVASYS truecrypt-3.0 pyvcf Non-profit-OSL-3.0 estscan bcca_2010 oncotator Adobe blat staden CeCILL-1.1 phrap STRIDE cctbx-2.0 bh-luxi ARIADNE unRAR all-rights-reserved trf annovar_personal_only stampy-academic BSD-BroadInstitute UPennState freedist free-noncomm blasr sun-jlfgr FLI-Jena PSTT netperf sun-jsr67 xv vim.org OSGi-Specification-2.0 colt mod_fastcgi googleearth google-chrome ACE AFL churchill genscan no-source-code linux-fw-redistributable ISSL JSON MPEG-4 Apache-2.0 BSD MIT BSD-2 FSFAP unicode Subversion OPERA-2018 ms-teams-pre TeamViewer PSF-2.4 merlin android julius CROSSOVER-3 lha PUEL-11 supermicro microsoft-edge android" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -ftree-vectorize" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf /usr/share/maven-bin-3.9/conf /var/lib/hsqldb /var/spool/torque" 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.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/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 /etc/vmware-installer" CXXFLAGS="-O2 -pipe -march=native -ftree-vectorize" DISTDIR="/usr/portage/distfiles" 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 -march=native -ftree-vectorize" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox pkgdir-index-trusted 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 -march=native -ftree-vectorize" GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LEX="flex" LINGUAS="en_US en_GB en cs" 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="X a52 aac acl acpi alsa amd64 amr amrenc aom apache apache2 archive armadillo asm audit av1 avx avx2 berkdb blas bluetooth bluray bmp boost bz2 bzip2 cairo caps ccid cdda cdio cdr cdrom cgi chromium cli codec2 coin cpudetection cracklib crypt cryptlib cryptsetup cups curl cxx dav1d dbus device-mapper dhcp directfb directx dri dri3 drm dvbpsi dvd dvda dxf dxva2 egl elogind emboss encode eselect-ldso eudev exif faad fax fbcon fdk ffmpeg fftw flac fontconfig foomatic fortran frei0r fuse gbm gcrypt gd gdal gdbm geoip geolocation georeferencer geos gimp glpk gml gmp gnutls gpm gps grass gstreamer gtk gtk3 h.264 h.265 h264 h265 hal haptic hdf5 heif hevc hpijs hwdb iconv id3tag imaging innodb inotify iproute2 ipv6 java javafx javascript jce jpeg jpeg2k jpg js jscript kdrive keymap kms ladspa lapack laptop las lcms libaom libdrm libkms libnotify librtmp libsoxr libtesseract libtirpc libv4l libxml2 live lm-sensors lm_sensors lz4 lzma lzo mad mariadb matroska mjpeg mmal mmx modemmanager mp3 mpeg mtp mysql ncurses netcdf networkmanager nfs nftables nls nptl nptlonly nscd nss ntfsprogs nvenc objc ocr odbc ogdi ogg openal opencl opengl openh264 openmp opensc openssl opus pam parport pbs pcre pcre16 pcsc pcsc-lite pdal pdf perl php png polar policykit polkit postgres ppds pppd python qemu qml qt3support qt4 qt5 rav1e readline rendering resolvconf romio rubberband scanner seccomp server session sha slideshow smartcard sndfile sndio split-usr sqlite srt sse sse2 sse3 sse4_1 sse4_2 ssh ssl sslv3 ssse3 startup-notification suexec svg svt-av1 syslog tcl tcpd test-rust threads tiff tk tkip tools truetype twolame udev unicode unwind upnp usb v4l v4l2 vaapi vidstab vim-syntax virtualbox vmaf vnc vorbis vp8 vp9 vpx vulkan wavpack wayland webp wifi x11 x264 x265 xa xattr xcb xephyr xft xls xml xmp xorg xrandr xv xvfb xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2021" ALSA_CARDS="hdspm usb-usx2y" APACHE2_MODULES="alias authn_core authz_core socache_shmcb authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic unixd" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="gpsclock navcom ntrip rtcm104v2 rtcm104v3 ublox nmea0183 nmea2000 aivdm passthrough" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en-GB en cs" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_RM="pbs" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python2_7 python3_9 python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="vesa virtualbox vboxvideo vmware vmvga vmwgfx fbdev intel iris i915 i965 d3d12" 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, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
I don't think it's writing anything, it's trying to find a header. I suspect that you have /opt/include that isn't accessible to Portage.
(In reply to Michał Górny from comment #2) > I don't think it's writing anything, it's trying to find a header. I > suspect that you have /opt/include that isn't accessible to Portage. Thank, you are right. One package outside of portage screwed my permissions on /opt and its child subdirs.