Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wine turns to vinegar during emerge build...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 186

PostPosted: Thu May 25, 2017 1:18 am    Post subject: Wine turns to vinegar during emerge build... Reply with quote

I have a standard 32 laptop with gentoo. I ran emerge update @world, which tries to rebuild wine.

But the compiler hangs here:

i686-pc-linux-gnu-gcc -c -o wcstring.o /var/tmp/portage/app-emulation/wine-2.0/work/wine-2.0/dlls/ntdll/wcstring.c -I. \
-I/var/tmp/portage/app-emulation/wine-2.0/work/wine-2.0/dlls/ntdll -I../../include \
-I/var/tmp/portage/app-emulation/wine-2.0/work/wine-2.0/include -D__WINESRC__ -D_NTSYSTEM_ \
-D_REENTRANT -fPIC -Wall -pipe -fno-tree-loop-distribute-patterns -fno-strict-aliasing \
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits \
-Wunused-but-set-parameter -Wvla -Wwrite-strings -Wpointer-arith -Wlogical-op \
-fno-omit-frame-pointer -O2 -march=i686 -pipe -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
../../tools/wrc/wrc -o version.res --nostdinc -I. \
-I/var/tmp/portage/app-emulation/wine-2.0/work/wine-2.0/dlls/ntdll -I../../include \
-I/var/tmp/portage/app-emulation/wine-2.0/work/wine-2.0/include -D__WINESRC__ -D_NTSYSTEM_ \
/var/tmp/portage/app-emulation/wine-2.0/work/wine-2.0/dlls/ntdll/version.rc

It tried an emerge --resume but got the same failure.

I can't finish my update now. Does anybody have any ideas about what to do now?

Thanks
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7470

PostPosted: Thu May 25, 2017 2:00 am    Post subject: Reply with quote

--resume doesn't skip the package, it just restart where it has end. you need --skipfirst with it.
but you should fix the issue (that should be heat)
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 186

PostPosted: Thu May 25, 2017 3:25 am    Post subject: Reply with quote

I'll try --skipfirst tomorrow. But how do I start to fix the issue?

The compiler is hanging in an infinite loop. I can copy and paste the command above and try to run it.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Thu May 25, 2017 5:55 am    Post subject: Reply with quote

See bug 613128 app-emulation/wine compilation hang for versions >=1.9.22 with gcc-5.4.0. It contains a suggestion to add "-mtune=generic" to CFLAGS.
Back to top
View user's profile Send private message
JustAnother
Apprentice
Apprentice


Joined: 23 Sep 2016
Posts: 186

PostPosted: Thu May 25, 2017 8:30 pm    Post subject: Reply with quote

I tried

emerge --resume --skipfirst

and that got past the wine section. Then I tried

CFLAGS="-O2 -march=i686 -pipe -mtune=generic" emerge -uDNva @world

and it compiled wine, and it seems to work.

So the wine is a nice shade of red again.

Thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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