hnimmo
March 21, 2025, 11:49am
1
I converted a debian linux (deb) package to rpm using alien. However, on trying to install the resulting rpm package there was an error:
nothing provides 'libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit)' needed by the to be installed <package name>
From where might I get the missing package?
Incidentally, a previous version of the deb package could be converted successfully and had been working under Leap 15.6.
hui
March 21, 2025, 11:51am
2
ich@laptopneu:~> LANG=C zypper se -s --provides libQt5Qml.so.5
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------------+---------+-------------------+--------+-----------
i | libQtQuick5 | package | 5.15.16+kde22-1.3 | x86_64 | OSS
| libQtQuick5-32bit | package | 5.15.16+kde22-1.3 | x86_64 | OSS
ich@laptopneu:~>
hnimmo
March 21, 2025, 12:02pm
3
tLANG=C zypper se -s --provides libQt5Qml.so.5
Loading repository data...
Reading installed packages...
S | Name | Type | Version | Arch | Repository
---+-------------------+---------+-------------------+--------+----------------------
i | libQtQuick5 | package | 5.15.16+kde22-1.3 | x86_64 | Main Repository (OSS)
i | libQtQuick5 | package | 5.15.16+kde22-1.3 | x86_64 | openSUSE-20250316-0
| libQtQuick5-32bit | package | 5.15.16+kde22-1.3 | x86_64 | Main Repository (OSS)
Where is my problem?
hui
March 21, 2025, 12:02pm
4
How do you install the rpm? The complete terminal in-/output from your installation attempt is missing. Do you use zypper or rpm?
Also:
which package have you converted?
URL of the downloaded deb-Package.
hnimmo
March 21, 2025, 12:07pm
6
zypper install synology-drive-7.5.2-16112.x86_64.rpm
Loading repository data...
Reading installed packages...
Resolving package dependencies...
Problem: 1: nothing provides 'libQt5Qml.so.5(Qt_5_PRIVATE_API)(64bit)' needed by the to be installed synology-drive-7.5.2-16112.x86_64
Solution 1: do not install synology-drive-7.5.2-16112.x86_64
Solution 2: break synology-drive-7.5.2-16112.x86_64 by ignoring some of its dependencies
hnimmo
March 21, 2025, 12:10pm
7
https://global.synologydownload.com/download/Utility/SynologyDriveClient/3.5.2-16111/Ubuntu/Installer/synology-drive-client-16111.x86_64.deb?model=DS213j&bays=2&dsm_version=7.1.1&build_number=42962
hnimmo
March 21, 2025, 12:26pm
9
Sorry, yes. This was a previous attempt, that I abandoned at the time and successfully continued with the old working version of the app. Honestly, I had forgotten the previous forum exchange. One year later, I now I have no working version of the app, presumably, because of the missing header declaration package.
So:
same Problem here as in the old thread.
alien can be used to convert “light” programms, but I never would install a converted package for something like NAS or so.
I use the Fedora src.rpm from here:
https://copr.fedorainfracloud.org/coprs/emixampp/synology-drive/
Set up your Build in your /home:
I build packages as user in my /home directory, so you can set it up with:
mkdir -p ~/rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
echo '%_topdir %(echo $HOME)/rpmbuild' > ~/.rpmmacros
echo '%_tmppath %{_topdir}/tmp' >> ~/.rpmmacros
All executed as User,
SRPMS is the directory for the build src.rpms
RPM is the directory for the to install packages (installation as root) after building without errors
SPEC is the directory for the spec-file
SOURCES is the directory for all sources, patches and …
Downlaod the package (LANG=C is only for English):
stephan@linux64:~> LANG=C wget https://download.copr.fedorainfracloud.org/results/emixampp/synology-drive/srpm-builds/08767920/synology-drive-3.5.2-16111.src.rpm
--2025-03-21 14:06:58-- https://download.copr.fedorainfracloud.org/results/emixampp/synology-drive/srpm-builds/08767920/synology-drive-3.5.2-16111.src.rpm
Resolving download.copr.fedorainfracloud.org (download.copr.fedorainfracloud.org)... 52.222.214.27, 52.222.214.128, 52.222.214.34, ...
Connecting to download.copr.fedorainfracloud.org (download.copr.fedorainfracloud.org)|52.222.214.27|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 103579920 (99M) [application/x-rpm]
Saving to: 'synology-drive-3.5.2-16111.src.rpm.1'
synology-drive-3.5.2-16111.src.rpm.1 100%[====================================================================================================================>] 98,78M 12,1MB/s in 8,2s
2025-03-21 14:07:06 (12,0 MB/s) - 'synology-drive-3.5.2-16111.src.rpm.1' saved [103579920/103579920]
stephan@linux64:~>
Now build the rpm:
stephan@linux64:~> LANG=C rpmbuild --rebuild synology-drive-3.5.2-16111.src.rpm
Installing synology-drive-3.5.2-16111.src.rpm
Executing(%prep): /bin/sh -e /home/stephan/rpmbuild/tmp/rpm-tmp.ek6J3C
+ umask 022
+ cd /home/stephan/rpmbuild/BUILD
+ ar x /home/stephan/rpmbuild/SOURCES/synology-drive-client-16111.x86_64.deb data.tar.xz
+ tar xf data.tar.xz
+ sed -i 's|https://utyupdate.synology.com||' opt/Synology/SynologyDrive/package/cloudstation/conf/update.conf
+ sed -i 's|/getUpdate||' opt/Synology/SynologyDrive/package/cloudstation/conf/update.conf
+ exit 0
Executing(%install): /bin/sh -e /home/stephan/rpmbuild/tmp/rpm-tmp.kEZyDC
+ umask 022
+ cd /home/stephan/rpmbuild/BUILD
+ export QA_RPATHS=34
+ QA_RPATHS=34
+ mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/opt/Synology/
+ cp -rp opt/Synology/SynologyDrive/ /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/opt/Synology/
+ mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/bin/
+ install -Dm 755 usr/bin/synology-drive -t /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/bin/
+ mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/lib64/nautilus/extensions-3.0/
+ install -Dm 644 usr/lib/nautilus/extensions-3.0/libnautilus-drive-extension.so -t /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/lib64/nautilus/extensions-3.0/
+ mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/lib64/nautilus/extensions-4/
+ install -Dm 644 usr/lib/nautilus/extensions-4/libnautilus-drive-extension-4.so -t /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/lib64/nautilus/extensions-4/
+ mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/applications/
+ install -Dm 644 usr/share/applications/synology-drive.desktop -t /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/applications/
+ mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/icons/
+ cp -rp usr/share/icons/hicolor/ /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/icons/
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-suse
calling /usr/lib/rpm/brp-suse.d/brp-99-compress-vmlinux
calling /usr/lib/rpm/brp-suse.d/brp-99-pesign
No buildservice signing certificate
Creating /home/stephan/rpmbuild/OTHER/synology-drive.cpio.rsasign
1 block
Processing files: synology-drive-3.5.2-16111.x86_64
Executing(%doc): /bin/sh -e /home/stephan/rpmbuild/tmp/rpm-tmp.kLV56i
+ umask 022
+ cd /home/stephan/rpmbuild/BUILD
+ DOCDIR=/home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/doc/packages/synology-drive
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/doc/packages/synology-drive
+ cp -pr usr/share/doc/synology-drive/changelog.gz /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/doc/packages/synology-drive
+ exit 0
Executing(%license): /bin/sh -e /home/stephan/rpmbuild/tmp/rpm-tmp.aVYVub
+ umask 022
+ cd /home/stephan/rpmbuild/BUILD
+ LICENSEDIR=/home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/licenses/synology-drive
+ export LC_ALL=C
+ LC_ALL=C
+ export LICENSEDIR
+ /usr/bin/mkdir -p /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/licenses/synology-drive
+ cp -pr opt/Synology/SynologyDrive/LICENSE.txt /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64/usr/share/licenses/synology-drive
+ exit 0
Provides: synology-drive = 3.5.2-16111 synology-drive(x86-64) = 3.5.2-16111
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Conflicts: synology-drive-noextra
Recommends: gnome-shell-extension-appindicator nautilus nautilus-extensions
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64
Wrote: /home/stephan/rpmbuild/RPMS/x86_64/synology-drive-3.5.2-16111.x86_64.rpm
Executing(%clean): /bin/sh -e /home/stephan/rpmbuild/tmp/rpm-tmp.JoZwVJ
+ umask 022
+ cd /home/stephan/rpmbuild/BUILD
+ /usr/bin/rm -rf /home/stephan/rpmbuild/BUILDROOT/synology-drive-3.5.2-16111.x86_64
+ rm -rf filelists
Executing(--clean): /bin/sh -e /home/stephan/rpmbuild/tmp/rpm-tmp.WFiWGp
+ umask 022
+ cd /home/stephan/rpmbuild/BUILD
+ rm -rf filelists
stephan@linux64:~>
The rpm to install is in :
Wrote: /home/stephan/rpmbuild/RPMS/x86_64/synology-drive-3.5.2-16111.x86_64.rpm
hnimmo
March 21, 2025, 1:37pm
13
I tried to configure the repo, but failed
# dnf copr enable emixampp/synology-drive
Segmentation fault (core dumped)
Method 1 in the github is only for Fedora.
Method 2 is to build it on your Computer.
But easier is my next thread to build it from the src.rpm.
hnimmo
March 21, 2025, 4:57pm
15
Wow! Method 2 works. Well explained.
system
Closed
April 20, 2025, 4:57pm
16
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.