Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] abi_x86_32 in use flags or not?
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
vespaman
Apprentice
Apprentice


Joined: 28 Aug 2002
Posts: 266
Location: Stockholm, Sweden

PostPosted: Tue Apr 14, 2015 9:28 am    Post subject: [SOLVED] abi_x86_32 in use flags or not? Reply with quote

Hi guys,

I know this has been discussed a lot lately, so forgive me if I missed out the actual recommendation on how to proceed!
Background: I have this 64 bit ~arch computer which I use 32 bit commercial software on, and it is critical that my downtime is as short as possible.

When I tried to update world today, I had lots of rows such as this;
Code:
 sys-libs/readline:0=[abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?] (sys-libs/readline:0=[abi_x86_32(-),abi_x86_64(-)]) required by (dev-db/sqlite-3.8.8.3:3/3::gentoo, ebuild scheduled for merge)


I think this means that I need to add abi_x86_32.

I found this wiki:
https://wiki.gentoo.org/wiki/Multilib_System_without_emul-linux_Packages which I think describes my problem. But maybe it is no longer up to date(?). Anyways, it says that abi_x86_32 should not be put in global useflags, but this seams quite complicated I think. And maybe more relevant if using overlays (which I'm not)?

So, can/should I instead add abi_x86_32 to my global use flags like other has done?
I have tried ABI_X86="64 32" in my make.conf, but that does not seam to make any difference afaict.

Any thoughts on this are appreciated!

Cheers,
Micael


Last edited by vespaman on Wed Apr 15, 2015 9:16 am; edited 1 time in total
Back to top
View user's profile Send private message
genstorm
Advocate
Advocate


Joined: 05 Apr 2007
Posts: 2738
Location: Austria

PostPosted: Tue Apr 14, 2015 9:46 am    Post subject: Reply with quote

Read carefully through the news item, it contains most if not all of the relevant info.
Code:
$ eselect news list
$ eselect news read <number>


Switching it on globally will result in a huge rebuild of several hundred packages, most of which you probably won't actually need with 32 bit. On the other hand you're safe in case you are not so sure about the actual dependencies of your commercial software (i.e. when it isn't installed through portage).

Instead, using --autounmask-write would make portage put together a list of required use flag changes to be applied to package.use.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
vespaman
Apprentice
Apprentice


Joined: 28 Aug 2002
Posts: 266
Location: Stockholm, Sweden

PostPosted: Tue Apr 14, 2015 11:01 am    Post subject: Reply with quote

Thanks, I saw someone else also referring to the news, but I cannot find this particular news. 8O
Maybe I have deleted it, but I normally don't delete news nowadays.


Quote:
jones # eselect news list
News items:
[1] 2009-04-18 Generation 1 Java Setup Deprecated
[2] 2011-10-15 Upgrade to libpng15
[3] 2012-05-21 Portage config-protect-if-modified default
[4] 2012-09-09 (2012-09-09-make.conf-and-make.profile-move - removed?)
[5] 2012-11-06 PYTHON_TARGETS deployment
[6] 2013-06-07 Portage preserve-libs default
[7] 2013-06-30 Printer browsing in net-print/cups-1.6
[8] 2013-08-23 Language of messages in emerge logs and output
[9] 2013-09-27 Separate /usr on Linux requires initramfs
[10] 2013-11-07 python-exec package move
[11] 2014-02-25 Upgrade to >=sys-fs/udev-210
[12] 2014-03-16 Ruby 1.8 removal; Ruby 1.9/2.0 default
[13] 2014-06-15 GCC 4.8.3 defaults to -fstack-protector
[14] 2014-07-17 dhcpcd >= 6.4.2 changes defaults for IPv6
[15] 2014-10-26 GCC 4.7 Introduced the New C++11 ABI
[16] 2015-01-28 CPU_FLAGS_X86 introduction
[17] 2015-02-01 ffmpeg/libav conflict management: USE=libav
[18] 2015-02-02 nfs service changes
[19] 2015-02-02 New portage plug-in sync system
jones #




So I guess the news item said something along the lines
emerge -uvaD world --backtrack=300 --newuse --autounmask-write

But this gives me an insane long list of issues;
https://docs.google.com/document/d/14Ih5UJK66zblUD-qyTyMDbevMZC3epo6CCIOtKo-_EE/edit?usp=sharing

But maybe I just have to dive into it? 8O
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5096
Location: Saint Amant, Acadiana

PostPosted: Tue Apr 14, 2015 11:21 am    Post subject: Reply with quote

See this: https://www.gentoo.org/support/news-items/2015-03-28-true-multilib.html
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
vespaman
Apprentice
Apprentice


Joined: 28 Aug 2002
Posts: 266
Location: Stockholm, Sweden

PostPosted: Tue Apr 14, 2015 2:43 pm    Post subject: Reply with quote

Thanks!
After following that news item, it now seams more normal. Building in process..
Back to top
View user's profile Send private message
bornmw
n00b
n00b


Joined: 13 Apr 2009
Posts: 44

PostPosted: Thu May 28, 2015 6:18 am    Post subject: Reply with quote

Frankly, do you think that having dozens of abi_x86_32 records in package.use is normal?
Back to top
View user's profile Send private message
depontius
Advocate
Advocate


Joined: 05 May 2004
Posts: 2845

PostPosted: Thu May 28, 2015 3:22 pm    Post subject: Reply with quote

I simply put it in make.conf - I don't sit around watching it compile.
_________________
.sigs waste space and bandwidth
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 5096
Location: Saint Amant, Acadiana

PostPosted: Fri May 29, 2015 12:49 am    Post subject: Reply with quote

bornmw wrote:
Frankly, do you think that having dozens of abi_x86_32 records in package.use is normal?


Put them in package.use/abi32 then.
_________________
Please learn how to denote units correctly!
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