Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVD|paludis] abi_x86_32 err \w dev-libs/libpthread-0.3-r1
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 346
Location: NRW, Germany

PostPosted: Tue Oct 01, 2013 9:24 am    Post subject: [SOLVD|paludis] abi_x86_32 err \w dev-libs/libpthread-0.3-r1 Reply with quote

I ran into this error when I tried to update xorg-server
The install fails with dev-libs/libpthread-stubs-0.3-r1:0::gentoo
Code:
>>> Starting src_configure

!!! ERROR in dev-libs/libpthread-stubs-0.3-r1::gentoo:
!!! In useq at line 6125
!!! Flag 'abi_x86_32' is not included in IUSE_EFFECTIVE="abi_mips_n32 abi_mips_n64 abi_mips_o32 abi_x86_32 abi_x86_64 abi_x86_x32 alpha amd64 amd64-fbsd amd64-linux arm arm-linux elibc_AIX elibc_Cygwin elibc_Darwin elibc_FreeBSD elibc_HPUX elibc_Interix elibc_NetBSD elibc_OpenBSD elibc_SunOS elibc_Winnt elibc_glibc elibc_mintlib elibc_musl elibc_uclibc hppa hppa-hpux ia64 ia64-hpux ia64-linux kernel_AIX kernel_Cygwin kernel_Darwin kernel_FreeBSD kernel_HPUX kernel_Interix kernel_NetBSD kernel_OpenBSD kernel_SunOS kernel_Winnt kernel_freemint kernel_linux m68k m68k-mint mips ppc ppc-aix ppc-macos ppc-openbsd ppc64 ppc64-linux prefix s390 sh sparc sparc-fbsd sparc-solaris sparc64-freebsd sparc64-solaris static-libs userland_BSD userland_GNU x64-freebsd x64-macos x64-openbsd x64-solaris x86 x86-cygwin x86-fbsd x86-freebsd x86-interix x86-linux x86-macos x86-netbsd x86-openbsd x86-solaris x86-winnt"

!!! Call stack:
!!!    * useq (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:6125)
!!!    * use (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:6089)
!!!    * multilib_get_enabled_abis (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:4772)
!!!    * multilib_parallel_foreach_abi (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:4806)
!!!    * autotools-multilib_src_configure (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:1015)
!!!    * xorg-2_src_configure (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:6290)
!!!    * src_configure (/var/tmp/paludis/dev-libs-libpthread-stubs-0.3-r1/temp/loadsaveenv:5484)
!!!    * ebuild_f_configure (/usr/libexec/paludis/2/src_configure.bash:54)
!!!    * ebuild_main (/usr/libexec/paludis/ebuild.bash:668)
!!!    * main (/usr/libexec/paludis/ebuild.bash:691)

diefunc: making ebuild PID 16088 exit with error
die trap: exiting with error.


I found a bunch of stuff on the ABI_X86 topic but nothing that seemed directly related.
Is there anything I need to figure out about the ABI_X86 thing and -most importantly- is that the cause of this error?

Edit: Thanks mikey53


Last edited by Dr.Willy on Tue Oct 01, 2013 10:45 am; edited 2 times in total
Back to top
View user's profile Send private message
Micky53
n00b
n00b


Joined: 01 Oct 2013
Posts: 1
Location: Россия

PostPosted: Tue Oct 01, 2013 10:33 am    Post subject: Reply with quote

Temporary solve:
Change in file '/usr/libexec/paludis/0/list_functions.bash' in fuction 'useq()' line
Code:
local i=( $IUSE_EFFECTIVE )

to
Code:
local SAVE_IFS=$IFS
unset IFS
local i=( $IUSE_EFFECTIVE )
IFS=$SAVE_IFS
Back to top
View user's profile Send private message
xiff
n00b
n00b


Joined: 08 Jun 2012
Posts: 3

PostPosted: Tue Oct 01, 2013 1:15 pm    Post subject: Reply with quote

Micky53
SAVE_IFS fails to restore IFS correctly if it was previously unset.

It is enough to assign local variable

Code:
--- /usr/libexec/paludis/0/list_functions.bash.orig   2013-10-01 18:47:51.686569704 +0600
+++ /usr/libexec/paludis/0/list_functions.bash   2013-10-01 18:50:25.736346386 +0600
@@ -37,6 +37,7 @@
 
 useq()
 {
+    local IFS
     if [[ -n "${IUSE_EFFECTIVE:+x}" ]] ; then
         local i=( ${IUSE_EFFECTIVE} )
         if ! hasq ${1#!} "${i[@]#[+-]}" ; then


The root of this error:
http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/eclass/multilib-build.eclass?r1=1.20&r2=1.21&view=patch

Code:
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.20 2013/09/17 13:29:19 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/multilib-build.eclass,v 1.21 2013/09/30 07:27:06 mgorny Exp $
 
 # @ECLASS: multilib-build.eclass
 # @MAINTAINER:
@@ -72,16 +72,20 @@
 
    local abis=( $(get_all_abis) )
 
+   local IFS=,
    local abi i found
    for abi in "${abis[@]}"; do
       for i in "${_MULTILIB_FLAGS[@]}"; do
Back to top
View user's profile Send private message
xiff
n00b
n00b


Joined: 08 Jun 2012
Posts: 3

PostPosted: Tue Oct 01, 2013 1:36 pm    Post subject: Reply with quote

File upstream bug http://paludis.exherbo.org/trac/ticket/1288
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 346
Location: NRW, Germany

PostPosted: Tue Oct 01, 2013 4:54 pm    Post subject: Reply with quote

well, that's even better I guess. :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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