Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 905803 - www-client/chromium[pgo]: mkdir: cannot create directory /var/tmp/portage/www-client/chromium-112.0.5615.165/temp/libsystemd: File exists
Summary: www-client/chromium[pgo]: mkdir: cannot create directory /var/tmp/portage/www...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-06 08:52 UTC by Yuki N.
Modified: 2023-05-10 00:00 UTC (History)
0 users

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


Attachments
Full build log with error (xz compressed, first 30k lines) (xaa.xz,554.23 KB, application/x-xz)
2023-05-09 23:49 UTC, Yuki N.
Details
Full build log with error (xz compressed, remaining lines) (xab.xz,521.24 KB, application/x-xz)
2023-05-09 23:50 UTC, Yuki N.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuki N. 2023-05-06 08:52:17 UTC
In chromium ebuild chromium_configure paragraph has this lines:
 733         # Create dummy pkg-config file for libsystemd, only dependency of installer
 734         mkdir "${T}/libsystemd" || die
 735         cat <<- EOF > "${T}/libsystemd/libsystemd.pc"
 736                 Name:
 737                 Description:
 738                 Version:
 739         EOF
During the compilation after PGO phase 1 and after profiling PGO phase 2 starts and i assume that chromium_configure calling again, which leads to error:
Running case stress_cases.SpreadSheet
Merging profile with llvm-profile
 * Checking whether python3_11 is suitable ...
 *   >=dev-lang/python-3.11.1-r1:3.11[xml(+)] ...
 [ ok ]
 *   python_check_deps ...
 *     dev-python/setuptools[python_targets_python3_11(-)] ...
 [ ok ]
 [ ok ]
 * Using python3.11 to build (via EPYTHON)
mkdir: cannot create directory <E2><80><98>/var/tmp/portage/www-client/chromium-112.0.5615.165/temp/libsystemd<E2><80><99>: File exists
 * ERROR: www-client/chromium-112.0.5615.165::gentoo failed (compile phase):
 *   (no error message)
I remove the " || die" part in local overlay and compilation continued without errors and ended successfully.

Reproducible: Always




emerge --info --verbose=n www-client/chromium
Portage 3.0.47 (python 3.11.3-final-0, default/linux/amd64/23.0/no-multilib/systemd, gcc-13, glibc-2.37-r2, 6.2.11-zen1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.2.11-zen1-x86_64-Intel-R-_Core-TM-_i7-10700F_CPU_@_2.90GHz-with-glibc2.37
KiB Mem:    32790316 total,  23092184 free
KiB Swap:   16777212 total,  16599292 free
Timestamp of repository gentoo: Sat, 06 May 2023 06:33:02 +0000
Head commit of repository gentoo: bedcb77188385c36bf0660888afd22d81d24b5c4

Timestamp of repository guru: Fri, 05 May 2023 05:03:29 +0000
Head commit of repository guru: 2a6522697a383752e51b95377c5f5cd02edcbeeb

Timestamp of repository pg_overlay: Fri, 05 May 2023 11:17:59 +0000
Head commit of repository pg_overlay: 30f1fe2602e0dee9ed42dd549330fd27291b8d06

sh bash 5.2_p15-r2
ld GNU ld (Gentoo 2.40 p4) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r2::gentoo
dev-lang/perl:             5.36.1-r1::gentoo
dev-lang/python:           3.11.3::pg_overlay
dev-lang/rust-bin:         1.69.0::gentoo
dev-util/cmake:            3.26.3::gentoo
dev-util/meson:            1.1.0::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/sandbox:          2.30-r1::gentoo
sys-apps/systemd:          253.4::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r4::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.3::pg_overlay
sys-devel/gcc:             13.1.0-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             16.0.3::gentoo
sys-devel/llvm:            16.0.3::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r2::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/guru.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

pg_overlay
    location: /var/db/repos/pg_overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/pg_overlay.git
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.riken.jp/Linux/gentoo/experimental/amd64/binpkg/default/linux/17.1/x86-64

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O2 -fno-stack-protector -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/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=skylake -O2 -fno-stack-protector -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--oneshot --verbose-conflicts --quiet-unmerge-warn --keep-going --quiet-build=y --quiet-fail=y --verbose --nospinner --buildpkg-exclude 'acct-group/* acct-user/* app-alternatives/* app-eselect/* app-dicts/* sys-firmware/* dev-python/* dev-perl/* perl-core/* media-fonts/* sec-keys/* virtual/* x11-themes/* */*-bin sys-kernel/*-sources sys-kernel/linux-firmware'"
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 buildpkg-live config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nodoc noinfo parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://ftp.riken.jp/Linux/gentoo/ https://mirror.yandex.ru/gentoo-distfiles/"
LANG="ru_RU.utf8"
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,-s"
LEX="flex"
MAKEOPTS="-j16"
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"
RUSTFLAGS="-C target-cpu=skylake"
SHELL="/bin/zsh"
USE="X acl amd64 bzip2 crypt gdbm iconv ipv6 libglvnd libtirpc lto lzma minimal ncurses nls nptl openmp pam pgo pulseaudio readline screencast ssl systemd test-rust udev unicode vaapi wayland xattr 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" 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="X86" 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_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu" 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, 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, SIZE, STRINGS, STRIP, YACC, YFLAGS

=================================================================
                        Package Settings
=================================================================

www-client/chromium-112.0.5615.165::local was built with the following:
USE="X custom-cflags libcxx lto official pgo proprietary-codecs pulseaudio qt5 system-av1 system-harfbuzz system-icu system-png vaapi widevine (-component-build) -cups -debug -gtk4 -hangouts (-headless) -kerberos -pax-kernel -pic -screencast (-selinux) -suid (-system-ffmpeg) -wayland" L10N="ru -af -am -ar -bg -bn -ca -cs -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt-BR -pt-PT -ro -sk -sl -sr -sv -sw -ta -te -th -tr -uk -ur -vi -zh-CN -zh-TW"
CFLAGS="-march=skylake -O3 -flto=thin -fno-stack-protector -pipe -Wno-unknown-warning-option -Wno-unknown-warning-option"
CXXFLAGS="-march=skylake -O3 -flto=thin -fno-stack-protector -pipe -Wno-unknown-warning-option -Wno-unknown-warning-option"
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O3 -Wl,--lto-O3 -Wl,--as-needed -Wl,--icf=all -Wl,-s"

/etc/portage # grep chr package.env 
www-client/chromium clang

/etc/portage # cat env/clang 
CC="clang"
CXX="clang++"
AR="llvm-ar"
NM="llvm-nm"
RANLIB="llvm-ranlib"
CFLAGS="-march=skylake -O3 -flto=thin -fno-stack-protector -pipe"
CXXFLAGS="${CFLAGS}"
LDFLAGS="-fuse-ld=lld -rtlib=compiler-rt -unwindlib=libunwind -Wl,-O3 -Wl,--lto-O3 -Wl,--as-needed -Wl,--icf=all -Wl,-s"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-09 12:56:59 UTC
Please always attach the full build.log.
Comment 2 Yuki N. 2023-05-09 23:49:11 UTC
Created attachment 861410 [details]
Full build log with error (xz compressed, first 30k lines)
Comment 3 Yuki N. 2023-05-09 23:50:22 UTC
Created attachment 861411 [details]
Full build log with error (xz compressed, remaining lines)