Bug 17647 – Fedora/CentOS RPM x86_64 depends on i686 libraries

Status
NEW
Severity
normal
Priority
P3
Component
installer
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2017-07-13T14:16:27Z
Last change time
2025-01-02T15:46:44Z
Assigned to
No Owner
Creator
Gide Nwawudu
See also
https://issues.dlang.org/show_bug.cgi?id=11688
Moved to GitHub: installer#688 →

Comments

Comment #0 by gide — 2017-07-13T14:16:27Z
The Fedora RPM downloaded from http://dlang.org/download.html, depends on i686 instead of x86_64 binaries. Bug 11688 seems similar. # uname -a Linux localhost 3.10.0-514.26.2.el7.x86_64 #1 SMP Tue Jul 4 15:04:05 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux $ yum localinstall dmd-2.074.1-0.fedora.x86_64.rpm ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: dmd x86_64 2.074.1-0 /dmd-2.074.1-0.fedora.x86_64 201 M Installing for dependencies: cyrus-sasl-lib i686 2.1.26-20.el7_2 base 154 k glibc-devel i686 2.17-157.el7_3.4 updates 1.1 M libcurl i686 7.29.0-35.el7.centos base 221 k libdb i686 5.3.21-19.el7 base 730 k libidn i686 1.28-4.el7 base 209 k libssh2 i686 1.4.3-10.el7_2.1 base 133 k nspr i686 4.13.1-1.0.el7_3 updates 128 k nss i686 3.28.4-1.2.el7_3 updates 871 k nss-softokn i686 3.16.2.3-14.4.el7 base 306 k nss-util i686 3.28.4-1.0.el7_3 updates 72 k openldap i686 2.4.40-13.el7 base 347 k readline i686 6.2-9.el7 base 189 k sqlite i686 3.7.17-8.el7 base 396 k $ rpm -qa | grep libcurl libcurl-7.29.0-35.el7.centos.i686 libcurl-7.29.0-35.el7.centos.x86_64
Comment #1 by leeavital — 2018-10-21T21:40:48Z
I was able to create an RPM that installed ok on my laptop running fedora 28 (64 bit) by getting rid of the highlighted lines at https://github.com/dlang/installer/blob/235faa9a786858718f9d7937decbd0bc5b96a46c/linux/dmd_rpm.sh#L272-L278 It looks like the 64 bit RPMs intentionally depend on both 32 and 64 bit libcurl, and libgcc, though I can't imagine why (I'm an RPM noob.)
Comment #2 by robert.schadek — 2025-01-02T15:46:44Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/installer/issues/688 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB