Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916117 - media-sound/a2jmidid-9-r1 Failed to compile on `rm "${ED}/usr/bin/a2j_control" || die;`
Summary: media-sound/a2jmidid-9-r1 Failed to compile on `rm "${ED}/usr/bin/a2j_control...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-10-22 12:08 UTC by Denis Salem
Modified: 2024-01-10 08:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Salem 2023-10-22 12:08:19 UTC
I believe the concerning part is the following snippet of log :

rm: cannot remove '/var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin/a2j_control': No such file or directory

from

>>> Install media-sound/a2jmidid-9-r1 into /var/tmp/portage/media-sound/a2jmidid-9-r1/image
meson install -C /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build --destdir /var/tmp/portage/media-sound/a2jmidid-9-r1/image --no-rebuild
Installing a2jmidi_bridge to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin
Installing j2amidi_bridge to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin
Installing a2jmidid to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin
Installing /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9/man/a2jmidi_bridge.1 to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/share/man/man1
Installing /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9/man/a2jmidid.1 to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/share/man/man1
Installing /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9/man/j2amidi_bridge.1 to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/share/man/man1
rm: cannot remove '/var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin/a2j_control': No such file or directory
 * ERROR: media-sound/a2jmidid-9-r1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_install
 *   environment, line 2438:  Called die
 * The specific snippet of code:
 *           rm "${ED}/usr/bin/a2j_control" || die;
 * 
 * If you need support, post the output of `emerge --info '=media-sound/a2jmidid-9-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/a2jmidid-9-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/a2jmidid-9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/a2jmidid-9-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9'
 * S: '/var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9'

>>> Failed to emerge media-sound/a2jmidid-9-r1, Log file:



Reproducible: Always

Steps to Reproduce:
By trying to upgrade he whole system or upgrading this single package
Actual Results:  
Failed to emerge media-sound/a2jmidid-9-r1


emerge --info '=media-sound/a2jmidid-9-r1::gentoo'
Portage 3.0.51 (python 3.11.5-final-0, default/linux/amd64/17.1, gcc-12, glibc-2.37-r7, 6.1.28-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.28-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-glibc2.37
KiB Mem:    12228524 total,   3024316 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 22 Oct 2023 10:30:01 +0000
Head commit of repository gentoo: 76f1a2cd1a585f4f89867925b448b9e055573dec
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.39 p6) 2.39.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.9.18::gentoo, 3.10.11::gentoo, 3.11.5::gentoo
dev-lang/rust:             1.71.1::gentoo
dev-util/cmake:            3.26.5-r2::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.39-r5::gentoo, 2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r1::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/gcc:             12.3.1_p20230526::gentoo, 13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/lld:             15.0.7::gentoo, 16.0.6::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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 /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
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"
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 parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://gentoo.modulix.net/gentoo/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirrors.soeasyto.com/distfiles.gentoo.org/ ftp://mirrors.soeasyto.com/distfiles.gentoo.org/"
LANG="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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 acl alsa amd64 bzip2 cli crypt dri elogind ffmpeg fortran gdbm gtk3 iconv ipv6 jack 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" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia" 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, LFLAGS, LIBTOOL, LINGUAS, 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 1 Mike Gilbert gentoo-dev 2023-10-23 16:01:47 UTC
Please attach the full build log.
Comment 2 Denis Salem 2023-10-25 05:09:09 UTC
There it is :

 * Package:    media-sound/a2jmidid-9-r1:0
 * Repository: gentoo
 * Maintainer: aballier@gentoo.org proaudio@gentoo.org
 * Upstream:   https://github.com/jackaudio/a2jmidid/issues
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_single_target_python3_11
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Using python3.11 to build
>>> Unpacking source...
>>> Unpacking a2jmidid-9.tar.gz to /var/tmp/portage/media-sound/a2jmidid-9-r1/work
>>> Source unpacked in /var/tmp/portage/media-sound/a2jmidid-9-r1/work
>>> Preparing source in /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/media-sound/a2jmidid-9-r1/temp/python3.11/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/media-sound/a2jmidid-9-r1/temp/python3.11/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/media-sound/a2jmidid-9-r1/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Ddisable-dbus=true /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9 /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build
The Meson build system
Version: 1.2.1
Source dir: /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9
Build dir: /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build
Build type: native build
Project name: a2jmidid
Project version: 9
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 12.3.1 "x86_64-pc-linux-gnu-gcc (Gentoo 12.3.1_p20230526 p2) 12.3.1 20230526")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.39
Host machine cpu family: x86_64
Host machine cpu: x86_64
Found pkg-config: /usr/bin/x86_64-pc-linux-gnu-pkg-config (1.8.1)
Run-time dependency jack found: YES 1.9.22
Run-time dependency alsa found: YES 1.2.9
Library dl found: YES
Library pthread found: YES
Program git found: YES (/usr/bin/git)
WARNING: You should add the boolean check kwarg to the run_command call.
         It currently defaults to false,
         but it will default to true in future releases of meson.
         See also: https://github.com/mesonbuild/meson/issues/9300
Configuring config.h using configuration
Build targets in project: 3

a2jmidid 9

  User defined options
    Native files         : /var/tmp/portage/media-sound/a2jmidid-9-r1/temp/meson.x86_64-pc-linux-gnu.amd64.ini
    build.pkg_config_path: /var/tmp/portage/media-sound/a2jmidid-9-r1/temp/python3.11/pkgconfig:/usr/share/pkgconfig
    buildtype            : plain
    libdir               : lib64
    localstatedir        : /var/lib
    pkg_config_path      : /var/tmp/portage/media-sound/a2jmidid-9-r1/temp/python3.11/pkgconfig:/usr/share/pkgconfig
    prefix               : /usr
    sysconfdir           : /etc
    werror               : false
    wrap_mode            : nodownload
    b_pch                : false
    disable-dbus         : true

Found ninja-1.11.1 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9 ...
meson compile -C /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build --jobs 1 --load-average 0 --verbose
INFO: autodetecting backend as ninja
INFO: calculating backend command to run: /usr/bin/ninja -C /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build -j 1 -v
ninja: Entering directory `/var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build'
[1/13] x86_64-pc-linux-gnu-gcc -Ia2jmidi_bridge.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidi_bridge.p/a2jmidi_bridge.c.o -MF a2jmidi_bridge.p/a2jmidi_bridge.c.o.d -o a2jmidi_bridge.p/a2jmidi_bridge.c.o -c ../a2jmidid-9/a2jmidi_bridge.c
[2/13] x86_64-pc-linux-gnu-gcc  -o a2jmidi_bridge a2jmidi_bridge.p/a2jmidi_bridge.c.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/lib64/libasound.so /usr/lib64/libjack.so -Wl,--end-group
[3/13] x86_64-pc-linux-gnu-gcc -Ij2amidi_bridge.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ j2amidi_bridge.p/j2amidi_bridge.c.o -MF j2amidi_bridge.p/j2amidi_bridge.c.o.d -o j2amidi_bridge.p/j2amidi_bridge.c.o -c ../a2jmidid-9/j2amidi_bridge.c
[4/13] x86_64-pc-linux-gnu-gcc  -o j2amidi_bridge j2amidi_bridge.p/j2amidi_bridge.c.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/lib64/libasound.so /usr/lib64/libjack.so -Wl,--end-group
[5/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/a2jmidid.c.o -MF a2jmidid.p/a2jmidid.c.o.d -o a2jmidid.p/a2jmidid.c.o -c ../a2jmidid-9/a2jmidid.c
[6/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/log.c.o -MF a2jmidid.p/log.c.o.d -o a2jmidid.p/log.c.o -c ../a2jmidid-9/log.c
[7/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/port.c.o -MF a2jmidid.p/port.c.o.d -o a2jmidid.p/port.c.o -c ../a2jmidid-9/port.c
[8/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/port_thread.c.o -MF a2jmidid.p/port_thread.c.o.d -o a2jmidid.p/port_thread.c.o -c ../a2jmidid-9/port_thread.c
[9/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/port_hash.c.o -MF a2jmidid.p/port_hash.c.o.d -o a2jmidid.p/port_hash.c.o -c ../a2jmidid-9/port_hash.c
[10/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/paths.c.o -MF a2jmidid.p/paths.c.o.d -o a2jmidid.p/paths.c.o -c ../a2jmidid-9/paths.c
[11/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/jack.c.o -MF a2jmidid.p/jack.c.o.d -o a2jmidid.p/jack.c.o -c ../a2jmidid-9/jack.c
../a2jmidid-9/jack.c: In function ‘a2j_process_incoming’:
../a2jmidid-9/jack.c:64:18: warning: variable ‘now’ set but not used [-Wunused-but-set-variable]
   64 |   jack_nframes_t now;
      |                  ^~~
../a2jmidid-9/jack.c: In function ‘a2j_alsa_output_thread’:
../a2jmidid-9/jack.c:326:7: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  326 |   int err;
      |       ^~~
[12/13] x86_64-pc-linux-gnu-gcc -Ia2jmidid.p -I. -I../a2jmidid-9 -flto=auto -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -march=native -O2 -pipe -fPIE -MD -MQ a2jmidid.p/list.c.o -MF a2jmidid.p/list.c.o.d -o a2jmidid.p/list.c.o -c ../a2jmidid-9/list.c
[13/13] x86_64-pc-linux-gnu-gcc  -o a2jmidid a2jmidid.p/a2jmidid.c.o a2jmidid.p/log.c.o a2jmidid.p/port.c.o a2jmidid.p/port_thread.c.o a2jmidid.p/port_hash.c.o a2jmidid.p/paths.c.o a2jmidid.p/jack.c.o a2jmidid.p/list.c.o -flto -Wl,--as-needed -Wl,--no-undefined -pie -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--start-group /usr/lib64/libasound.so /usr/lib64/libjack.so -ldl -lpthread -Wl,--end-group
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/a2jmidid-9-r1

>>> Install media-sound/a2jmidid-9-r1 into /var/tmp/portage/media-sound/a2jmidid-9-r1/image
meson install -C /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9-build --destdir /var/tmp/portage/media-sound/a2jmidid-9-r1/image --no-rebuild
Installing a2jmidi_bridge to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin
Installing j2amidi_bridge to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin
Installing a2jmidid to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin
Installing /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9/man/a2jmidi_bridge.1 to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/share/man/man1
Installing /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9/man/a2jmidid.1 to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/share/man/man1
Installing /var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9/man/j2amidi_bridge.1 to /var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/share/man/man1
rm: cannot remove '/var/tmp/portage/media-sound/a2jmidid-9-r1/image/usr/bin/a2j_control': No such file or directory
 * ERROR: media-sound/a2jmidid-9-r1::gentoo failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_install
 *   environment, line 2438:  Called die
 * The specific snippet of code:
 *           rm "${ED}/usr/bin/a2j_control" || die;
 * 
 * If you need support, post the output of `emerge --info '=media-sound/a2jmidid-9-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/a2jmidid-9-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-sound/a2jmidid-9-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/a2jmidid-9-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9'
 * S: '/var/tmp/portage/media-sound/a2jmidid-9-r1/work/a2jmidid-9'
Comment 3 Nedko Arnaudov 2024-01-07 22:56:40 UTC
The a2jmidid's meson build system does not install /usr/bin/a2j_control when dbus is disabled. Thus removing the not staged for install file fails. See https://bugs.gentoo.org/798411
Comment 4 Nedko Arnaudov 2024-01-07 23:13:13 UTC
https://bugs.gentoo.org/914074 is the same issue (duplicate)
Comment 5 Larry the Git Cow gentoo-dev 2024-01-10 08:51:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bb8a74bb9c7df16ac95e2ec7e3843274dd1e052

commit 9bb8a74bb9c7df16ac95e2ec7e3843274dd1e052
Author:     Nedko Arnaudov <nedko@nedk.org>
AuthorDate: 2024-01-08 00:10:08 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-01-10 08:45:43 +0000

    media-sound/a2jmidid-12: new upstream version; ebuild fixes
    
    Closes: https://bugs.gentoo.org/798411
    Closes: https://bugs.gentoo.org/916117
    Closes: https://bugs.gentoo.org/914074
    Closes: https://bugs.gentoo.org/909411
    Closes: https://bugs.gentoo.org/909404
    
    Signed-off-by: Nedko Arnaudov <nedko@nedk.org>
    Closes: https://github.com/gentoo/gentoo/pull/34706
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 media-sound/a2jmidid/Manifest           |  1 +
 media-sound/a2jmidid/a2jmidid-12.ebuild | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)