Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't download cross-i686-w64-mingw32/gcc-11.2.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dragonfire2003
n00b
n00b


Joined: 14 Mar 2022
Posts: 53

PostPosted: Sat Apr 16, 2022 2:48 am    Post subject: Can't download cross-i686-w64-mingw32/gcc-11.2.0 Reply with quote

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
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21631

PostPosted: Sat Apr 16, 2022 3:27 pm    Post subject: Re: Can't download cross-i686-w64-mingw32/gcc-11.2.0 Reply with quote

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
View user's profile Send private message
dragonfire2003
n00b
n00b


Joined: 14 Mar 2022
Posts: 53

PostPosted: Sat Apr 16, 2022 10:42 pm    Post subject: Re: Can't download cross-i686-w64-mingw32/gcc-11.2.0 Reply with quote

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
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2719

PostPosted: Sun Apr 17, 2022 1:52 am    Post subject: Reply with quote

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
View user's profile Send private message
dragonfire2003
n00b
n00b


Joined: 14 Mar 2022
Posts: 53

PostPosted: Sun Apr 17, 2022 4:01 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum