Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved]problems with multilib?
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
colo-des
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2011
Posts: 97

PostPosted: Sat Mar 23, 2024 8:16 pm    Post subject: [solved]problems with multilib? Reply with quote

After updating my system, I find that the packages that had in 64 and 32 were only in 64
also try to emerge -av1 libvdpau, which is on 64 and 32, it gives me the following error:

Code:
# emerge -av1 x11-libs/libvdpau

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 39.88 s (backtrack: 0/20).

[ebuild   R    ] x11-libs/libvdpau-1.5::gentoo  USE="dri -doc -test" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-libs/libvdpau-1.5::gentoo
 * libvdpau-1.5.tar.bz2 BLAKE2B SHA512 size ;-) ...                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking libvdpau-1.5.tar.bz2 to /var/tmp/portage/x11-libs/libvdpau-1.5/work
>>> Source unpacked in /var/tmp/portage/x11-libs/libvdpau-1.5/work
>>> Preparing source in /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5 ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
meson setup -Db_lto=false --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --pkg-config-path /usr/share/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/x11-libs/libvdpau-1.5/temp/meson.i686-pc-linux-gnu.x86.ini -Db_pch=false -Dwerror=false -Dbuildtype=plain -Ddocumentation=false -Ddri2=true /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5 /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5-abi_x86_32.x86
The Meson build system
Version: 1.4.0
Source dir: /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5
Build dir: /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5-abi_x86_32.x86
Build type: native build
Project name: libvdpau
Project version: undefined

../libvdpau-1.5/meson.build:1:0: ERROR: Could not invoke sanity test executable: [Errno 8] Exec format error: '/var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5-abi_x86_32.x86/meson-private/sanitycheckc.exe'.

A full log can be found at /var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5-abi_x86_32.x86/meson-logs/meson-log.txt
 * ERROR: x11-libs/libvdpau-1.5::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 3253:  Called meson-multilib_src_configure
 *   environment, line 2042:  Called multilib-minimal_src_configure
 *   environment, line 2224:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2474:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2179:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2177:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  621:  Called multilib-minimal_abi_src_configure
 *   environment, line 2218:  Called multilib_src_configure
 *   environment, line 2699:  Called meson_src_configure
 *   environment, line 2117:  Called die
 * The specific snippet of code:
 *       meson setup "${MESONARGS[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=x11-libs/libvdpau-1.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=x11-libs/libvdpau-1.5::gentoo'`.
 * The complete build log is located at '/var/log/portage/x11-libs:libvdpau-1.5:20240322-193411.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/x11-libs/libvdpau-1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/libvdpau-1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5-abi_x86_32.x86'
 * S: '/var/tmp/portage/x11-libs/libvdpau-1.5/work/libvdpau-1.5'

>>> Failed to emerge x11-libs/libvdpau-1.5, Log file:

>>>  '/var/log/portage/x11-libs:libvdpau-1.5:20240322-193411.log'

my profile is still at:

Code:
# eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/17.1 (stable) *

and python, gcc binutils

Code:
# eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.12
  [2]   python3.11
  [3]   python3.10
 
# eselect gcc list
 [1] arm-none-eabi-13 *

 [2] arm-unknown-linux-gnueabi-13 *

 [3] avr-12
 [4] avr-13 *

 [5] x86_64-pc-linux-gnu-12
 [6] x86_64-pc-linux-gnu-13 *
 
 # eselect binutils list
 [1] arm-none-eabi-2.41 *

 [2] arm-unknown-linux-gnueabi-2.42 *

 [3] avr-2.41 *

 [4] x86_64-pc-linux-gnu-2.41
 [5] x86_64-pc-linux-gnu-2.42 *

Did I miss any news at the party or what could be the reason?

Regards.


Last edited by colo-des on Sun Mar 24, 2024 8:25 am; edited 1 time in total
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21637

PostPosted: Sat Mar 23, 2024 9:12 pm    Post subject: Reply with quote

What is the output of emerge --pretend --verbose sys-libs/glibc? What exactly did you run that removed ABI_X86=32?
Back to top
View user's profile Send private message
colo-des
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2011
Posts: 97

PostPosted: Sat Mar 23, 2024 11:26 pm    Post subject: Reply with quote

Code:
$ emerge -pv sys-libs/glibc

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 3.52 s (backtrack: 0/20).

[ebuild   R    ] sys-libs/glibc-2.39-r2:2.2::gentoo  USE="multiarch (multilib) ssp stack-realign (static-libs) -audit -caps -cet -compile-locales (-custom-cflags) -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile (-selinux) -suid -systemd -systemtap -test (-vanilla)" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Code:
$ eix -I sys-libs/glibc
[I] sys-libs/glibc
     Available versions:  (2.2) [M](~)2.19-r3^s [M]2.31-r7^t [M]2.32-r8^t [M]2.33-r14^t [M]2.34-r14^t [M]2.35-r11^t [M]2.36-r8^t 2.37-r10^t 2.38-r10^t (~)2.38-r11^t (~)2.39-r1^t (~)2.39-r2^t [m]**9999*l^t
       {audit caps cet +clone3 compile-locales +crypt custom-cflags debug doc experimental-loong gd hash-sysv-compat headers-only +multiarch multilib multilib-bootstrap nscd perl profile selinux +ssp stack-realign +static-libs static-pie suid systemd systemtap test vanilla}
     Installed versions:  2.39-r2(2.2)^t(02:58:26 19/03/24)(multiarch multilib ssp stack-realign static-libs -audit -caps -cet -compile-locales -custom-cflags -doc -gd -hash-sysv-compat -headers-only -multilib-bootstrap -nscd -perl -profile -selinux -suid -systemd -systemtap -test -vanilla)
     Homepage:            https://www.gnu.org/software/libc/
     Description:         GNU libc C library

Code:
$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/13/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-13.2.1_p20240210/work/gcc-13-20240210/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/13 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/13/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/13 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/13/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/13/include/g++-v13 --disable-silent-rules --disable-dependency-tracking --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/13/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --disable-libunwind-exceptions --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 13.2.1_p20240210 p14' --with-gcc-major-version-only --enable-libstdcxx-time --enable-lto --disable-libstdcxx-pch --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --disable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --without-isl --enable-default-pie --enable-default-ssp --enable-fixincludes
Thread model: posix
Supported LTO compression algorithms: zlib
gcc version 13.2.1 20240210 (Gentoo 13.2.1_p20240210 p14)

I haven't touched anything that could damage ABI_X86=32. "far as I know 8O "
It seems to be a problem with meson and the cross compilers, avr arm that I have installed.
I'll have to delete avr and arm to see what happens.
Back to top
View user's profile Send private message
colo-des
Tux's lil' helper
Tux's lil' helper


Joined: 20 May 2011
Posts: 97

PostPosted: Sun Mar 24, 2024 8:22 am    Post subject: Reply with quote

I found the culprit...looking in the forum I found this thread:

[solved]media-libs/tiff emerge fails at configure
https://forums.gentoo.org/viewtopic-p-8725262.html?sid=17a69ebb3ffbd9638dbd0977cf4b8826

I had exactly the same:

Code:
$ zcat /proc/config.gz |grep CONFIG_IA32_EMULATION
CONFIG_IA32_EMULATION=y
CONFIG_IA32_EMULATION_DEFAULT_DISABLED=y

When making # make oldconfig, I was half asleep and activated it, now I rebuilt the core everything works normally:

Code:
$ zcat /proc/config.gz |grep CONFIG_IA32_EMULATION
CONFIG_IA32_EMULATION=y
# CONFIG_IA32_EMULATION_DEFAULT_DISABLED is not set

It was evident, I could not do the tests in 32 bits mode because the kernel could not execute them in 32 bits mode.

Thanks for everything.
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