rust on carme-x32?

Arkadiusz Miśkiewicz arekm at maven.pl
Wed Oct 7 08:14:01 CEST 2020


W dniu 06.10.2020 o 22:29, Jakub Bogusz pisze:
> On Tue, Oct 06, 2020 at 09:47:36PM +0200, Arkadiusz Miśkiewicz wrote:
>> W dniu 06.10.2020 o 15:14, Jakub Bogusz via pld-devel-en pisze:
>>> Can we have rust and cargo installed on carme-x32?
>>> It requires a few x86_64 libraries, so I cannot install with accessible
>>> poldek commands.
>>>
>>>
>>
>>> poldek:/all-avail> install cargo-1.44.1-2.x32 rust-1.44.1-2.x32
> [...]
>>>  curl-libs-7.72.0-1.x86_64 marks libbrotli-1.0.9-2.x86_64 (cap libbrotlidec.so.1()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks c-ares-1.16.1-1.x86_64 (cap libcares.so.2()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks heimdal-libs-7.7.0-2.x86_64 (cap libgssapi.so.3()(64bit))
>>>   heimdal-libs-7.7.0-2.x86_64 marks libcom_err-1.45.6-1.x86_64 (cap libcom_err.so.2()(64bit))
>>>   heimdal-libs-7.7.0-2.x86_64 marks sqlite3-libs-3.33.0-1.x86_64 (cap libsqlite3.so.0()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks libidn2-2.3.0-1.x86_64 (cap libidn2.so.0()(64bit))
>>>   libidn2-2.3.0-1.x86_64 marks libunistring-0.9.10-1.x86_64 (cap libunistring.so.2()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks openldap-libs-2.4.49-1.x86_64 (cap liblber-2.4.so.2()(64bit))
>>>   openldap-libs-2.4.49-1.x86_64 marks cyrus-sasl-libs-2.1.27-1.x86_64 (cap libsasl2.so.3()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks nghttp2-libs-1.41.0-1.x86_64 (cap libnghttp2.so.14()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks libpsl-0.21.0-1.x86_64 (cap libpsl.so.5()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks librtmp-2.4-1.20190331.2.x86_64 (cap librtmp.so.0()(64bit))
>>>   librtmp-2.4-1.20190331.2.x86_64 marks gnutls-libs-3.6.15-2.x86_64 (cap libgnutls.so.30()(64bit))
>>>    gnutls-libs-3.6.15-2.x86_64 marks nettle-3.6-1.x86_64 (cap libhogweed.so.6()(64bit))
>>>    gnutls-libs-3.6.15-2.x86_64 marks p11-kit-0.23.21-1.x86_64 (cap libp11-kit.so.0()(64bit))
>>>     p11-kit-0.23.21-1.x86_64 marks libffi-3.3-1.x86_64 (cap libffi.so.7()(64bit))
>>>     p11-kit-0.23.21-1.x86_64 marks systemd-libs-246.6-1.x86_64 (cap libsystemd.so.0()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks acl-2.2.53-1.x86_64 (cap libacl.so.1()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks libblkid-2.36-1.x86_64 (cap libblkid.so.1()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks libcap-libs-2.43-1.x86_64 (cap libcap.so.2()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks cryptsetup-2.3.4-1.x86_64 (cap libcryptsetup.so.12()(64bit))
>>>       cryptsetup-2.3.4-1.x86_64 marks libargon2-20190702-1.x86_64 (cap libargon2.so.1()(64bit))
>>>       cryptsetup-2.3.4-1.x86_64 marks device-mapper-libs-2.03.10-1.x86_64 (cap libdevmapper.so.1.02()(64bit))
>>>        device-mapper-libs-2.03.10-1.x86_64 marks libaio-0.3.112-1.x86_64 (cap libaio.so.1()(64bit))
>>>        device-mapper-libs-2.03.10-1.x86_64 marks libselinux-2.9-4.x86_64 (cap libselinux.so.1()(64bit))
>>>         libselinux-2.9-4.x86_64 marks pcre-8.44-1.x86_64 (cap libpcre.so.1()(64bit))
>>>        device-mapper-libs-2.03.10-1.x86_64 marks udev-libs-246.6-1.x86_64 (cap libudev.so.1()(64bit))
>>>       cryptsetup-2.3.4-1.x86_64 marks json-c-0.14-1.x86_64 (cap libjson-c.so.5()(64bit))
>>>       cryptsetup-2.3.4-1.x86_64 marks popt-1.17-3.x86_64 (cap libpopt.so.0()(64bit))
>>>       cryptsetup-2.3.4-1.x86_64 marks libuuid-2.36-1.x86_64 (cap libuuid.so.1()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks libgcrypt-1.8.6-1.x86_64 (cap libgcrypt.so.20()(64bit))
>>>       libgcrypt-1.8.6-1.x86_64 marks libgpg-error-1.39-1.x86_64 (cap libgpg-error.so.0()(64bit))
>>> systemd-libs-246.6-1.x86_64: required "libip4tc.so.2()(64bit)" is provided by the following packages:
>>> a) iptables-libs-1.8.5-1.x86_64
>>> b) iptables-vserver-libs-1.8.5-1.x86_64
>>> Which one do you want to install ('Q' to abort)? [iptables-libs-1.8.5-1.x86_64]
>>>      systemd-libs-246.6-1.x86_64 marks iptables-libs-1.8.5-1.x86_64 (cap libip4tc.so.2()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks kmod-libs-27-1.x86_64 (cap libkmod.so.2()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks lz4-libs-1.9.2-1.x86_64 (cap liblz4.so.1()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks libmount-2.36-1.x86_64 (cap libmount.so.1()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks pam-libs-1.4.0-1.x86_64 (cap libpam.so.0()(64bit))
>>>       pam-libs-1.4.0-1.x86_64 marks audit-libs-2.8.5-1.x86_64 (cap libaudit.so.1()(64bit))
>>>        audit-libs-2.8.5-1.x86_64 marks libcap-ng-0.7.10-2.x86_64 (cap libcap-ng.so.0()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks libseccomp-2.5.0-1.x86_64 (cap libseccomp.so.2()(64bit))
>>>      systemd-libs-246.6-1.x86_64 marks zstd-1.4.5-1.x86_64 (cap libzstd.so.1()(64bit))
>>>     p11-kit-0.23.21-1.x86_64 marks libtasn1-4.16.0-1.x86_64 (cap libtasn1.so.6()(64bit))
>>>  curl-libs-7.72.0-1.x86_64 marks libssh2-1.9.0-1.x86_64 (cap libssh2.so.1()(64bit))
> 
> Yup, curl dependencies are quite nasty...
> 
> [...]
>>> Preparing...                ########################################### [100%]
>>> error: Install/Erase problems:
>>> 	package libcap-ng-0.8-1.x32 (which is newer than libcap-ng-0.7.10-2.x86_64) is already installed
>>> 	package libedit-3.1-1.20191231.1.x32 (which is newer than libedit-3.1-1.20190324.1.x86_64) is already installed
>>> 	package libpsl-0.21.1-1.x32 (which is newer than libpsl-0.21.0-1.x86_64) is already installed
>>> 	file /usr/share/doc/libedit-3.1/ChangeLog.gz from install of libedit-3.1-1.20190324.1.x86_64 conflicts with file from package libedit-3.1-1.20191231.1.x32
> 
> When installing on builders, I needed to specify newer versions of some
> x86_64 packages manually (e.g. `install libcap-ng-0.8-1.x86_64`, `install
> libedit-3.1-1.20191231.1.x86_64` etc.).

That worked.

> poldek failed to choose newest dependencies in some cases.

-- 
Arkadiusz Miśkiewicz, arekm / ( maven.pl | pld-linux.org )


More information about the pld-devel-en mailing list