View previous topic :: View next topic |
Author |
Message |
tayga n00b
Joined: 16 Jul 2017 Posts: 14
|
Posted: Mon May 03, 2021 3:59 pm Post subject: teradici PCoIP client on Gentoo |
|
|
My wok is changing remote workstation set up and now its going to be Teradici PCoIP thing.
Their website only has client set up for Ubuntu and Cent OS in the docs.
Does anyone have experience with Teradici client on Gentoo?
Is it even possible?
Really dont want to change my tuned system to some Ubuntu based disro
Thanks |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31269 Location: here
|
Posted: Tue May 04, 2021 5:50 am Post subject: |
|
|
I create an ebuild install pcoip-client and run but I can't really test if work (based on arch pkgbuild package)
pcoip-client-21.03.0.ebuild: | # Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker xdg-utils
DESCRIPTION="Teradici PCOIP client for x86_64 (64bit) Linux"
HOMEPAGE="https://www.teradici.com/"
SRC_URI="https://downloads.teradici.com/ubuntu/pool/non-free/p/pcoip-client/pcoip-client_${PV}-18.04_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/p/protobuf/libprotobuf10_3.0.0-9.1ubuntu1_amd64.deb"
LICENSE="Teradici"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-qt/qtdeclarative:5
dev-qt/qtquickcontrols:5
media-gfx/graphicsmagick[cxx,q16]
sys-apps/pcsc-lite
"
BDEPEND="
app-arch/gzip
dev-util/patchelf
"
S="${WORKDIR}"
QA_PREBUILT="
/usr/bin/pcoip-client
/usr/lib64/pcoip-client/*.so*
/usr/lib64/pcoip-client/*/*.so*
/usr/libexec/pcoip-client/usb-helper
"
src_prepare() {
default
patchelf --replace-needed libGraphicsMagick++-Q16.so.12 libGraphicsMagick++.so.12 "usr/lib/x86_64-linux-gnu/pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so" || die "Unable to patch libvchan-plugin-clipboard.so for libGraphicsMagick++.so.12"
patchelf --set-rpath '$ORIGIN/../lib64/pcoip-client' usr/bin/pcoip-client || die "Failed to set rpath"
gunzip usr/share/man/man8/pcoip-configure-kernel-networking.8.gz || die "Failed to uncompress man"
}
src_install() {
dobin usr/bin/pcoip-client{,-support-bundler}
exeinto /usr/sbin
doexe usr/sbin/pcoip-configure-kernel-networking
insinto /usr/lib64/pcoip-client
doins -r usr/lib/x86_64-linux-gnu/pcoip-client/*
doins usr/lib/x86_64-linux-gnu/libprotobuf.so.10{,.0.0}
find "${ED}/usr/lib64/" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
exeinto /usr/libexec/pcoip-client
doexe usr/libexec/pcoip-client/usb-helper
insinto /usr/share/{applications,fonts,icons}
doins -r usr/share/*
insinto /usr/share/doc/"${P}"
doins usr/share/doc/client/pcoip-client/copyright
doman usr/share/man/man8/pcoip-configure-kernel-networking.8
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
} |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
tayga n00b
Joined: 16 Jul 2017 Posts: 14
|
Posted: Tue May 04, 2021 4:43 pm Post subject: |
|
|
wow! Man!
I have no words!
It works!
This community is the best! |
|
Back to top |
|
|
tayga n00b
Joined: 16 Jul 2017 Posts: 14
|
Posted: Mon Apr 04, 2022 2:50 pm Post subject: |
|
|
Hi!
Thank you very much for helping me in first place with installing teradici!
I was using it constantly since
But today I need to update it.
How do I update custom ebuild?
Thank you |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22673
|
Posted: Mon Apr 04, 2022 3:07 pm Post subject: |
|
|
What have you tried so far? By inspection of the ebuild posted back then, I expect you need to rename it to match the version number of the new version. You may also need to adjust the version number for the semi-bundled libprotobuf, if the new version of teradici needs a different one. If you need more specific help, please link to the install instructions for the version of teradici you want. Someone may be able to convert those instructions into an ebuild, using the older ebuild as a reference. |
|
Back to top |
|
|
tayga n00b
Joined: 16 Jul 2017 Posts: 14
|
|
Back to top |
|
|
tayga n00b
Joined: 16 Jul 2017 Posts: 14
|
Posted: Mon Apr 04, 2022 3:59 pm Post subject: |
|
|
here is what i got so far:
pcoip-client-22.01.0.ebuild
Code: |
dl.teradici.com# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker xdg-utils
DESCRIPTION="Teradici PCOIP client for x86_64 (64bit) Linux"
HOMEPAGE="https://www.teradici.com/"
SRC_URI="https://dl.teradici.com/DeAdBCiUYInHcSTy/pcoip-client/deb/ubuntu/pool/focal/main/p/pc/pcoip-client_${PV}-20.04/pcoip-client_${PV}-20.04_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/p/protobuf/libprotobuf17_3.6.1.3-2ubuntu5_amd64.deb"
LICENSE="Teradici"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-qt/qtdeclarative:5
dev-qt/qtquickcontrols:5
media-gfx/graphicsmagick[cxx,q16]
sys-apps/pcsc-lite
"
BDEPEND="
app-arch/gzip
dev-util/patchelf
"
S="${WORKDIR}"
QA_PREBUILT="
/usr/bin/pcoip-client
/usr/lib64/pcoip-client/*.so*
/usr/lib64/pcoip-client/*/*.so*
/usr/libexec/pcoip-client/usb-helper
"
src_prepare() {
default
patchelf --replace-needed libGraphicsMagick++-Q16.so.12 libGraphicsMagick++.so.12 "usr/lib/x86_64-linux-gnu/pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so" || die "Unable to patch libvchan-plugin-clipboard.so for libGraphicsMagick++.so.12"
patchelf --set-rpath '$ORIGIN/../lib64/pcoip-client' usr/bin/pcoip-client || die "Failed to set rpath"
gunzip usr/share/man/man8/pcoip-configure-kernel-networking.8.gz || die "Failed to uncompress man"
}
src_install() {
dobin usr/bin/pcoip-client{,-support-bundler}
exeinto /usr/sbin
doexe usr/sbin/pcoip-configure-kernel-networking
insinto /usr/lib64/pcoip-client
doins -r usr/lib/x86_64-linux-gnu/pcoip-client/*
doins usr/lib/x86_64-linux-gnu/libprotobuf.so.10{,.0.0}
find "${ED}/usr/lib64/" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
exeinto /usr/libexec/pcoip-client
doexe usr/libexec/pcoip-client/usb-helper
insinto /usr/share/{applications,fonts,icons}
doins -r usr/share/*
insinto /usr/share/doc/"${P}"
doins usr/share/doc/client/pcoip-client/copyright
doman usr/share/man/man8/pcoip-configure-kernel-networking.8
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
|
and it fails on installation:
Code: |
>>> Emerging (1 of 1) net-misc/pcoip-client-22.01.0::localrepo
* pcoip-client_22.01.0-20.04_amd64.deb BLAKE2B SHA512 size ;-) ... [ ok ]
* libprotobuf17_3.6.1.3-2ubuntu5_amd64.deb BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking pcoip-client_22.01.0-20.04_amd64.deb to /var/tmp/portage/net-misc/pcoip-client-22.01.0/work
>>> Unpacking data.tar.gz to /var/tmp/portage/net-misc/pcoip-client-22.01.0/work
>>> Unpacking libprotobuf17_3.6.1.3-2ubuntu5_amd64.deb to /var/tmp/portage/net-misc/pcoip-client-22.01.0/work
>>> Unpacking data.tar.xz to /var/tmp/portage/net-misc/pcoip-client-22.01.0/work
>>> Source unpacked in /var/tmp/portage/net-misc/pcoip-client-22.01.0/work
>>> Preparing source in /var/tmp/portage/net-misc/pcoip-client-22.01.0/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-misc/pcoip-client-22.01.0/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-misc/pcoip-client-22.01.0/work ...
>>> Source compiled.
>>> Test phase [not enabled]: net-misc/pcoip-client-22.01.0
>>> Install net-misc/pcoip-client-22.01.0 into /var/tmp/portage/net-misc/pcoip-client-22.01.0/image
Traceback (most recent call last):
File "/usr/lib/portage/python3.9/doins.py", line 607, in <module>
sys.exit(main(sys.argv[1:]))
File "/usr/lib/portage/python3.9/doins.py", line 596, in main
if _doins(
File "/usr/lib/portage/python3.9/doins.py", line 439, in _doins
return install_runner.install_file(source, os.path.dirname(dest))
File "/usr/lib/portage/python3.9/doins.py", line 373, in install_file
return self._ins_runner.run(source, dest_dir)
File "/usr/lib/portage/python3.9/doins.py", line 181, in run
sstat = os.stat(source)
FileNotFoundError: [Errno 2] No such file or directory: b'usr/lib/x86_64-linux-gnu/libprotobuf.so.10'
* ERROR: net-misc/pcoip-client-22.01.0::localrepo failed (install phase):
* doins failed
*
* If you need support, post the output of `emerge --info '=net-misc/pcoip-client-22.01.0::localrepo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/pcoip-client-22.01.0::localrepo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/pcoip-client-22.01.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/pcoip-client-22.01.0/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/pcoip-client-22.01.0/work'
* S: '/var/tmp/portage/net-misc/pcoip-client-22.01.0/work'
>>> Failed to emerge net-misc/pcoip-client-22.01.0, Log file:
>>> '/var/tmp/portage/net-misc/pcoip-client-22.01.0/temp/build.log'
* Messages for package net-misc/pcoip-client-22.01.0:
* ERROR: net-misc/pcoip-client-22.01.0::localrepo failed (install phase):
* doins failed
*
* If you need support, post the output of `emerge --info '=net-misc/pcoip-client-22.01.0::localrepo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/pcoip-client-22.01.0::localrepo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/pcoip-client-22.01.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/pcoip-client-22.01.0/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/pcoip-client-22.01.0/work'
* S: '/var/tmp/portage/net-misc/pcoip-client-22.01.0/work'
|
|
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22673
|
Posted: Mon Apr 04, 2022 4:05 pm Post subject: |
|
|
The ebuild has a doins that tries to install that file. Presumably the new version of protobuf has a different name for the file, so you need to adjust the argument to doins accordingly. |
|
Back to top |
|
|
tayga n00b
Joined: 16 Jul 2017 Posts: 14
|
Posted: Mon Apr 04, 2022 5:37 pm Post subject: |
|
|
Yes, that was it!
protobuf is version 17 now not 10. I changed it in the ebuild file and it installed!
Thanks again! |
|
Back to top |
|
|
met2 n00b
Joined: 17 Jan 2023 Posts: 1
|
Posted: Tue Jan 17, 2023 10:48 pm Post subject: |
|
|
I also needed that for work, it took me a while but thanks to you guys I've managed to get things working by updating the ebuild based on the latest arch pkbuild. I'm no expert though so there might be a better way of doing things, also I'm not sure the clipboard plugin is working as my company has that disabled.
pcoip-client-22.09.4.ebuild:
Code: |
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit unpacker xdg-utils
DESCRIPTION="Teradici PCOIP client for x86_64 (64bit) Linux"
HOMEPAGE="https://www.teradici.com/"
SRC_URI="https://dl.teradici.com/DeAdBCiUYInHcSTy/pcoip-client/deb/ubuntu/pool/focal/main/p/pc/pcoip-client_${PV}-20.04/pcoip-client_${PV}-20.04_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/p/protobuf/libprotobuf17_3.6.1.3-2ubuntu5_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/universe/h/hiredis/libhiredis0.14_0.14.1-2_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/b/boost1.71/libboost-system1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/b/boost1.71/libboost-thread1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/b/boost1.71/libboost-chrono1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/b/boost1.71/libboost-filesystem1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/universe/b/boost1.71/libboost-regex1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/b/boost1.71/libboost-serialization1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/universe/b/boost1.71/libboost-random1.71.0_1.71.0-6ubuntu6_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/universe/b/boost1.71/libboost-container1.71.0_1.71.0-6ubuntu6_amd64.deb
"
LICENSE="Teradici"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-libs/openssl
dev-qt/qtdeclarative:5
dev-qt/qtgraphicaleffects:5
dev-qt/qtnetworkauth:5
dev-qt/qtopengl:5
dev-qt/qtquickcontrols:5
dev-qt/qtquickcontrols2:5
media-gfx/graphicsmagick[cxx,q16]
media-libs/glfw
media-libs/libva
media-video/ffmpeg
sys-apps/pcsc-lite
"
BDEPEND="
app-arch/gzip
dev-util/patchelf
"
S="${WORKDIR}"
QA_PREBUILT="
/usr/bin/pcoip-client
/usr/lib64/pcoip-client/*.so*
/usr/lib64/pcoip-client/*/*.so*
/usr/libexec/pcoip-client/usb-helper
"
src_prepare() {
default
patchelf --replace-needed libGraphicsMagick++-Q16.so.12 libGraphicsMagick++.so.12 "usr/lib/x86_64-linux-gnu/org.hp.pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so" || die "Unable to patch libvchan-plugin-clipboard.so for libGraphicsMagick++.so.12"
patchelf --set-rpath '$ORIGIN/../lib64/pcoip-client' usr/bin/pcoip-client || die "Failed to set rpath"
gunzip usr/share/man/man8/pcoip-configure-kernel-networking.8.gz || die "Failed to uncompress man"
}
src_install() {
dobin usr/bin/pcoip-client{,-support-bundler}
exeinto /usr/sbin
doexe usr/sbin/pcoip-configure-kernel-networking
insinto /usr/lib64/pcoip-client
doins usr/lib/x86_64-linux-gnu/pcoip-client/libbroker*
doins usr/lib/x86_64-linux-gnu/pcoip-client/libpcoip*
doins usr/lib/x86_64-linux-gnu/pcoip-client/librdp-session.so
doins usr/lib/x86_64-linux-gnu/pcoip-client/libswscale*
doins -r usr/lib/x86_64-linux-gnu/pcoip-client/localization
doins usr/lib/x86_64-linux-gnu/libprotobuf.so.17{,.0.0}
doins usr/lib/x86_64-linux-gnu/libhiredis.so.0.14
doins usr/lib/x86_64-linux-gnu/libboost_system.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_regex.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_random.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_container.so.1.71.0
insinto /usr/lib64/org.hp.pcoip-client/vchan_plugins
doins usr/lib/x86_64-linux-gnu/org.hp.pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so
find "${ED}/usr/lib64/" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
echo "LDPATH=/usr/lib64/pcoip-client/" > 99pcoip_client || die
doenvd 99pcoip_client
exeinto /usr/libexec/pcoip-client
doexe usr/libexec/pcoip-client/usb-helper
insinto /usr/share/{applications,fonts,icons}
doins -r usr/share/*
insinto /usr/share/doc/"${P}"
doins usr/share/doc/client/pcoip-client/copyright
doman usr/share/man/man8/pcoip-configure-kernel-networking.8
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}
|
Last edited by met2 on Wed Jan 18, 2023 6:06 pm; edited 2 times in total |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22673
|
Posted: Wed Jan 18, 2023 1:36 am Post subject: |
|
|
met2 wrote: | pcoip-client-22.09.4.ebuild: | KEYWORDS="~amd64 ~x86" |
| Since this is a prebuilt binary package, and you only provide a download for amd64, I think this line should read: Code: | KEYWORDS="-* ~amd64" | It is known broken on all architectures other than amd64. met2 wrote: | pcoip-client-22.09.4.ebuild: | doins usr/lib/x86_64-linux-gnu/libprotobuf.so.17{,.0.0}
doins usr/lib/x86_64-linux-gnu/libhiredis.so.0.14
doins usr/lib/x86_64-linux-gnu/libboost_system.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_regex.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_random.so.1.71.0
doins usr/lib/x86_64-linux-gnu/libboost_container.so.1.71.0 |
| Bundling private copies of system libraries is discouraged. However, this may be unavoidable if the proprietary application depends on these specific outdated versions and cannot be used with the more current versions in the tree. |
|
Back to top |
|
|
LucaSaiani n00b
Joined: 30 May 2021 Posts: 5
|
Posted: Fri Jun 28, 2024 3:38 pm Post subject: |
|
|
Hello, I am trying to install Teradici PCoIP.
I had to edit the posted ebuild since the version of the software has changed.
Being my first custom ebuild, I decided to start from the first ebuild posted by @fedeliallalinea (which I suppose is a fan of the Italian punk group CCCP), see if I was getting the same errors of @tayga and @met2, and so on
This is my pcoip-client-24.03.2.ebuild:
Code: |
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
_ubuntuver=22.04
inherit unpacker xdg-utils
DESCRIPTION="Teradici PCOIP client for x86_64 (64bit) Linux"
HOMEPAGE="https://www.teradici.com/"
SRC_URI="https://dl.teradici.com/DeAdBCiUYInHcSTy/pcoip-client/deb/ubuntu/pool/jammy/main/p/pc/pcoip-client_${PV}-${_ubuntuver}/pcoip-client_${PV}-${_ubuntuver}_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/main/p/protobuf/libprotobuf23_3.12.4-1ubuntu7_amd64.deb
http://se.archive.ubuntu.com/ubuntu/pool/universe/h/hiredis/libhiredis0.14_0.14.1-2_amd64.deb"
LICENSE="Teradici"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-qt/qtdeclarative:5
dev-qt/qtquickcontrols:5
media-gfx/graphicsmagick[cxx,q16]
sys-apps/pcsc-lite
"
BDEPEND="
app-arch/gzip
dev-util/patchelf
"
S="${WORKDIR}"
QA_PREBUILT="
/usr/bin/pcoip-client
/usr/lib64/pcoip-client/*.so*
/usr/lib64/pcoip-client/*/*.so*
/usr/libexec/pcoip-client/usb-helper
"
src_prepare() {
default
patchelf --replace-needed libGraphicsMagick++-Q16.so.12 libGraphicsMagick++.so.12 "usr/lib/x86_64-linux-gnu/org.hp.pcoip-client/vchan_plugins/libvchan-plugin-clipboard.so" || die "Unable to patch libvchan-plugin-clipboard.so for libGraphicsMagick++.so.12"
patchelf --set-rpath '$ORIGIN/../lib64/pcoip-client' usr/bin/pcoip-client || die "Failed to set rpath"
gunzip usr/share/man/man8/pcoip-configure-kernel-networking.8.gz || die "Failed to uncompress man"
}
src_install() {
dobin usr/bin/pcoip-client{,-support-bundler}
exeinto /usr/sbin
doexe usr/sbin/pcoip-configure-kernel-networking
insinto /usr/lib64/pcoip-client
doins -r usr/lib/x86_64-linux-gnu/pcoip-client/*
doins usr/lib/x86_64-linux-gnu/libprotobuf.so.10{,.0.0}
find "${ED}/usr/lib64/" -name "*.so*" -type f -exec chmod +x {} \; || die "Change .so permission failed"
exeinto /usr/libexec/pcoip-client
doexe usr/libexec/pcoip-client/usb-helper
insinto /usr/share/{applications,fonts,icons}
doins -r usr/share/*
insinto /usr/share/doc/"${P}"
doins usr/share/doc/client/pcoip-client/copyright
domain usr/share/man/man8/pcoip-configure-kernel-networking.8
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}
|
The ebuild is saved in Code: | /var/db/repos/local/net-vpn/pcoip-client |
When I run emerge -v pcoip-client I get
Code: |
▶cat /var/tmp/portage/net-vpn/pcoip-client-24.03.2/temp/build.log
* Package: net-vpn/pcoip-client-24.03.2:0
* Repository: local
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking pcoip-client_24.03.2-22.04_amd64.deb to /var/tmp/portage/net-vpn/pcoip-client-24.03.2/work
>>> Unpacking libprotobuf23_3.12.4-1ubuntu7_amd64.deb to /var/tmp/portage/net-vpn/pcoip-client-24.03.2/work
>>> Unpacking libhiredis0.14_0.14.1-2_amd64.deb to /var/tmp/portage/net-vpn/pcoip-client-24.03.2/work
>>> Source unpacked in /var/tmp/portage/net-vpn/pcoip-client-24.03.2/work
>>> Preparing source in /var/tmp/portage/net-vpn/pcoip-client-24.03.2/work ...
patchelf: getting info about 'usr/bin/pcoip-client': No such file or directory
* ERROR: net-vpn/pcoip-client-24.03.2::local failed (prepare phase):
* Failed to set rpath
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 1395: Called die
* The specific snippet of code:
* patchelf --set-rpath '$ORIGIN/../lib64/pcoip-client' usr/bin/pcoip-client || die "Failed to set rpath";
*
* If you need support, post the output of `emerge --info '=net-vpn/pcoip-client-24.03.2::local'`,
* the complete build log and the output of `emerge -pqv '=net-vpn/pcoip-client-24.03.2::local'`.
* The complete build log is located at '/var/tmp/portage/net-vpn/pcoip-client-24.03.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-vpn/pcoip-client-24.03.2/temp/environment'.
* Working directory: '/var/tmp/portage/net-vpn/pcoip-client-24.03.2/work'
* S: '/var/tmp/portage/net-vpn/pcoip-client-24.03.2/work'
|
My understanding is that usr/bin/pcoip-client should be created by the script, but it is not.
How can I fix that?
Thanks. |
|
Back to top |
|
|
LucaSaiani n00b
Joined: 30 May 2021 Posts: 5
|
Posted: Sun Jun 30, 2024 3:44 pm Post subject: |
|
|
I managed to having a working ebuild: the emerge ends without errors or warnings.
When I try to run pcoip-client, I get this:
Code: | ▶pcoip-client
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: minimal, offscreen, wayland-egl, wayland, xcb.
|
|
|
Back to top |
|
|
|