Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 879537 - dev-util/mingw64-toolchain-10.0.0_p1-r1 - x86_64-w64-mingw32-dlltool: Cant create .lib file: lib32/libdlcapi.a: No such file or di
Summary: dev-util/mingw64-toolchain-10.0.0_p1-r1 - x86_64-w64-mingw32-dlltool: Cant cr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-04 09:42 UTC by Toralf Förster
Modified: 2022-11-04 18:33 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,17.71 KB, text/plain)
2022-11-04 09:42 UTC, Toralf Förster
Details
dev-util:mingw64-toolchain-10.0.0_p1-r1:20221104-061815.log.bz2 (dev-util:mingw64-toolchain-10.0.0_p1-r1:20221104-061815.log.bz2,83.08 KB, application/x-bzip)
2022-11-04 09:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.77 KB, text/plain)
2022-11-04 09:42 UTC, Toralf Förster
Details
environment (environment,92.91 KB, text/plain)
2022-11-04 09:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,25.78 KB, application/x-bzip)
2022-11-04 09:42 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,140.97 KB, application/x-bzip)
2022-11-04 09:42 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 2022-11-04 09:42:21 UTC
make  all-am
make[3]: Entering directory '/var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/mingw64_runtime-build/mingw-w64-crt'
x86_64-w64-mingw32-dlltool --as-flags=--32 -m i386 -k --as=x86_64-w64-mingw32-as --output-lib lib32/libdlcapi.a --temp-prefix lib32/libdlcapi  --input-def /var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/mingw64/mingw-w64-crt/lib32/dlcapi.def
x86_64-w64-mingw32-dlltool --as-flags=--64 -m i386:x86-64 -k --as=x86_64-w64-mingw32-as --output-lib lib64/libuniime.a --temp-prefix lib64/libuniime  --input-def /var/tmp/portage/dev-util/mingw64-toolchain-10.0.0_p1-r1/work/mingw64/mingw-w64-crt/lib64/uniime.def
x86_64-w64-mingw32-dlltool: Can't create .lib file: lib32/libdlcapi.a: No such file or directory
make[3]: *** [Makefile:77947: lib32/libdlcapi.a] Error 1 shuffle=1822502124
make[3]: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j4-20221103-190004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
GNU Make 4.4

  HEAD of ::gentoo
commit 102ad8639f72e3a14642bde9f00a4aa0d0c813d5
Merge: bee1212f70c3 e9100c7c5149
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 4 04:46:45 2022 +0000

    Merge updates from master

emerge -qpvO dev-util/mingw64-toolchain
[ebuild  N    ] dev-util/mingw64-toolchain-10.0.0_p1-r1  USE="-custom-cflags -debug" ABI_X86="32 (64)"
Comment 1 Toralf Förster gentoo-dev 2022-11-04 09:42:22 UTC
Created attachment 826981 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-04 09:42:23 UTC
Created attachment 826983 [details]
dev-util:mingw64-toolchain-10.0.0_p1-r1:20221104-061815.log.bz2
Comment 3 Toralf Förster gentoo-dev 2022-11-04 09:42:24 UTC
Created attachment 826985 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-04 09:42:26 UTC
Created attachment 826987 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-04 09:42:27 UTC
Created attachment 826989 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-04 09:42:28 UTC
Created attachment 826991 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-04 09:42:29 UTC
The file size of ./files/temp.tar.bz2 is too big (66M) for an upload. For about 8 weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_desktop_systemd-j4-20221103-190004/var/tmp/tb/issues/20221104-062553-dev-util_mingw64-toolchain-10.0.0_p1-r1/files/temp.tar.bz2 is valid.
Comment 8 Ionen Wolkens gentoo-dev 2022-11-04 17:36:03 UTC
Cool, I knew this existed but could never reproduce -- but I can with the same --shuffle seed.

Upcoming runtime-11.x already did some race conditions fixes, but errors are always different and wasn't sure if it was the same thing. I'll look at what I can backport.
Comment 9 Larry the Git Cow gentoo-dev 2022-11-04 18:33:21 UTC
The bug has been closed via the following commit(s):

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

commit 21ef5222142188992d3a22053ac655f317b85a28
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-04 17:17:31 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-04 18:32:43 +0000

    dev-util/mingw64-toolchain: handle two race condition issues
    
    Using same --shuffle seed as bug #879537, ran into two different
    issues. First missing lib32/lib64 dirs when building out-of-source
    then the missing msvcr*_extra dependency.
    
    Closes: https://bugs.gentoo.org/879537
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../mingw64-runtime-10.0.0-msvcr-extra-race.patch  | 22 ++++++++++++++++++++++
 .../mingw64-toolchain-10.0.0_p1-r1.ebuild          |  6 +++++-
 2 files changed, 27 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit 09976e138441e7ba50a7de8164e44954376034b8
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2022-11-04 18:18:37 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2022-11-04 18:32:43 +0000

    dev-util/mingw64-runtime: backport race condition fix
    
    Unlike mingw64-toolchain, this doesn't build crt out-of-source
    (just does for headers) and is only affected by 1 issue.
    
    Bug: https://bugs.gentoo.org/879537
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 .../mingw64-runtime-10.0.0-msvcr-extra-race.patch  | 22 ++++++++++++++++++++++
 .../mingw64-runtime-10.0.0-r1.ebuild               |  1 +
 2 files changed, 23 insertions(+)