[GH-ISSUE #2] RPM for Centos 8 #3

Closed
opened 2026-02-27 21:01:05 +03:00 by kerem · 7 comments
Owner

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?

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 {<backupspec>} [OPTIONS] benchmark [OPTIONS] catalog dump <snapshot> [OPTIONS] catalog shell <snapshot> <archive-name> [OPTIONS] change-owner <group> <new-owner> [OPTIONS] garbage-collect [OPTIONS] help [{<command>}] [OPTIONS] key change-passphrase [<path>] [OPTIONS] key create [<path>] [OPTIONS] key create-master-key key import-master-pubkey <path> key paperkey [<path>] [OPTIONS] key show [<path>] [OPTIONS] list [OPTIONS] login [OPTIONS] logout [OPTIONS] map <snapshot> <archive-name> [OPTIONS] mount <snapshot> <archive-name> <target> [OPTIONS] prune <group> [OPTIONS] restore <snapshot> <archive-name> <target> [OPTIONS] snapshot files <snapshot> [OPTIONS] snapshot forget <snapshot> [OPTIONS] snapshot list [<group>] [OPTIONS] snapshot notes show <snapshot> [OPTIONS] snapshot notes update <snapshot> <notes> [OPTIONS] snapshot upload-log <snapshot> <logfile> [OPTIONS] status [OPTIONS] task list [OPTIONS] task log <upid> [OPTIONS] task stop <upid> [OPTIONS] unmap [<name>] 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?
kerem closed this issue 2026-02-27 21:01:07 +03:00
Author
Owner

@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

<!-- gh-comment-id:754181684 --> @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
Author
Owner

@sg4r commented on GitHub (Jan 5, 2021):

hi, i used generate-rpm and add the dependencies. can you check if this works for you?

<!-- gh-comment-id:754512664 --> @sg4r commented on GitHub (Jan 5, 2021): hi, i used generate-rpm and add the dependencies. can you check if this works for you?
Author
Owner

@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.

<!-- gh-comment-id:754535033 --> @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.
Author
Owner

@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: version FUSE_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: version GLIBC_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.

<!-- gh-comment-id:754678899 --> @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: version `FUSE_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: version `GLIBC_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.
Author
Owner

@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)

<!-- gh-comment-id:754682406 --> @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: version `GLIBC_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) `
Author
Owner

@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

  • base: fr2.rpmfind.net
  • epel: ftp-stud.hs-esslingen.de
  • extras: miroir.univ-lorraine.fr
  • updates: mirror.in2p3.fr
    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.
<!-- gh-comment-id:754697483 --> @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 * base: fr2.rpmfind.net * epel: ftp-stud.hs-esslingen.de * extras: miroir.univ-lorraine.fr * updates: mirror.in2p3.fr 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.
Author
Owner

@guillemlc commented on GitHub (Jan 5, 2021):

Yes, it is quite clear.

<!-- gh-comment-id:754735150 --> @guillemlc commented on GitHub (Jan 5, 2021): Yes, it is quite clear.
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-backup-client#3
No description provided.