Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946709 - [guru] gui-apps/packettracer-8.2.2::guru doesn't set RPATH appropriately to find the libs it bundles
Summary: [guru] gui-apps/packettracer-8.2.2::guru doesn't set RPATH appropriately to f...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-20 14:32 UTC by mingdao
Modified: 2024-12-21 15:24 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info,6.46 KB, text/plain)
2024-12-20 14:35 UTC, mingdao
Details
ldd /opt/pt/bin/PacketTracer (ldd-PacketTracer,2.65 KB, text/plain)
2024-12-20 14:36 UTC, mingdao
Details
ls -1 /opt/pt/bin/ (ls-opt-pt-bin-files,960 bytes, text/plain)
2024-12-20 14:37 UTC, mingdao
Details
lddtree /opt/pt/bin/PacketTracer (ldd-PacketTracer,2.39 KB, text/plain)
2024-12-20 14:42 UTC, mingdao
Details
strace -o strace.log /usr/bin/packettracer (strace.log,12.66 KB, text/plain)
2024-12-20 19:25 UTC, mingdao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mingdao 2024-12-20 14:32:50 UTC
This package builds from a Debian binary package Packet_Tracer822_amd64_signed.deb which includes all the libraries.  The /opt/pt/bin/PacketTracer executable is looking for them in /opt/pt/bin/

Reproducible: Always

Steps to Reproduce:
1. eselect repository add guru git https://data.gpo.zugaina.org/guru/
2. eselect repository enable guru && emerge --sync
3. echo "gui-apps/packettracer::guru" >> /etc/portage/package.accept_keywords
4. emerge -atv gui-apps/packettracer
5. packettracer (app does not launch)
6. /opt/pt/bin/PacketTracer
Actual Results:  
mingdao@workstation ~ $ packettracer
Starting Packet Tracer 8.2.2
mingdao@workstation ~ $ packettracer -v
Starting Packet Tracer 8.2.2
mingdao@workstation ~ $ /opt/pt/bin/PacketTracer
/opt/pt/bin/PacketTracer: error while loading shared libraries: libQt5NetworkAuth.so.5: cannot open shared object file: No such file or directory
mingdao@workstation ~ $ sudo find / -name libQt5NetworkAuth.so.5
Password:
/opt/pt/bin/libQt5NetworkAuth.so.5
Comment 1 mingdao 2024-12-20 14:35:18 UTC
Created attachment 914497 [details]
emerge --info

emerge --info
Comment 2 mingdao 2024-12-20 14:36:02 UTC
Created attachment 914498 [details]
ldd /opt/pt/bin/PacketTracer
Comment 3 mingdao 2024-12-20 14:37:18 UTC
Created attachment 914499 [details]
ls -1 /opt/pt/bin/
Comment 4 mingdao 2024-12-20 14:42:46 UTC
Created attachment 914500 [details]
lddtree /opt/pt/bin/PacketTracer
Comment 5 Takuya Wakazono 2024-12-20 16:39:02 UTC
It should be fixed once https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf45516a607f0a6e5e8b0b50b7fb037a47574ef8 is merged into master.

By the way, you cannot launch /opt/pt/bin/PacketTracer directly because LD_LIBRARY_PATH is set in /usr/bin/packettracer.
Comment 6 mingdao 2024-12-20 19:25:11 UTC
Created attachment 914521 [details]
strace -o strace.log /usr/bin/packettracer
Comment 7 Larry the Git Cow gentoo-dev 2024-12-21 15:24:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf45516a607f0a6e5e8b0b50b7fb037a47574ef8

commit cf45516a607f0a6e5e8b0b50b7fb037a47574ef8
Author:     Takuya Wakazono <pastalian46@gmail.com>
AuthorDate: 2024-12-20 16:29:36 +0000
Commit:     Takuya Wakazono <pastalian46@gmail.com>
CommitDate: 2024-12-20 16:29:36 +0000

    gui-apps/packettracer: fix RDEPEND
    
    Closes: https://bugs.gentoo.org/946709
    Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>

 ...r-8.2.2.ebuild => packettracer-8.2.2-r1.ebuild} | 32 +++++++++++++++++++++-
 1 file changed, 31 insertions(+), 1 deletion(-)