[asterisk-bugs] [JIRA] (ASTERISK-28789) test_utils: incorrectly printing error 'declined to load'

Alexander Traud (JIRA) noreply at issues.asterisk.org
Tue Mar 24 06:49:25 CDT 2020


Alexander Traud created ASTERISK-28789:
------------------------------------------

             Summary: test_utils: incorrectly printing error 'declined to load'
                 Key: ASTERISK-28789
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28789
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Tests/testsuite
    Affects Versions: 17.3.0, 16.9.0
         Environment: no OpenSSL (development) headers 
either disabled or not found, in script ./configure
            Reporter: Alexander Traud
            Severity: Minor


Because ASTERISK-28788 was caused by a general misunderstanding, it is the job of the Asterisk Team (or the author who introduced that change) to scan the whole code whether this misunderstanding happened in other modules as well. However, because I was curious, I created a script myself, which checked whether AST_MODULE_INFO (runtime) requires a library which was optional in MODULEINFO (compile time). Because of this script, I found one other module affected.

Again, at compile time, OpenSSL -lcrypto is optional. At runtime, OpenSSL libcrypto.so is mandatory. This time, the mismatch happened because yet another change: [679fa5f|https://gerrit.asterisk.org/8007].

[~coreyfarrell], you were the original author of that change. Although I fixed the issue Asterisk wide, I am mentioning you in this issue report. Perhaps there are other optional / mandatory constellations of AST_MODULE_INFO / MODULEINFO  which are problematic but I do not envision.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list