Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DTLS build failure: make[2]: *** No rule to make target '../../runtime/lmnsd_ossl.la', needed by 'imdtls.la'. Stop. #5339

Open
mbiebl opened this issue Feb 27, 2024 · 0 comments

Comments

@mbiebl
Copy link
Contributor

mbiebl commented Feb 27, 2024

Version: 8.2402.0

Runnig ./configure --enable-imdtls --enable-omdtls succeeds with

****************************************************
rsyslog will be compiled with the following settings:

    Large file support enabled:               yes
    Networking support enabled:               yes
    Regular expressions support enabled:      yes
    rsyslog runtime will be built:            yes
    rsyslogd will be built:                   yes
    have to generate man pages:               yes
    Unlimited select() support enabled:       no
    uuid support enabled:                     yes
    Log file signing support via KSI LS12:    no
    Log file encryption support:              yes
    Log file compression via zstd support:    no
    anonymization support enabled:            no
    message counting support enabled:         no
    liblogging-stdlog support enabled:        no
    libsystemd enabled:                       yes
    kafka static linking enabled:             no
    qpid proton static linking enabled:       no
    atomic operations enabled:                yes
    libcap-ng support enabled:                no

---{ input plugins }---
    Klog functionality enabled:               yes (linux)
    /dev/kmsg functionality enabled:          no
    plain tcp input module enabled:           no
    DTLS udp input module enabled:            yes
    imdiag enabled:                           no
    file input module enabled:                no
    docker log input module enabled:          no
    Solaris input module enabled:             no
    periodic statistics module enabled:       no
    imczmq input module enabled:              no
    imjournal input module enabled:           no
    imbatchreport input module enabled:       no
    imkafka module will be compiled:          no
    impcap input module enabled:              no
    imtuxedoulog module will be compiled:     no
    improg input module enabled:              no
    imhttp input module enabled:              no
    imhiredis input module enabled:           no

---{ output plugins }---
    Mail support enabled:                     no
    omfile-hardened module will be compiled:  no
    omprog module will be compiled:           no
    omstdout module will be compiled:         no
    omjournal module will be compiled:        no
    omhdfs module will be compiled:           no
    omelasticsearch module will be compiled:  no
    omclickhouse module will be compiled:     no
    omhttp module will be compiled:           no
    omruleset module will be compiled:        no
    omudpspoof module will be compiled:       no
    omuxsock module will be compiled:         no
    omczmq module will be compiled:           no
    omrabbitmq module will be compiled:       no
    omhttpfs module will be compiled:         no
    omamqp1 module will be compiled:          no
    omtcl module will be compiled:            no
    omkafka module will be compiled:          no
    omhiredis module will be compiled:        no
    omazureeventhubs module will be compiled: no
    omdtls module will be compiled:           yes

---{ parser modules }---
    pmlastmsg module will be compiled:        no
    pmcisconames module will be compiled:     no
    pmciscoios module will be compiled:       no
    pmnull module will be compiled:           no
    pmnormalize module will be compiled:      no
    pmaixforwardedfrom module w.be compiled:  no
    pmsnare module will be compiled:          no
    pmdb2diag module will be compiled:        no
    pmpanngfw module will be compiled:        no

---{ message modification modules }---
    mmnormalize module will be compiled:      no
    mmjsonparse module will be compiled:      no
    mmgrok module will be compiled:           no
    mmjaduit module will be compiled:         no
    mmsnmptrapd module will be compiled:      no
    mmutf8fix enabled:                        no
    mmrfc5424addhmac enabled:                 no
    mmpstrucdata enabled:                     no
    mmsequence enabled:                       no
    mmdblookup enabled:                       no
    mmdarwin enabled:                         no
    mmfields enabled:                         no
    mmrm1stspace module enabled:              no
    mmkubernetes enabled:                     no
    mmtaghostname enabled:                    no

---{ database support }---
    MySql support enabled:                    no
    libdbi support enabled:                   no
    PostgreSQL support enabled:               no
    mongodb support enabled:                  no
    hiredis support enabled:                  no

---{ protocol support }---
    openssl network stream driver enabled:    no
    GnuTLS network stream driver enabled:     no
    GSSAPI Kerberos 5 support enabled:        no
    RELP support enabled:                     no
    SNMP support enabled:                     no

---{ function modules }---
    fmhttp enabled:                           yes
    fmhash enabled:                           yes
    fmhash with xxhash enabled:               no
    fmunflatten enabled:                      no
    ffaup enabled:                            no

---{ debugging support }---
    distcheck workaround enabled:             no
    Testbench enabled:                        no
    valgrind tests enabled:                   
    valgrind helgrind tests enabled:          yes
    Default tests enabled:                    yes
    Testbench libfaketime tests enabled:      no
    Extended Testbench enabled:               no
    MySQL Tests enabled:                      no
    Elasticsearch Tests:                      no
    ClickHouse Tests:                         no
    PostgreSQL Tests enabled:                 no
    Kafka Tests enabled:                      no
    Redis Tests enabled:                      no
    Omazureeventhubs Tests enabled:           no
    Imdocker Tests enabled:                   no
    gnutls tests enabled:                     no
    imfile tests enabled:                     no
    systemd journal tests enabled:            no
    SNMP Tests enabled:                       no
    Debug mode enabled:                       yes
    (total) debugless mode enabled:           no
    Diagnostic tools enabled:                 no
    End-User tools enabled:                   no
    Valgrind support settings enabled:        no

The resulting build fails though:

Making all in plugins/imdtls
make[2]: Entering directory '/home/michael/git/rsyslog/plugins/imdtls'
make[2]: *** No rule to make target '../../runtime/lmnsd_ossl.la', needed by 'imdtls.la'.  Stop.
make[2]: Leaving directory '/home/michael/git/rsyslog/plugins/imdtls'
make[1]: *** [Makefile:936: all-recursive] Error 1
make[1]: Leaving directory '/home/michael/git/rsyslog'
make: *** [Makefile:784: all] Error 2

It appears, DTLS support requires --enable-openssl

configure.ac should catch this and fail if --enable-openssl is not passed to ./configure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant