pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kermit does not compile in las pkgsrc

On Fri, 19 Jul 2019, at 16:41:01 +0200, Pierre Dupond wrote:
> Hi All,
>         As you can see in the following log, kermit does not compile
> on Linux (Devuan in that case which is the Debian without
> systemd). I have get the same problem under PureOS (an other
> variant of Debian).
> Do you have an idea why? 
> Fortunately, a binary for kermit
> is available on kermit site but it would be nice if it would compile
> under pkgsrc.


I can duplicate this build failure on Fedora 29 (though not on Debian
9.9). Please try the following patch, and test Kermit if possible.
(We may want to fix this differently in pkgsrc, but this should get it
to build for you. Kermit is assuming a particular incarnation of glibc
indicates a Linux environment, which doesn't hold true.)

Index: Makefile
RCS file: /cvsroot/pkgsrc/comms/kermit/Makefile,v
retrieving revision 1.89
diff -u -r1.89 Makefile
--- Makefile    5 Mar 2016 11:28:10 -0000       1.89
+++ Makefile    19 Jul 2019 21:47:24 -0000
@@ -55,6 +55,7 @@
 .  endif
 .elif ${OPSYS} == "Linux"
+KFLAGS+=       -D_IO_file_flags
 .  if ${CURSES_TYPE} == "ncurses"


Home | Main Index | Thread Index | Old Index