------------------------------------------------------ rm: cannot remove '/var/tmp/portage/x11-libs/wxGTK-3.0.5.1/image/usr/bin/wxrc': No such file or directory * ERROR: x11-libs/wxGTK-3.0.5.1::gentoo failed (install phase): * (no error message) * * Call stack: ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib_hardened-20210427-181545 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-11.1.0 * clang version 12.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/12/bin /usr/lib/llvm/12 12.0.0 Python 3.8.9 Available Ruby profiles: [1] ruby26 (with Rubygems) [2] ruby30 (with Rubygems) * Available Rust versions: [1] rust-bin-1.51.0 [2] rust-1.51.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.292_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.10.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat May 1 00:07:02 UTC 2021 emerge -qpvO x11-libs/wxGTK [ebuild N ] x11-libs/wxGTK-3.0.5.1 USE="sdl -X -debug -doc -gstreamer -libnotify -opengl -tiff -webkit"
Created attachment 704838 [details] emerge-info.txt
Created attachment 704841 [details] emerge-history.txt
Created attachment 704844 [details] environment
Created attachment 704847 [details] etc.portage.tar.bz2
Created attachment 704850 [details] logs.tar.bz2
Created attachment 704853 [details] x11-libs:wxGTK-3.0.5.1:20210501-004312.log
Sergey, maybe you could take a look at this?
Mart, ok. I will try investigate this.
(In reply to Mart Raudsepp from comment #7) > Sergey, maybe you could take a look at this? The file '/usr/bin/wxrc' doesn't exist if USE="-X". So the command > rm "${ED}"/usr/bin/wx{-config,rc} || die could be replaced with smth. like > rm "${ED}"/usr/bin/wx-config || die > if use X ; then > rm "${ED}"/usr/bin/wxrc || die > fi or with shorter > rm "${ED}"/usr/bin/wx-config || die > use X && { rm "${ED}"/usr/bin/wxrc || die; } 'x11-libs/wxGTK-3.0.4-r303' is affected this issue too due to there is "|| die" was appended after removing command. 'x11-libs/wxGTK-3.0.4-r302' isn't affected.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22006ad103f2ac936c3bae11d70f6f8a3205a8b7 commit 22006ad103f2ac936c3bae11d70f6f8a3205a8b7 Author: Sergey Torokhov <torokhov-s-a@yandex.ru> AuthorDate: 2021-05-13 13:38:20 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2021-05-13 13:38:20 +0000 x11-libs/wxGTK: fix USE="-X" removing of '/usr/bin/wxrc' Closes: https://github.com/gentoo/gentoo/pull/20627 Closes: https://bugs.gentoo.org/787305 Acked-by: Mart Raudsepp <leio@gentoo.org> Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru> Signed-off-by: David Seifert <soap@gentoo.org> x11-libs/wxGTK/wxGTK-3.0.4-r303.ebuild | 3 ++- x11-libs/wxGTK/wxGTK-3.0.5.1.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-)