Debian 11 / Bullseye

  • Hallo zusammen,


    hat schon jemand versucht PD-Admin (Reihe 8) auf Debian 11 zu installieren? Ein neues System jetzt noch mit Debian 10 zu installieren scheint mir suboptimal.

    Bei mir scheitert die Installation mit folgendem Fehler:

    Code
    make: *** [Makefile:395: ezmlm-get] Error 1
    kann ezmlm nicht installieren
    qmail2.sh failed


    Gruß

    Patrick

  • Ja, den Thread habe ich mir extra vor der Installation gesucht. Die Pakete sind alle installiert.

    Wielange ist bei dir die Installation denn her?

  • ./compile ezmlm-cgi.c

    In file included from ezmlm-cgi.c:24:

    substdio.h:12:64: warning: initialization of 'int (*)()' from incompatible pointer type 'ssize_t (*)(int, const void *, size_t)' {aka 'long int (*)(int, const void *, long unsigned int)'} [-Winco

    mpatible-pointer-types]

    12 | #define SUBSTDIO_FDBUF(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }

    | ^

    ezmlm-cgi.c:177:25: note: in expansion of macro 'SUBSTDIO_FDBUF'

    177 | static substdio ssout = SUBSTDIO_FDBUF(write,1,outbuf,sizeof(outbuf));

    | ^~~~~~~~~~~~~~

    substdio.h:12:64: note: (near initialization for 'ssout.op')

    12 | #define SUBSTDIO_FDBUF(op,fd,buf,len) { (buf), 0, (len), (fd), (op) }

    | ^

    ezmlm-cgi.c:177:25: note: in expansion of macro 'SUBSTDIO_FDBUF'

    177 | static substdio ssout = SUBSTDIO_FDBUF(write,1,outbuf,sizeof(outbuf));

    | ^~~~~~~~~~~~~~

    ezmlm-cgi.c: In function 'show_index':

    ezmlm-cgi.c:962:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    962 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cgi.c:24:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-cgi.c: In function 'show_object':

    ezmlm-cgi.c:1068:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    1068 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cgi.c:24:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-cgi.c: In function 'show_message':

    ezmlm-cgi.c:1576:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    1576 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cgi.c:24:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-cgi.c: In function 'msg2hash':

    ezmlm-cgi.c:1686:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    1686 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cgi.c:24:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-cgi.c: In function 'setmsg':

    ezmlm-cgi.c:1745:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    1745 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cgi.c:24:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-cgi.c: In function 'main':

    ezmlm-cgi.c:2074:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    2074 | substdio_fdbuf(&ssin,read,fd,inbuf,sizeof(inbuf)); /* set up buffer */

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cgi.c:24:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ./load ezmlm-cgi -lezmlm

    ./compile ezmlm-clean.c

    ezmlm-clean.c: In function 'sendnotice':

    ezmlm-clean.c:104:30: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    104 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from qmail.h:4,

    from ezmlm-clean.c:15:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-clean.c:146:30: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    146 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from qmail.h:4,

    from ezmlm-clean.c:15:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ./load ezmlm-clean -lezmlm

    ./compile ezmlm-confirm.c

    ezmlm-confirm.c: In function 'main':

    ezmlm-confirm.c:197:28: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    197 | substdio_fdbuf(&sstext,read,fd,textbuf,sizeof(textbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from qmail.h:4,

    from ezmlm-confirm.c:19:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ./load ezmlm-confirm -lezmlm

    ./compile ezmlm-cron.c

    ezmlm-cron.c: In function 'main':

    ezmlm-cron.c:214:24: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    214 | substdio_fdbuf(&ssin,read,fdin,inbuf,sizeof(inbuf));

    | ^~~~

    | |

    | ssize_t (*)(int, void *, size_t) {aka long int (*)(int, void *, long unsigned int)}

    In file included from ezmlm-cron.c:9:

    substdio.h:14:46: note: expected 'int (*)()' but argument is of type 'ssize_t (*)(int, void *, size_t)' {aka 'long int (*)(int, void *, long unsigned int)'}

    14 | extern void substdio_fdbuf(substdio *s,int (*op)(),int fd,char *buf,int len);

    | ~~~~~~^~~~~

    ezmlm-cron.c:248:27: warning: passing argument 2 of 'substdio_fdbuf' from incompatible pointer type [-Wincompatible-pointer-types]

    248 | substdio_fdbuf(&ssout,write,1,outbuf,sizeof(outbuf));

    | ^~~~~

    | |

    | ssize_t (*)(int, const void *, size_t) {aka long int (*)(int, const void *, long unsigned int)}

  • Ja, exakt der gleiche Fehler


  • Wenn der folgende Patch vor der Installation eingespielt wird, dann sollte die Installation durchlaufen. Der Patch wird in die kommende Version aufgenommen.

    Diff
    --- qmail2.sh_ 2020-07-28 18:10:01.000000000 +0200
    +++ qmail2.sh 2021-07-05 15:40:22.125721873 +0200
    @@ -670,6 +670,8 @@ cd ezmlm-0.53 patch < idx.patch echo de > conf-lang
    +{ echo "cc -O2 -g -fcommon"; cat conf-cc; } >| conf-cc.new
    +mv conf-cc.new conf-cc make && make man && make setup || { echo "kann ezmlm nicht installieren"
  • Kann es sein, dass der Patch nicht ganz korrekt ist?

    Bekommst du auch


    Code
    Hmm... Looks like a unified diff to me...
    The text leading up to this was:
    --------------------------
    |--- qmail2.sh_ 2020-07-28 18:10:01.000000000 +0200
    |+++ qmail2.sh 2021-07-05 15:40:22.125721873 +0200
    --------------------------
    patching file qmail2.sh
    Using Plan A...
    patch: **** unexpected end of file in patch

    ?

  • Hallo,


    se-8-0.386: qmail kann jetzt ohne Fehler kompiliert werden


    se-8-0.387: qmail kann jetzt ohne Fehler kompiliert werden, es erscheint aber folgende Fehlermeldung:

    Code
    /usr/local/pd-admin2/bin/mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    so unbekannt ist der Fehler nicht … error while loading shared libraries: libtinfo.so.5 bzw. libtermcap.so.2


    mfg

    Twilo

  • se-8-0.387: qmail kann jetzt ohne Fehler kompiliert werden, es erscheint aber folgende Fehlermeldung:

    Code
    /usr/local/pd-admin2/bin/mysql: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory

    so unbekannt ist der Fehler nicht … error while loading shared libraries: libtinfo.so.5 bzw. libtermcap.so.2


    mfg

    Twilo

    Die Frage war doch, ob qmail kompiliert werden kann. Offenbar ja.


    Wann genau tritt diese Fehlermeldung auf? Tritt sie in Zusammenhang mit dem Kompilieren auf oder an anderer Stelle? Das Paket gibt es offenbar auch für Debian 11 (Link). Wurde dies im Vorfeld installiert?