Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895412 - [kde overlay] kde-apps/kate*-9999 file collision /usr/lib64/libkateterminal.so
Summary: [kde overlay] kde-apps/kate*-9999 file collision /usr/lib64/libkateterminal.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Overlays (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-19 13:47 UTC by jospezial
Modified: 2023-03-23 16:06 UTC (History)
1 user (show)

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


Attachments
kate-addons-9999 build.log (build.log,74.09 KB, text/plain)
2023-02-23 21:34 UTC, jospezial
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2023-02-19 13:47:11 UTC
All 3 kate packages try to install /usr/lib64/libkateterminal.so
That causes a file collision.

https://invent.kde.org/utilities/kate/-/commit/92cf0792fbf05a30f8bffb327d0da7c04071b2ef
"Introduce new terminal that works on windows/mac/linux"

Please delete that file in 2 of the ebuilds.
Comment 1 Andreas Sturmlechner gentoo-dev 2023-02-23 19:33:19 UTC
I am rather going to disable build entirely. konsolepart should continue to work.
Comment 2 Larry the Git Cow gentoo-dev 2023-02-23 20:25:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=7948b833ad1750c8fc5d69401c2bd8eadccac264

commit 7948b833ad1750c8fc5d69401c2bd8eadccac264
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-23 19:37:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-23 19:37:39 +0000

    kde-apps/kate: Disable libkateterminal
    
    Upstream commit 44aa2093daf4d28986ec8a76fad7b855c2e87ddc
    
    Closes: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate/kate-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=d0f6267dba073a0e425c8abb54444097e8425f22

commit d0f6267dba073a0e425c8abb54444097e8425f22
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-23 19:36:48 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-23 19:36:48 +0000

    kde-apps/kate-lib: Disable libkateterminal
    
    Upstream commit 44aa2093daf4d28986ec8a76fad7b855c2e87ddc
    
    Bug: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate-lib/kate-lib-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=bccd74597ac8bf9287ebe19542e5eb4731ca1bf8

commit bccd74597ac8bf9287ebe19542e5eb4731ca1bf8
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-23 19:32:17 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-23 19:35:11 +0000

    kde-apps/kate-addons: Disable libkateterminal
    
    Upstream commit 44aa2093daf4d28986ec8a76fad7b855c2e87ddc
    
    Bug: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate-addons/kate-addons-9999.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 3 jospezial 2023-02-23 21:34:14 UTC
Created attachment 854200 [details]
kate-addons-9999 build.log

kate and kate-lib install without problems now.
kde-apps/kate-addons-9999 fails now to build.

caused by that commit:
https://invent.kde.org/utilities/kate/-/commit/0ccb6ab7bc1f8f34c095e67df91c053213327e91
"Port Konsole plugin to use KateTerminalWidget as fallback"

In file included from /var/tmp/portage/kde-apps/kate-addons-9999/work/kate-addons-9999_build/addons/konsole/katekonsoleplugin_autogen/EWIEGA46WW/moc_kateconsole.cpp:10,
                 from /var/tmp/portage/kde-apps/kate-addons-9999/work/kate-addons-9999_build/addons/konsole/katekonsoleplugin_autogen/mocs_compilation.cpp:2:
/var/tmp/portage/kde-apps/kate-addons-9999/work/kate-addons-9999_build/addons/konsole/katekonsoleplugin_autogen/EWIEGA46WW/../../../../../kate-addons-9999/addons/konsole/kateconsole.h:16:10: fatal error: KateTerminalWidget.h: No such file or directory
   16 | #include "KateTerminalWidget.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

They merged the commit even with the same error in their CI:
https://invent.kde.org/utilities/kate/-/jobs/781509#L787

Or do I need to recompile konsole or another for the header file?
Comment 4 jospezial 2023-02-23 21:56:21 UTC
The header file is at:
/var/tmp/portage/kde-apps/kate-addons-9999/work/kate-addons-9999/libkateterminal/KateTerminalWidget.h

KateTerminalWidget.h is not installed by another package.
Comment 5 Larry the Git Cow gentoo-dev 2023-02-25 10:48:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=8bba6b1aad29030945461250cefe92acfc7367ba

commit 8bba6b1aad29030945461250cefe92acfc7367ba
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-25 10:46:39 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-25 10:46:39 +0000

    kde-apps/kate-addons: Use libkateterminal from kate-lib
    
    Required by projects and konsole addons.
    
    Closes: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate-addons/kate-addons-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=1ae2564f73f47933bb8b465af4c948b359532d81

commit 1ae2564f73f47933bb8b465af4c948b359532d81
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-02-25 10:37:47 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-02-25 10:37:47 +0000

    kde-apps/kate-lib: Add new dependency, build libkateterminal
    
    Upstream commit 12ecf0848753737de57a39a820eef68476a92b8f
    
    Bug: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate-lib/kate-lib-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 6 jospezial 2023-03-18 21:23:53 UTC
https://invent.kde.org/utilities/kate/-/commit/b1d9bfe390d1571f531e2afec26e249e396d1cec
"remove own terminal widget in favor of Konsole
now that Konsole works on Windows this is no longer needed"


removed '/var/tmp/portage/kde-apps/kate-addons-9999/image/usr/lib64/libkateprivate.so.23.07.70'
rm: cannot remove '/var/tmp/portage/kde-apps/kate-addons-9999/image/usr/lib64/libkateterminal.so*': No such file or directory
 * ERROR: kde-apps/kate-addons-9999::kde failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 136:  Called src_install
 *   environment, line 3127:  Called die
 * The specific snippet of code:
 *       rm -v "${ED}"/usr/$(get_libdir)/libkateterminal.so* || die
Comment 7 Andreas Sturmlechner gentoo-dev 2023-03-23 15:50:17 UTC
I hope it was worth it for them...
Comment 8 Larry the Git Cow gentoo-dev 2023-03-23 16:06:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=780f5d250a6dca68d73566573512f6cdbbce86c3

commit 780f5d250a6dca68d73566573512f6cdbbce86c3
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-03-23 15:57:13 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-03-23 16:05:54 +0000

    kde-apps/kate: Revert "Disable libkateterminal"
    
    This reverts commit 7948b833ad1750c8fc5d69401c2bd8eadccac264.
    
    Upstream commit b5d66fe500936d213090391c7af32a3a0c4c27bb
    
    Closes: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate/kate-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/kde.git/commit/?id=08775899727500525f5a14905603948f78423e3d

commit 08775899727500525f5a14905603948f78423e3d
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-03-23 15:59:28 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-03-23 16:05:54 +0000

    kde-apps/kate-addons: Revert "Use libkateterminal from kate-lib"
    
    This reverts commit 8bba6b1aad29030945461250cefe92acfc7367ba and
    bccd74597ac8bf9287ebe19542e5eb4731ca1bf8.
    
    Upstream commit b5d66fe500936d213090391c7af32a3a0c4c27bb
    
    Bug: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate-addons/kate-addons-9999.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

https://gitweb.gentoo.org/proj/kde.git/commit/?id=1c2e886010b744f1d5cb2a24ffc49064ab2e2512

commit 1c2e886010b744f1d5cb2a24ffc49064ab2e2512
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2023-03-23 15:53:58 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2023-03-23 16:00:50 +0000

    kde-apps/kate-lib: Revert "Add new dependency, build libkateterminal"
    
    This reverts commit 1ae2564f73f47933bb8b465af4c948b359532d81 and
    d0f6267dba073a0e425c8abb54444097e8425f22.
    
    Upstream commits:
    b5d66fe500936d213090391c7af32a3a0c4c27bb
    94f9efd376b50176a09efb24b443636bb9eb0413
    
    Bug: https://bugs.gentoo.org/895412
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 kde-apps/kate-lib/kate-lib-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)