C-kermit version 8.0.211 is available in the tree. The current version available from http://www.kermitproject.org/ck90.html is 9.0.302 - it would be good to have the current version available. The 9.0.302 build reasonably cleanly on current gentoo using 'linux' target (not 'linuxa' as in 8.0.211), but the ebuild needs to be tweaked to get it working correctly. Reproducible: Always
It fails to install for me: >>> Install ckermit-9.0.302 into /var/tmp/portage/app-misc/ckermit-9.0.302/image/ category app-misc make -j5 DESTDIR=/var/tmp/portage/app-misc/ckermit-9.0.302/image/ BINDIR=/usr/bin MANDIR=/var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/share/man/man1 MANEXT=1 install Installing C-Kermit version 9.0.302... DESTDIR=/var/tmp/portage/app-misc/ckermit-9.0.302/image/ /var/tmp/portage/app-misc/ckermit-9.0.302/image/ exists...\n BINARY=wermit -rwxr-xr-x 1 root root 2227937 Mar 17 12:17 wermit /var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/bin exists... Kermit binary installed: -rwxr-xr-x 1 root root 334 Mar 17 12:17 /var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/bin/ckermit.ini -rwxr-xr-x 1 root root 2227937 Mar 17 12:17 /var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/bin/kermit lrwxrwxrwx 1 root root 63 Mar 17 12:17 /var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/bin/kermit-sshsub -> /var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/bin/kermit WARNING: If C-Kermit is to be used for dialing out, you must change its owner and group and permissions to match the 'cu' program. See the ckuins.txt file for details. MANDIR=/var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/share/man/man1 Creating /var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/share/man/man1... mkdir: cannot create directory `/var/tmp/portage/app-misc/ckermit-9.0.302/image//usr/share/man/man1': File exists make: *** [install] Error 1 * ERROR: app-misc/ckermit-9.0.302 failed (install phase): * emake failed * * If you need support, post the output of 'emerge --info =app-misc/ckermit-9.0.302', * the complete build log and the output of 'emerge -pqv =app-misc/ckermit-9.0.302'. * The complete build log is located at '/var/log/portage/build/app-misc/ckermit-9.0.302:20120317-111750.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/ckermit-9.0.302/temp/environment'. * S: '/var/tmp/portage/app-misc/ckermit-9.0.302/work'
Created attachment 305691 [details] build.log
Perhaps I should have put it differently: C-kermit 9.0.302 builds cleanly and works fine on current gentoo, but the ebuild needs tweaking. One of the things is that the binary is called 'wermit' and 'BINARY' variable in the makefile is used only in the install target, not for the actual building. The issue with mkdir is another problem in the makefile. I suppose these could be patched and submitted to the upstream - the development appears to be active on this version. I started looking into generating an ebuild, but so far didn't have time to finish it properly
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43138c41b9334e85b5e80508eda81cdeecf0d4b6 commit 43138c41b9334e85b5e80508eda81cdeecf0d4b6 Author: Tim Harder <radhermit@gentoo.org> AuthorDate: 2019-01-04 05:08:29 +0000 Commit: Tim Harder <radhermit@gentoo.org> CommitDate: 2019-01-04 05:11:43 +0000 app-misc/ckermit: version bump to 9.0.302 Closes: https://bugs.gentoo.org/408335 Closes: https://bugs.gentoo.org/669332 Signed-off-by: Tim Harder <radhermit@gentoo.org> app-misc/ckermit/Manifest | 1 + app-misc/ckermit/ckermit-9.0.302.ebuild | 76 +++++++++++++++++ .../ckermit/files/ckermit-9.0.302-cleanup.patch | 94 ++++++++++++++++++++++ 3 files changed, 171 insertions(+)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b191430fb39de48b5f6397e67c0b93bfa3825226 commit b191430fb39de48b5f6397e67c0b93bfa3825226 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-24 01:33:35 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-24 01:33:35 +0000 app-misc/ckermit: pass -std=gnu89 for old 9.x I just revbupmed 9.x for the LICENSE fix but it won't be buildable without this. Bug: https://bugs.gentoo.org/408335 Bug: https://bugs.gentoo.org/870787 Bug: https://bugs.gentoo.org/920452 Signed-off-by: Sam James <sam@gentoo.org> app-misc/ckermit/ckermit-9.0.302-r1.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=278c31b5efddd36295d8922de5aa3981804862d9 commit 278c31b5efddd36295d8922de5aa3981804862d9 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-24 00:53:26 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-24 01:25:47 +0000 app-misc/ckermit: update LICENSE Per https://www.kermitproject.org/ck90.html, >=ckermit-9 is distributed under (what we call) "BSD": > As of version 9.0, C-Kermit has an Open Source license, the Revised 3-Clause BSD License. > Everybody can use it as they wish for any purpose, including redistribution and resale. > It may be included with any operating system where it works or can be made to work, > including both free and commercial versions of Unix and OpenVMS. It seems this goes back to 2011. Bug: https://bugs.gentoo.org/408335 Signed-off-by: Sam James <sam@gentoo.org> ...ermit-10.0.414_beta11.ebuild => ckermit-10.0.414_beta11-r1.ebuild} | 2 +- .../ckermit/{ckermit-9.0.302.ebuild => ckermit-9.0.302-r1.ebuild} | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c749e1f027211b135c63ff4166bd623c60de8dc commit 8c749e1f027211b135c63ff4166bd623c60de8dc Author: Sam James <sam@gentoo.org> AuthorDate: 2025-03-24 02:02:32 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-24 02:02:32 +0000 licenses: drop Kermit Since 278c31b5efddd36295d8922de5aa3981804862d9, this is unused. Bug: https://bugs.gentoo.org/408335 Signed-off-by: Sam James <sam@gentoo.org> licenses/Kermit | 106 -------------------------------------------------------- 1 file changed, 106 deletions(-)