Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 911523 - sys-cluster/glusterfs-11.0 fails to install: mv: cannot stat '/var/tmp/portage/sys-cluster/glusterfs-11.0/image//usr/share/bash-completion/completions/gluster.bash': ...
Summary: sys-cluster/glusterfs-11.0 fails to install: mv: cannot stat '/var/tmp/portag...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jaco Kroon
URL: https://ci.dev.gentoo.org:8010/#/buil...
Whiteboard:
Keywords:
: 911524 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-31 11:46 UTC by Magnus Granberg
Modified: 2023-07-31 12:09 UTC (History)
3 users (show)

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


Attachments
glusterfs-11.0:20230731-113944.log.xz (glusterfs-11.0:20230731-113944.log.xz,39.95 KB, application/x-xz)
2023-07-31 11:46 UTC, Magnus Granberg
Details
emerge.log (emerge.log,7.15 KB, text/plain)
2023-07-31 11:46 UTC, Magnus Granberg
Details
sys-cluster:glusterfs-11.0:20230731-114540.elog (sys-cluster:glusterfs-11.0:20230731-114540.elog,1.79 KB, text/plain)
2023-07-31 11:46 UTC, Magnus Granberg
Details
world (world,204 bytes, text/plain)
2023-07-31 11:46 UTC, Magnus Granberg
Details
sys-cluster_glusterfs-11.0.104200.logs.tar.xz (sys-cluster_glusterfs-11.0.104200.logs.tar.xz,13.82 KB, application/x-xz)
2023-07-31 11:46 UTC, Magnus Granberg
Details
emerge_info.txt (emerge_info.txt,5.68 KB, text/plain)
2023-07-31 11:46 UTC, Magnus Granberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Granberg gentoo-dev 2023-07-31 11:46:43 UTC
 * Package:    sys-cluster/glusterfs-11.0:0/11
 * Repository: gentoo
 * Maintainer: jaco@uls.co.za jpds@protonmail.com,cluster@gentoo.org,proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc fuse ipv6 kernel_linux libtirpc python_single_target_python3_11 uring
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Using python3.11 to build
 * Using python3.11 to build
>>> Unpacking source...
>>> Unpacking glusterfs-11.0.tar.gz to /var/tmp/portage/sys-cluster/glusterfs-11.0/work
>>> Source unpacked in /var/tmp/portage/sys-cluster/glusterfs-11.0/work
>>> Preparing source in /var/tmp/portage/sys-cluster/glusterfs-11.0/work/glusterfs-11.0 ...
 * Running eautoreconf in '/var/tmp/portage/sys-cluster/glusterfs-11.0/work/glusterfs-11.0' ...
 * Running 'libtoolize --install --copy --force --automake' ...
 * Running 'aclocal --system-acdir=/var/tmp/portage/sys-cluster/glusterfs-11.0/temp/aclocal' ...
 * Running 'autoconf --force' ...
 * Running 'autoheader' ...
 * Running 'automake --add-missing --copy --foreign --force-missing' ...
 * Running elibtoolize in: glusterfs-11.0/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-cluster/glusterfs-11.0/work/glusterfs-11.0 ...
 * econf: updating glusterfs-11.0/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating glusterfs-11.0/config.sub with /usr/share/gnuconfig/config.sub
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-cluster/glusterfs-11.0/work/glusterfs-11.0 ...
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: sys-cluster/glusterfs-11.0
>>> Install sys-cluster/glusterfs-11.0 into /var/tmp/portage/sys-cluster/glusterfs-11.0/image
mv: cannot stat '/var/tmp/portage/sys-cluster/glusterfs-11.0/image//usr/share/bash-completion/completions/gluster.bash': No such file or directory
 * ERROR: sys-cluster/glusterfs-11.0::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_install
 *   environment, line 2920:  Called die
 * The specific snippet of code:
 *       mv "${ED}/${bashcompdir}/gluster.bash" "${ED}/${bashcompdir}/gluster" || die;
 * 
 * If you need support, post the output of `emerge --info '=sys-cluster/glusterfs-11.0::gentoo'`,
Comment 1 Magnus Granberg gentoo-dev 2023-07-31 11:46:44 UTC
This was build on a tinderbox that use Buildbot API[1].
We use docker images to build on.
Web: https://ci.dev.gentoo.org:8010/#/
Code: https://gitweb.gentoo.org/proj/tinderbox-cluster.git
Wiki: https://wiki.gentoo.org/wiki/Project:Tinderbox-cluster
How to get more info: https://wiki.gentoo.org/wiki/Project:Tinderbox-cluster/something
IRC: #gentoo-ci on libera
[1] https://buildbot.net/
Comment 2 Magnus Granberg gentoo-dev 2023-07-31 11:46:45 UTC
Was trying to build sys-cluster/glusterfs-11.0 Commit: 933362c8011d7abbddd6d0c95c2a2e6b164900b1 Repository: git@gitlab.gentoo.org:zorry/gentoo-ci.git
Package info:
[ebuild  N    ] sys-cluster/glusterfs-11.0  USE="fuse ipv6 (libtirpc) uring -debug -emacs -georeplication -rsyslog (-selinux) -static-libs -tcmalloc -test -xml" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12" 
Emerge info:
Portage 3.0.49 (python 3.12.0-beta-4, default/linux/amd64/17.1, gcc-13, glibc-2.37-r4, 6.1.31-gentoo-dist x86_64)
=================================================================
System uname: Linux-6.1.31-gentoo-dist-x86_64-AMD_Opteron-TM-_Processor_6272-with-glibc2.37
KiB Mem:   264087904 total, 222144564 free
KiB Swap:    5242876 total,   5242876 free
Head commit of repository gentoo: 148f21e6a52aa56fc496c1eb84144e9ab2fd8f74

sh bash 5.2_p15-r6
ld GNU ld (Gentoo 2.40 p6) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p15-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.4::gentoo, 3.12.0_beta4_p1::gentoo
dev-lang/rust-bin:         1.71.0::gentoo
dev-util/cmake:            3.27.1::gentoo
dev-util/meson:            1.2.0::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.37::gentoo
sys-devel/autoconf:        2.71-r7::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r7::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.0::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.4::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r4::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git@gitlab.gentoo.org:zorry/gentoo-ci.git
    priority: -1000
    volatile: False

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--buildpkg=y --rebuild-if-new-rev=y --rebuilt-binaries=y --usepkg=y --binpkg-respect-use=y --binpkg-changed-deps=y --nospinner --color=n --ask=n --quiet-build=y --quiet-fail=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 -pipe -fno-diagnostics-color -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -fno-diagnostics-color -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j14"
PKGDIR="/var/cache/portage/packages"
PORTAGE_COMPRESS="xz"
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"
USE="X acl amd64 bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" 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="mmx mmxext sse sse2" 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" 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="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SHELL, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 3 Magnus Granberg gentoo-dev 2023-07-31 11:46:47 UTC
Created attachment 866704 [details]
glusterfs-11.0:20230731-113944.log.xz
Comment 4 Magnus Granberg gentoo-dev 2023-07-31 11:46:47 UTC
Created attachment 866705 [details]
emerge.log
Comment 5 Magnus Granberg gentoo-dev 2023-07-31 11:46:48 UTC
Created attachment 866706 [details]
sys-cluster:glusterfs-11.0:20230731-114540.elog
Comment 6 Magnus Granberg gentoo-dev 2023-07-31 11:46:50 UTC
Created attachment 866707 [details]
world
Comment 7 Magnus Granberg gentoo-dev 2023-07-31 11:46:51 UTC
Created attachment 866708 [details]
sys-cluster_glusterfs-11.0.104200.logs.tar.xz
Comment 8 Magnus Granberg gentoo-dev 2023-07-31 11:46:52 UTC
Created attachment 866709 [details]
emerge_info.txt
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-31 11:47:47 UTC
*** Bug 911524 has been marked as a duplicate of this bug. ***
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-31 11:59:00 UTC
# bash-completion script installation directory
# PKG_CHECK_VAR should be used but is not available in some distributions
bashcompdir="$(pkg-config --variable=completionsdir bash-completion 2>/dev/null)"
if test "x${bashcompdir}" = "x"; then
    bashcompdir="${sysconfdir}/bash_completion.d"
fi
AC_SUBST(bashcompdir)

so the `mv` is only needed if bash-completion isn't installed
Comment 11 Larry the Git Cow gentoo-dev 2023-07-31 12:04:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b9c8a35924f482ff41b1418c9ab13979fd1c99

commit 03b9c8a35924f482ff41b1418c9ab13979fd1c99
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-31 12:04:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-31 12:04:07 +0000

    sys-cluster/glusterfs: fix bash-completion installation w/o bash-completion installed
    
    Closes: https://bugs.gentoo.org/911523
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/glusterfs/glusterfs-11.0.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Comment 12 Larry the Git Cow gentoo-dev 2023-07-31 12:09:12 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ad5319033e13e9cf1a8372df7a91798c4c60f89

commit 6ad5319033e13e9cf1a8372df7a91798c4c60f89
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-31 12:08:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-31 12:09:03 +0000

    sys-cluster/glusterfs: always install bash-completion manually
    
    I wanted to do a very quick hacky fix in 03b9c8a35924f482ff41b1418c9ab13979fd1c99,
    but here's the better one.
    
    Bug: https://bugs.gentoo.org/911523
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-cluster/glusterfs/glusterfs-11.0.ebuild | 15 +++++----------
 1 file changed, 5 insertions(+), 10 deletions(-)