mirror of
https://github.com/sg4r/proxmox-backup-client.git
synced 2026-04-26 07:55:49 +03:00
[GH-ISSUE #2] RPM for Centos 8 #3
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-backup-client#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @guillemlc on GitHub (Jan 4, 2021).
Original GitHub issue: https://github.com/sg4r/proxmox-backup-client/issues/2
Hello there!
Not an issue.
I made an RPM for Centos 8 with the binaries built following your instructions:
`[root@ndoluxel002 ~]# rpm -Uvh proxmox-backup-client-1.0.6-1.x86_64.rpm
Verifying... ################################# [100%]
Preparing... ################################# [100%]
package proxmox-backup-client-1.0.6-1.x86_64 is already installed
[root@ndoluxel002 ~]# /usr/local/sbin/proxmox-backup-client version
client version: 1.0.6
[root@ndoluxel002 ~]# /usr/local/sbin/proxmox-backup-client help
Usage:
backup {} [OPTIONS]
benchmark [OPTIONS]
catalog dump [OPTIONS]
catalog shell [OPTIONS]
change-owner [OPTIONS]
garbage-collect [OPTIONS]
help [{}] [OPTIONS]
key change-passphrase [] [OPTIONS]
key create [] [OPTIONS]
key create-master-key
key import-master-pubkey
key paperkey [] [OPTIONS]
key show [] [OPTIONS]
list [OPTIONS]
login [OPTIONS]
logout [OPTIONS]
map [OPTIONS]
mount [OPTIONS]
prune [OPTIONS]
restore [OPTIONS]
snapshot files [OPTIONS]
snapshot forget [OPTIONS]
snapshot list [] [OPTIONS]
snapshot notes show [OPTIONS]
snapshot notes update [OPTIONS]
snapshot upload-log [OPTIONS]
status [OPTIONS]
task list [OPTIONS]
task log [OPTIONS]
task stop [OPTIONS]
unmap []
version [OPTIONS]
`
I will now see if I works fine in other systems and if the client actually works. Would you be interested in the RPM?
@sg4r commented on GitHub (Jan 4, 2021):
Hi, Nice work.
i look for use cargo rpm for build a rpm package, but if you can publish your notes to create a package
Best regards
@sg4r commented on GitHub (Jan 5, 2021):
hi, i used generate-rpm and add the dependencies. can you check if this works for you?
@guillemlc commented on GitHub (Jan 5, 2021):
Hello @sg4r I used fpm once the binaries were already built with your procedure.
Most likely your way is better.
with fpm installed ( https://fpm.readthedocs.io/en/latest/index.html ) It is just a matter of:
fpm -t rpm -n proxmox-backup-client -v 1.0.6 -s dir /usr/local/sbin/proxmox-backup-client /usr/local/sbin/...and any other dirs.@guillemlc commented on GitHub (Jan 5, 2021):
Just as an additional comment: the client created by this method is Centos major version bound. If compiled in Centos 8 it will only work in Centos 8:
The client compiled in 8 fails to run in 7:
Only backing up standard locations /usr/local/sbin/proxmox-backup-client: /lib64/libfuse3.so.3: versionFUSE_3.0' not found (required by /usr/local/sbin/proxmox-backup-client)/usr/local/sbin/proxmox-backup-client: /lib64/libc.so.6: version
GLIBC_2.25' not found (required by /usr/local/sbin/proxmox-backup-client) /usr/local/sbin/proxmox-backup-client: /lib64/libc.so.6: versionGLIBC_2.18' not found (required by /usr/local/sbin/proxmox-backup-client)`
And no, cheating LDD is not a workaround. So it needs a el7 build. I am WIP now.
@guillemlc commented on GitHub (Jan 5, 2021):
Even with fuse3-devel, the glibc will be a problem:
/usr/local/sbin/proxmox-backup-client: /lib64/libc.so.6: versionGLIBC_2.25' not found (required by /usr/local/sbin/proxmox-backup-client)/usr/local/sbin/proxmox-backup-client: /lib64/libc.so.6: version
GLIBC_2.18' not found (required by /usr/local/sbin/proxmox-backup-client)@sg4r commented on GitHub (Jan 5, 2021):
you must build one package for the distibution version. one for centos7 and one for and centos8.
for centos7 i use fuse3-libs-3.6.1-4.el7.x86_64 from extras repo
# yum info fuse3-libs-3.6.1-4.el7.x86_64
Loaded plugins: fastestmirror
Determining fastest mirrors
Installed Packages
Name : fuse3-libs
Arch : x86_64
Version : 3.6.1
Release : 4.el7
Size : 270 k
Repo : installed
From repo : extras
Summary : File System in Userspace (FUSE) v3 libraries
URL : http://fuse.sf.net
License : LGPLv2+
Description : Devel With FUSE it is possible to implement a fully functional filesystem in a
: userspace program. This package contains the FUSE v3 libraries.
@guillemlc commented on GitHub (Jan 5, 2021):
Yes, it is quite clear.
map_errfound #11