FS#65265 - [dolphin-emu] provides weird files from vendored dependency
Attached to Project:
Community Packages
Opened by Krzysztof Krakowiak (pix3l) - Saturday, 25 January 2020, 09:15 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 03 February 2020, 17:03 GMT
Opened by Krzysztof Krakowiak (pix3l) - Saturday, 25 January 2020, 09:15 GMT
Last edited by Maxime Gauduin (Alucryd) - Monday, 03 February 2020, 17:03 GMT
|
Details
Description:
dolphin-emu should be build-dependant on discord-rpc-api and not provide it's headers files: discord-rpc-api: /usr/include/discord_register.h exists in filesystem (owned by dolphin-emu) discord-rpc-api: /usr/include/discord_rpc.h exists in filesystem (owned by dolphin-emu) Additional info: * package version(s) community/dolphin-emu 1:5.0.r11530.ea9b96370d-1 * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: # pacman -S discord-rpc-api resolving dependencies... looking for conflicting packages... Package (1) New Version Net Change Download Size chaotic-aur/discord-rpc-api 3.4.0-0 0,09 MiB 0,04 MiB Total Download Size: 0,04 MiB Total Installed Size: 0,09 MiB :: Proceed with installation? [Y/n] y :: Retrieving packages... discord-rpc-api-3.4.0-0-x86_64 38,7 KiB 112 KiB/s 00:00 [###########################################################################] 100% (1/1) checking keys in keyring [###########################################################################] 100% (1/1) checking package integrity [###########################################################################] 100% (1/1) loading package files [###########################################################################] 100% (1/1) checking for file conflicts [###########################################################################] 100% error: failed to commit transaction (conflicting files) discord-rpc-api: /usr/include/discord_register.h exists in filesystem (owned by dolphin-emu) discord-rpc-api: /usr/include/discord_rpc.h exists in filesystem (owned by dolphin-emu) Errors occurred, no packages were upgraded. |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Monday, 03 February 2020, 17:03 GMT
Reason for closing: Fixed
Additional comments about closing: 1:5.0.r11617.0491831483-1
Monday, 03 February 2020, 17:03 GMT
Reason for closing: Fixed
Additional comments about closing: 1:5.0.r11617.0491831483-1
you can simply add rm -rf "$pkgdir/usr/include/discord*"
The ACTUAL issue is that the package has "strange" headers being installed, and also a static library, for utterly no reason.
The problem can and should be solved by properly moving the package's dependencies to the repos, and properly building the package against system copies of the dependency.