Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933619 - app-arch/7zip-24.06 - [icu-75.1] emake failed
Summary: app-arch/7zip-24.06 - [icu-75.1] emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: NRK
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: parallel-make
  Show dependency tree
 
Reported: 2024-06-05 16:17 UTC by Toralf Förster
Modified: 2024-06-11 05:32 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.91 KB, text/plain)
2024-06-05 16:17 UTC, Toralf Förster
Details
app-arch:7zip-24.06:20240605-155706.log (app-arch:7zip-24.06:20240605-155706.log,3.44 KB, text/plain)
2024-06-05 16:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,23.44 KB, text/plain)
2024-06-05 16:17 UTC, Toralf Förster
Details
environment (environment,78.18 KB, text/plain)
2024-06-05 16:17 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-06-05 16:17 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,19.66 KB, application/x-xz)
2024-06-05 16:17 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,71.25 KB, text/plain)
2024-06-05 16:17 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2024-06-05 16:17:11 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc      -O2 -c -Wall -Wextra -Waddress -Waggressive-loop-optimizations -Wattributes -Wcast-align -Wcomment -Wdiv-by-zero -Wformat-contains-nul -Winit-self -Wint-to-pointer-cast -Wunused -Wunused-macros  -Wbool-compare -Wduplicated-cond  -Waddress-of-packed-member -Wbool-operatio
x86_64-pc-linux-gnu-gcc      -O2 -c -Wall -Wextra -Waddress -Waggressive-loop-optimizations -Wattributes -Wcast-align -Wcomment -Wdiv-by-zero -Wformat-contains-nul -Winit-self -Wint-to-pointer-cast -Wunused -Wunused-macros  -Wbool-compare -Wduplicated-cond  -Waddress-of-packed-member -Wbool-operatio
Fatal error A1106: Cannot open file: "b/g_x64/LzmaDecOpt.o" [ENOENT]
make: *** [../../7zip_gcc.mak:1306: b/g_x64/LzmaDecOpt.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: app-arch/7zip-24.06::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-arch/7zip-24.06::gentoo'`,

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma_systemd-20240604-173003

  UNMASKED:
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.6
Python 3.12.3
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.78.0 *
php cli (if any):

  HEAD of ::gentoo
commit 9ddd7b0940bec543af015984c375b130190ebf6d
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 5 15:19:11 2024 +0000

    2024-06-05 15:19:10 UTC

emerge -qpvO app-arch/7zip
[ebuild  N    ] app-arch/7zip-24.06  USE="jwasm -rar -uasm"
Comment 1 Toralf Förster gentoo-dev 2024-06-05 16:17:12 UTC
Created attachment 895194 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-06-05 16:17:13 UTC
Created attachment 895195 [details]
app-arch:7zip-24.06:20240605-155706.log
Comment 3 Toralf Förster gentoo-dev 2024-06-05 16:17:14 UTC
Created attachment 895196 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-06-05 16:17:15 UTC
Created attachment 895197 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-06-05 16:17:16 UTC
Created attachment 895198 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-06-05 16:17:17 UTC
Created attachment 895199 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-06-05 16:17:19 UTC
Created attachment 895200 [details]
qlist-info.txt
Comment 8 NRK 2024-06-09 10:29:54 UTC
Can't reproduce.

    Fatal error A1106: Cannot open file: "b/g_x64/LzmaDecOpt.o" [ENOENT]

This error message is coming from jwasm. I can get similar error message if I do `jwasm ... -F/tmp/non-existant-dir/ ...`

    mkdir -p b/g_x64
    jwasm -nologo -elf64 -DABI_LINUX -Fob/g_x64/ ../../../../Asm/x86/LzmaDecOpt.asm

I think the mkdir and the jwasm invocation are racing here.
Comment 9 NRK 2024-06-09 10:32:34 UTC
> I can get similar error message if
> I do `jwasm ... -F/tmp/non-existant-dir/ ...`

Meant to be `-Fo` not `-F`.

Also forgot to mention, but I didn't seem to receive any email for this bug. Only saw it now due to checking some other bug out.
Comment 10 NRK 2024-06-10 13:25:14 UTC
Bug forwarded upstream: https://sourceforge.net/p/sevenzip/patches/446/
Comment 11 NRK 2024-06-10 13:25:27 UTC
Bug forwarded upstream: https://sourceforge.net/p/sevenzip/patches/446/
Comment 12 Larry the Git Cow gentoo-dev 2024-06-11 05:32:28 UTC
The bug has been closed via the following commit(s):

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

commit a999b2805f728b160f95414b3aa8c7dd4d9f8acf
Author:     NRK <nrk@disroot.org>
AuthorDate: 2024-06-09 11:23:18 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-06-11 05:29:51 +0000

    app-arch/7zip: fix makefile mkdir race
    
    Closes: https://bugs.gentoo.org/933619
    Signed-off-by: NRK <nrk@disroot.org>
    Closes: https://github.com/gentoo/gentoo/pull/37093
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-arch/7zip/7zip-23.01.ebuild | 1 +
 app-arch/7zip/7zip-24.05.ebuild | 1 +
 app-arch/7zip/7zip-24.06.ebuild | 1 +
 3 files changed, 3 insertions(+)