Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68477 - [knotifications] Missing libxtst dependency in PKGBUILD

Attached to Project: Arch Linux
Opened by Jensen McKenzie (your_doomsday) - Friday, 30 October 2020, 13:10 GMT
Last edited by Antonio Rojas (arojas) - Friday, 30 October 2020, 14:17 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Current PKGBUILD doesn't list 'libxtst' as dependency which makes building in clean chroot fail:

[100%] Linking CXX executable ../bin/gwenview
/usr/bin/ld: warning: libXtst.so.6, needed by /usr/lib/libKF5Notifications.so.5.75.0, not found (try using -rpath or -rpath-link)
/usr/bin/ld: /usr/lib/libKF5Notifications.so.5.75.0: undefined reference to `XTestFakeKeyEvent'
/usr/bin/ld: /usr/lib/libKF5Notifications.so.5.75.0: undefined reference to `XTestQueryExtension'
collect2: error: ld returned 1 exit status
make[2]: *** [app/CMakeFiles/gwenview.dir/build.make:618: bin/gwenview] Error 1
make[1]: *** [CMakeFiles/Makefile2:1678: app/CMakeFiles/gwenview.dir/all] Error 2
make: *** [Makefile:149: all] Error 2


While checking '/usr/bin/gwenview' binary from current package with 'ldd' it shows that it's linked with 'libXtst.so.6' which means current package wasn't build in clean chroot which is why this issue wasn't detected before:

ldd /usr/bin/gwenview |grep -i libxt
libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00006219f9b7b000)

Adding 'libxtst' to 'depends' in PKGBUILD solves this issue.

Additional info:
* package version(s): gwenview 20.08.2-1

Steps to reproduce:

Try building current PKGBUILD in clean chroot.
This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 30 October 2020, 14:17 GMT
Reason for closing:  Fixed
Additional comments about closing:  knotifications 5.75.0-2

Loading...