View previous topic :: View next topic |
Author |
Message |
dragonfire2003 n00b
Joined: 14 Mar 2022 Posts: 53
|
Posted: Sat Apr 16, 2022 2:48 am Post subject: Can't download cross-i686-w64-mingw32/gcc-11.2.0 |
|
|
Good morning/evening/night people of the Gentoo Forums!
So recently I decided to follow the DXVK guide to run games on Lutris when I found myself at this part
Code: |
for toolchain in cross-x86_64-w64-mingw32 cross-i686-w64-mingw32; do
crossdev --stable --libc "~8.0.0" --target ${toolchain}
crossdev --stable --libc "~8.0.0" --lenv 'USE="libraries"' \
--genv 'EXTRA_ECONF="--enable-threads=posix"' \
--init-target --target ${toolchain}
sed "s|-libraries ||" -i /etc/portage/package.use/${toolchain}
emerge --oneshot ${toolchain}/mingw64-runtime
emerge --oneshot ${toolchain}/gcc
done
|
Trying to run that command as a user as the instructions suggest say that there are a few packages missing and to run it as superuser, Which is what I did
And when I tried to do that after a few hours, An error saying Quote: | cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev can't be installed | (or something like that)
and it told me to post the output of "emerge --info '=cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev'" for support
output of emerge --info '=cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev'
https://pastebin.com/9C7NQqDV
output of dmesg:
https://pastebin.com/kZJ0L1UC
I am currently running the Binary Kernel due to Nvidia being, well, Nvidia and not allowing me to switch to a normal kernel
24gb of ram
Ryzen 5 3600x
RTX 2060 |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21631
|
Posted: Sat Apr 16, 2022 3:27 pm Post subject: Re: Can't download cross-i686-w64-mingw32/gcc-11.2.0 |
|
|
dragonfire2003 wrote: | So recently I decided to follow the DXVK guide to run games on Lutris | Please link to this guide, so that we can follow along. dragonfire2003 wrote: | Code: | for toolchain in cross-x86_64-w64-mingw32 cross-i686-w64-mingw32; do
crossdev --stable --libc "~8.0.0" --target ${toolchain}
crossdev --stable --libc "~8.0.0" --lenv 'USE="libraries"' \
--genv 'EXTRA_ECONF="--enable-threads=posix"' \
--init-target --target ${toolchain}
sed "s|-libraries ||" -i /etc/portage/package.use/${toolchain}
emerge --oneshot ${toolchain}/mingw64-runtime
emerge --oneshot ${toolchain}/gcc
done | Trying to run that command as a user as the instructions suggest say that there are a few packages missing and to run it as superuser, | This can only be meaningfully run as superuser. If the guide tells you otherwise, it is wrong.
dragonfire2003 wrote: | Quote: | cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev can't be installed | (or something like that) | Please do not summarize. Show the exact error message. dragonfire2003 wrote: | and it told me to post the output of "emerge --info '=cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev'" for support | It should also have told you to post the complete build log. Please do so. |
|
Back to top |
|
|
dragonfire2003 n00b
Joined: 14 Mar 2022 Posts: 53
|
Posted: Sat Apr 16, 2022 10:42 pm Post subject: Re: Can't download cross-i686-w64-mingw32/gcc-11.2.0 |
|
|
Hu wrote: | dragonfire2003 wrote: | So recently I decided to follow the DXVK guide to run games on Lutris | Please link to this guide, so that we can follow along. dragonfire2003 wrote: | Code: | for toolchain in cross-x86_64-w64-mingw32 cross-i686-w64-mingw32; do
crossdev --stable --libc "~8.0.0" --target ${toolchain}
crossdev --stable --libc "~8.0.0" --lenv 'USE="libraries"' \
--genv 'EXTRA_ECONF="--enable-threads=posix"' \
--init-target --target ${toolchain}
sed "s|-libraries ||" -i /etc/portage/package.use/${toolchain}
emerge --oneshot ${toolchain}/mingw64-runtime
emerge --oneshot ${toolchain}/gcc
done | Trying to run that command as a user as the instructions suggest say that there are a few packages missing and to run it as superuser, | This can only be meaningfully run as superuser. If the guide tells you otherwise, it is wrong.
dragonfire2003 wrote: | Quote: | cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev can't be installed | (or something like that) | Please do not summarize. Show the exact error message. dragonfire2003 wrote: | and it told me to post the output of "emerge --info '=cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev'" for support | It should also have told you to post the complete build log. Please do so. |
Guide link https://wiki.gentoo.org/wiki/DXVK
Quote: | Show the exact error message. |
Code: |
* ERROR: cross-i686-w64-mingw32/gcc-11.2.0::portage-crossdev failed (compile phase):
* emake failed
*
|
FULL BUILD LOG:
https://anonfiles.com/F2h1peX9xd/build_log
(Had to upload to anonfiles since pastebin couldn't handle it's size) |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2719
|
Posted: Sun Apr 17, 2022 1:52 am Post subject: |
|
|
Code: | fatal error: pthread.h: No such file or directory | This would happen if using EXTRA_ECONF=--enable-threads=posix during bootstrap (aka when running the first crossdev command), I'm assuming you need to cleanup the environment it setup in the 2nd command which is harmful if the first command didn't successfully complete (I see it does no error checking, so it probably just went through). |
|
Back to top |
|
|
dragonfire2003 n00b
Joined: 14 Mar 2022 Posts: 53
|
Posted: Sun Apr 17, 2022 4:01 am Post subject: |
|
|
Ionen wrote: | Code: | fatal error: pthread.h: No such file or directory | This would happen if using EXTRA_ECONF=--enable-threads=posix during bootstrap (aka when running the first crossdev command), I'm assuming you need to cleanup the environment it setup in the 2nd command which is harmful if the first command didn't successfully complete (I see it does no error checking, so it probably just went through). |
My 10 IQ brain could not process what you just said |
|
Back to top |
|
|
|