OSMC Installer

Hi,

Using Fedora 23 64bit. Is there a particular reason OSMC asks me to install 32 bit dependencies? Is it not available as pure 64bit? Namely

glibc                         i686              2.22-7.fc23                updates              4.3 M 
libX11                        i686              1.6.3-2.fc23               fedora               616 k 
libXau                        i686              1.0.8-5.fc23               fedora                34 k 
libxcb                        i686              1.11.1-1.fc23              updates              206 k 
nss-softokn-freebl            i686              3.21.0-1.1.fc23            updates              196 k 

Thanks!
Nick

Did you add the x64 repo? Should be no 32-bit dependencies

I just went to Install package home:osmc / osmc-installer linked from the download page and selected the Fedora repository. I have osmc-installer-1-123.1.x86_64 installed.

dnf repoquery --requires osmc-installer-1-123.1.x86_64
Last metadata expiration check performed 2:58:35 ago on Thu Jan 14 07:05:59 2016.
/bin/bash
libQtCore.so.4()(64bit)
libQtGui.so.4()(64bit)
libQtNetwork.so.4()(64bit)
libX11(x86-32) >= 1.4.99.1
libc.so.6(GLIBC_2.14)(64bit)
libgcc_s.so.1()(64bit)
libgcc_s.so.1(GCC_3.0)(64bit)
libjpeg-turbo
libm.so.6()(64bit)
libmng
libpng
libpthread.so.0()(64bit)
libpthread.so.0(GLIBC_2.2.5)(64bit)
libstdc++.so.6()(64bit)
libstdc++.so.6(CXXABI_1.3)(64bit)
libstdc++.so.6(GLIBCXX_3.4)(64bit)
libtiff
libz.so.1()(64bit)
parted
patch
qt
rtld(GNU_HASH)

If I try to install the rpm manually I get:

rpm -i ~/Downloads/osmc-installer-1-123.1.x86_64.rpm 
error: Failed dependencies:
        libX11(x86-32) >= 1.4.99.1 is needed by osmc-installer-1-123.1.x86_64

And for libX11:

rpm -qi libX11
Name        : libX11
Version     : 1.6.3
Release     : 2.fc23
Architecture: x86_64
Install Date: Thu 29 Oct 2015 21:24:58 GMT
Group       : System Environment/Libraries
Size        : 1323592
License     : MIT
Signature   : RSA/SHA256, Sun 21 Jun 2015 22:10:57 BST, Key ID 32474cf834ec9cba
Source RPM  : libX11-1.6.3-2.fc23.src.rpm
Build Date  : Wed 17 Jun 2015 17:34:01 BST
Build Host  : buildvm-18.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://www.x.org
Summary     : Core X11 protocol client library
Description :
Core X11 protocol client library.

@sam_nazarko Is there anything else I can do to assist in diagnosing the issue for you?

Hi

Unfortunately I’m not too familiar with Fedora, and don’t use a RPM distro as a daily driver myself. You can see my spec file here:

Sam

@sam_nazarko Should osmc/osmc-installer.spec at master · osmc/osmc · GitHub be %ifnarch x86_64 ? Or alternatively could we use http://www.rpm.org/wiki/PackagerDocs/ArchDependencies {?_isa} ?

How is the RPM built? i.e. what is the command used on the build service?

The RPM is built by Open Build Service. You can read more at openSUSE:Specfile guidelines - openSUSE Wiki.

I am happy to accept a PR remedying this behaviour.

@sam_nazarko I’ve submitted a PR ( Use isa macro under Fedora. by rnc · Pull Request #263 · osmc/osmc · GitHub ) and tested the RPM using my forked OBS osmc; the RPM dependencies now look correct for my F23 install.

Many thanks

Sam