Bug 374347 - Installation of ksendbugmail.exe conflicts with related KDE4 package
Summary: Installation of ksendbugmail.exe conflicts with related KDE4 package
Status: ASSIGNED
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 5.29.0
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks: 373928
  Show dependency treegraph
 
Reported: 2016-12-30 17:52 UTC by Ralf Habacker
Modified: 2022-02-13 20:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ralf Habacker 2016-12-30 17:52:38 UTC
On Windows builds of kxmlgui the tool ksendbugmail.exe is installed in <install-root>/bin which conflicts with the related tools from kdelibs4.

   file /usr/i686-w64-mingw32/sys-root/mingw/bin/ksendbugmail.exe from install of mingw32-libKF5XmlGui5-5.26.0-3.1.noarch conflicts with file from package mingw32-kdelibs4-4.14.60-11.4.noarch

Looking into the package source: 

  src/ksendbugmail/CMakeLists.txt:21:install(TARGETS ksendbugmail DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF5} )

ksendbugmail is installed into KDE_INSTALL_LIBEXECDIR_KF5, which seems to be set on Windows to 'bin'. At KDE4 times all executables are installed in <install-root>/bin to be findable by dbus services. This requirement is valid for KF5 too so it is required to install the tool with another name ksendbugmail5.exe on Windows.
Comment 1 Ralf Habacker 2020-09-10 22:38:18 UTC
(In reply to Ralf Habacker from comment #0)
> On Windows builds of kxmlgui the tool ksendbugmail.exe is installed in
> <install-root>/bin which conflicts with the related tools from kdelibs4.
> 
>    file /usr/i686-w64-mingw32/sys-root/mingw/bin/ksendbugmail.exe from
> install of mingw32-libKF5XmlGui5-5.26.0-3.1.noarch conflicts with file from
> package mingw32-kdelibs4-4.14.60-11.4.noarch
> 
> Looking into the package source: 
> 
>   src/ksendbugmail/CMakeLists.txt:21:install(TARGETS ksendbugmail
> DESTINATION ${KDE_INSTALL_LIBEXECDIR_KF5} )
> 
> ksendbugmail is installed into KDE_INSTALL_LIBEXECDIR_KF5, which seems to be
> set on Windows to 'bin'. At KDE4 times all executables are installed in
> <install-root>/bin to be findable by dbus services. This requirement is
> valid for KF5 too so it is required to install the tool with another name
> ksendbugmail5.exe on Windows.

fixed at https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-kxmlgui and https://build.opensuse.org/package/show/windows:mingw:win64/mingw64-kxmlgui.

The remaining topic is to check if the required changes are applied upstream.
Comment 2 Ralf Habacker 2020-09-10 22:43:14 UTC
(In reply to Ralf Habacker from comment #1)
> The remaining topic is to check if the required changes are applied upstream.

This is not the case - see https://invent.kde.org/frameworks/kxmlgui/-/blob/master/src/ksendbugmail/CMakeLists.txt
Comment 3 Bug Janitor Service 2021-03-03 08:33:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kxmlgui/-/merge_requests/47