Hi!^^^^^^^^
I want to use ifcico on Debian unstable, <snip>
Hi!
I want to use ifcico on Debian unstable, but when
invoking ifcico from mgetty or even directly from
command line, it segfaults.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872507 for details.
I tried also the package from Ubuntu, but the same.
Any tips/hints/advices are appreciated! :-)
Any tips/hints/advices are appreciated! :-)Tried building it from the latest source yourself and see if that
fixes your problem?
Debian source (dpkg-buildpackage -uc -us) as well from the^
included orig.tar.gz, which results in this:
nlindex.h:9:18: fatal error: ndbm.h: No such file or directory
#include <ndbm.h>
Don't know if gdbm-ndbm.h is what ifcico wants, but when I
symlink it, it proceeds:
At least this doesn't seem to be a quick win...
back in FidoNet after 17 years
Well, I tried to build from the Debian source (dpkg-
buildpackage -uc -us) as well from the included
orig.tar.gz, which results in this:
~/temp/ifmail-src/ifmail-2.14tx8.10.orig/ifcico# make
cc -c -Wall -fno-strict-aliasing -iquote . -iquote ../iflib - I/usr/include -DCICOLOG=LOG_LOCAL0 -DMAILLOG=LOG_LOCAL0
-DTERMAIL_HACK -DTPUT_STATUS_HACK -DADD_PID -DLEVEL=0 -
DDONT_REGATE -DSLAVE_SENDS_NAK_TOO -DRNEWSB -DJE - DRESTAMP_OLD_POSTINGS=14 -DBELEIVE_ZFIN=1 -DHAS_TCP -
DAREAS_HACKING -DRESTAMP_FUTURE_POSTINGS -DFSCHTML -
DMACHIGAI -DALLOW_RETURNPATH -DGATEBAU_MSGID -
DDIRTY_CHRS -DHIDDEN -DAREAS_NUMERAL_COMMENTS -
DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES
-DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DNEED_BSY -
DNO_IO_AFTER_HANGUP -DDO_NEED_TIME -DNEED_FORK -
DHAS_BSD_SIGNALS -DHAS_SELECT -DUSE_SETPROCTITLE -
DINT32=long -DINT16=short -D_GNU_SOURCE -DHAVE_LOCALE_H -DNLS_CAT_NAME=\"ifmail\" -
DNLS_LOCALE_PATH=\"/usr/share/locale\" nodelist.c
In file included from nodelist.c:18:0:
nlindex.h:9:18: fatal error: ndbm.h: No such file or directory
#include <ndbm.h>
^
compilation terminated.
Makefile:65: recipe for target 'nodelist.o' failed
make: *** [nodelist.o] Error 1
Don't know if gdbm-ndbm.h is what ifcico wants, but
when I symlink it, it proceeds:
y.tab.c:1423:7: warning: implicit declaration of
function ‘yyerror’ [-Wimplicit-function-declaration]
In file included from flagexp.y:51:0:
lex.yy.c: At top level:
lex.yy.c:650:25: error: macro "yywrap" passed 1
arguments, but takes just 0
In file included from flagexp.y:51:0:
lex.yy.c:1373:16: warning: ‘input’ defined but not
used [-Wunused-function]
lex.yy.c:1330:17: warning: ‘yyunput’ defined but
not used [-Wunused-function]
Makefile:65: recipe for target 'flagexp.o' failed
make: *** [flagexp.o] Error 1
At least this doesn't seem to be a quick win...
Well, do you have an URL for the source tarball? I can build a quick development VM here and try to put together a DEB package for you and post it up on my FTP server for you to download.
really? an entire quote AND top posting??
Well, do you have an URL for the source tarball? I can build a quick[chomp]
development VM here and try to put together a DEB package for you and
post it up on my FTP server for you to download.
really? an entire quote AND top posting??
At least this doesn't seem to be a quick win...Did you apply all the patches? Also you didn't say where you got the source. I tried;
http://http.debian.net/debian/pool/main/i/ifmail/ifmail_2.14tx8.10.ori g.tar.gz http://http.debian.net/debian/pool/main/i/ifmail/ifmail_2.14tx8.10-23. debian.tar.xz
and made sure that all includes where for ndbm.h instead of
gdbm-ndbm.h as well as applied ALL the patches in ./debian/patches/ provided by ifmail_2.14tx8.10-23.debian. The end result (uninstalled since no use for it here) is as follows;
----- ye olde cut n' paste starts
# ls -al ./ifcico/ifcico
-rwxr-xr-x 1 root root 286416 Aug 29 21:46 ./ifcico/ifcico
ldd ./ifcico/ifcico
linux-vdso.so.1 (0x00007ffc84d6f000)
libgdbm_compat.so.4 => /usr/lib/libgdbm_compat.so.4 (0x00007f2fe5263000)
libfl.so.2 => /usr/lib/libfl.so.2 (0x00007f2fe5061000)
libc.so.6 => /lib/libc.so.6 (0x00007f2fe4ce8000)
libgdbm.so.4 => /usr/lib/libgdbm.so.4 (0x00007f2fe4ade000)
libm.so.6 => /lib/libm.so.6 (0x00007f2fe47b3000)
/lib/ld-linux-x86-64.so.2 (0x00007f2fe5466000)
----- ye olde cut n' paste ends
Note those are all 64-bit as it should be in this day and age. ;-)
back in FidoNet after 17 yearsYou should have left the abandonware back there and then. Why the
need for ifcico in this day and age?
Anyhow it should work as I have
bleeding edge development tools here and managed to pull it off. I am guessing you nabbed the wrong debian source. Try ifmail_2.14tx8.10-23
and see if that fixes it.
Well, do you have an URL for the source tarball? I can build a quick development VM here and try to put together a DEB package for you and
post it up on my FTP server for you to download.
But this segfaults as well
libfl and libm are missing.
libfl-dev is already the newest version (2.6.1-1.3)
I want to run my modem line with an EMSI compatible mailer, just
because I like that connecting sound of a modem for some strange
reasons. ;)
it still segfaults
Yes, I used those as well. That's what you get when you run apt-get source ifmail. First I then ran a dpkg-buildpackage -uc -us, which will result in a local rebuild of that Debian package, including all Debian patches. But this segfaults as well, so I tried to build just from orig.tar.gz without Debian patches, because I was asked for "compiling the (upstream) source". It doesn't build that way without major quirks.
I have been using ifcido for at least 17 years to service IP and
Pots. I have server V75 as well for many years, until the ISDN card
broke down. I have used it in 32 bit Debian and now in 64 bit. My
kernel is not very current, so things may have changed.
I have alway had segfaults when some calling options were defined, so
I do not use any "options" in the config file.
As I could live without, I never chased this bug in the software.
Maybe your segfaults have a similar origin.
I have alway had segfaults when some calling options were defined, so
I do not use any "options" in the config file.
As I could live without, I never chased this bug in the software.
Maybe your segfaults have a similar origin.
[chomp]
really? an entire quote AND top posting??
- Because it messes up the order in which people normally read text.
- Why top-posting is considered the most annoying thing in messages?
Also, someone has been reading emails from Peter Moylan with regards
to top posting.
Just be thankful someone is posting AT ALL these days!!!
I want to use ifcico on Debian unstable, but when invoking ifcico from mgetty or even directly from command line, it segfaults.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=872507 for
details.
I tried also the package from Ubuntu, but the same.
Any tips/hints/advices are appreciated! :-)
Hello Robert!
28 Aug 17 20:21, you wrote to me:
Any tips/hints/advices are appreciated! :-)
Tried building it from the latest source yourself and see if that
fixes your problem?
Well, I tried to build from the Debian source (dpkg-buildpackage -uc
-us) as well from the included orig.tar.gz, which results in this:
~/temp/ifmail-src/ifmail-2.14tx8.10.orig/ifcico# make
cc -c -Wall -fno-strict-aliasing -iquote . -iquote ../iflib -I/usr/include -DCICOLOG=LOG_LOCAL0 -DMAILLOG=LOG_LOCAL0
-DTERMAIL_HACK -DTPUT_STATUS_HACK -DADD_PID -DLEVEL=0 -DDONT_REGATE -DSLAVE_SENDS_NAK_TOO -DRNEWSB -DJE -DRESTAMP_OLD_POSTINGS=14 -DBELEIVE_ZFIN=1 -DHAS_TCP -DAREAS_HACKING -DRESTAMP_FUTURE_POSTINGS -DFSCHTML -DMACHIGAI -DALLOW_RETURNPATH -DGATEBAU_MSGID -DDIRTY_CHRS -DHIDDEN -DAREAS_NUMERAL_COMMENTS -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_NDBM_H -DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_IOCTL_H -DHAS_REGEX_H -DNEED_BSY -DNO_IO_AFTER_HANGUP -DDO_NEED_TIME -DNEED_FORK -DHAS_BSD_SIGNALS -DHAS_SELECT -DUSE_SETPROCTITLE -DINT32=long -DINT16=short
-D_GNU_SOURCE -DHAVE_LOCALE_H -DNLS_CAT_NAME=\"ifmail\" -DNLS_LOCALE_PATH=\"/usr/share/locale\" nodelist.c
In file included from nodelist.c:18:0:
nlindex.h:9:18: fatal error: ndbm.h: No such file or directory
#include <ndbm.h>
^
compilation terminated.
Makefile:65: recipe for target 'nodelist.o' failed
make: *** [nodelist.o] Error 1
Don't know if gdbm-ndbm.h is what ifcico wants, but when I symlink it,
it proceeds:
is far older than a mere 17 years. I think it's closer to 30 years
worth of abandoment by now.
Kids these days eh? :::sigh:::
- Because it messes up the order in which people normally read text.
- Why top-posting is considered the most annoying thing in messages?
Kids these days eh? :::sigh:::
you tell me that you have some ? :=)
I have alway had segfaults when some calling options wereYou were right: removing "options" statement from config made ifcico
defined, so I do not use any "options" in the config file.
As I could live without, I never chased this bug in the
software.
Maybe your segfaults have a similar origin.
work without segfaulting.
/var/log/syslog <==Sep 17 16:04:28 amigaxess ifcico[90146]: connect from 93.205.168.x (93.205.168.x)
/var/log/ifmail/ifdebug <==start ifcico ver 2.14-tx8.10 of Mon Dec 26 03:40:59 2016, verbose 0xffffffffffffffff
/var/log/syslog <==Sep 17 16:04:28 amigaxess kernel: [1955593.142710] ifcico[90146]: segfault at 797854 ip 00007fc80edd2646 sp 00007ffd7496b168 error 4 in libc-2.24.so[7fc80ed52000+195000]
You were right: removing "options" statement from config made ifcico
work without segfaulting.
Still having problems with ifcico...
I'm now playing around with ifcico on my server instead behind mgetty, but I still get segfaults, not only from ifcico but also from e.g. ifinfo:
# /usr/lib/ifmail/ifinfo 2:2452/413
globals set in rdconfig:
verbose: 18446744073709551615
logname: /var/log/ifmail/iflog
errname: /var/log/ifmail/iflog
debugfile: /var/log/ifmail/ifdebug
configname: /etc/ifmail/config
configtime: Wed Sep 13 07:42:55 2017
Segmentation fault
/var/log/ifmail/ifdebug lists:
start ifinfo ver 2.14-tx8.10 of Mon Dec 26 03:40:59 2016, verbose 0xffffffffffffffff unrecognizable address "2:2452/413"
0xffffffffffffffff unrecognizable address "2:2452/413"
Compiling the nodelist with nlpatch however does work.
When connecting from my Amiga with Trapdoor via telser.device to my
ifcico
on Linux, something is working and strange enough trapdoor displays my ifcico config. Here's the log of such a connect:
/var/log/syslog <==
Sep 17 16:04:28 amigaxess ifcico[90146]: connect from 93.205.168.x (93.205.168.x)
/var/log/ifmail/ifdebug <==
start ifcico ver 2.14-tx8.10 of Mon Dec 26 03:40:59 2016, verbose 0xffffffffffffffff inbound "**EMSI_INQC816" mode uid=64000,
euid=64000 creating directory tree for
"/var/spool/ftn/inb/tmp/" mkdir("/var") errno 17 mkdir("/var/spool") errno 17 mkdir("/var/spool/ftn") errno 17 mkdir("/var/spool/ftn/inb") errno
17 mkdir("/var/spool/ftn/inb/tmp") errno 17 creating directory tree for "/var/spool/ftn/inb/tmp/" mkdir("/var") errno 17 mkdir("/var/spool") errno 17 mkdir("/var/spool/ftn") errno 17 mkdir("/var/spool/ftn/inb") errno
17 mkdir("/var/spool/ftn/inb/tmp") errno 17 creating directory tree for "/var/spool/ftn/inb/tmp/" mkdir("/var") errno 17 mkdir("/var/spool") errno 17 mkdir("/var/spool/ftn") errno 17 mkdir("/var/spool/ftn/inb") errno
17 mkdir("/var/spool/ftn/inb/tmp") errno 17 getnlent for <none> getnlent returns dummy entry
options: Call Hold PUA WaZOO EMSI Freqs Zmodem ZedZap Janus Hydra Tcp Txy
# /usr/lib/ifmail/ifinfo 2:2452/413It is a long time since I installed IFMAIl, when I try it now, get no output or a segfault when I set a debug level. Apparently I do not use ifinfo.
globals set in rdconfig:
verbose: 18446744073709551615
logname: /var/log/ifmail/iflog
errname: /var/log/ifmail/iflog
debugfile: /var/log/ifmail/ifdebug
configname: /etc/ifmail/config
configtime: Wed Sep 13 07:42:55 2017
Segmentation fault
Apparetly ifcico is not authorised to create the needed directories.
There should be a /var/spool/ directory and in /var/spool/ a
directory ftn owned by user ftn
Take it step by step.
Kids these days eh? :::sigh:::
you tell me that you have some ? :=)Two daughters and four grandchildren -> two girls and two boys.
How about you?
11 cats :)
11 cats :)That is exactly 11 too many.
What took you so long to reply?
The message is over 5 months old.
thay hold me warm in the cold winter period
did you note qico problems with emsi ? :=)
nobody helped me solve it
did you note qico problems with emsi ? :=)
service binkp
{
# ...
server = /usr/sbin/qico
server_args = -a binkp
}
if i change -a binkp to -a auto, then hotdoged hangs, and cant
connect, this is sure a bug in qico, but nobody helped me solve it
I just use a heater. Also have extra blankets on the bed which keeps
me toasty warm when I go to sleep.
did you note qico problems with emsi ? :=)
I never used it as there is absolutely no need for emsi since about 1997-ish when there were still a few dialup nodes in the local area. Back then I used binkleyterm to exchange pkts but had to abandon it
when I became the only Fidonet node on Vancouver Island.
nobody helped me solve itI am not surprised.
You were told to put IBN and IFC daemons on different (preferrably standard) ports. You didn't that, so please don't complaint on being unable to run the mailer in a way it wasn't intended for.
You were told to put IBN and IFC daemons on different (preferrablyso was qico the only server that supported it ?
standard) ports. You didn't that, so please don't complaint on being
unable to run the mailer in a way it wasn't intended for.
you choice you problem
i like to support amiga still
its sad to see that it kills amiga users not yet have binkp
yes i know some buggy binkp exists, but thay are still buggy with
closed source
Sysop: | Nelgin |
---|---|
Location: | Plano, TX |
Users: | 510 |
Nodes: | 10 (1 / 9) |
Uptime: | 121:52:24 |
Calls: | 8,198 |
Calls today: | 5 |
Files: | 15,442 |
Messages: | 913,548 |
Posted today: | 8 |