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(+)