[asterisk-bugs] [JIRA] (ASTERISK-25586) uuid_generate_random detection failure
Asterisk Team (JIRA)
noreply at issues.asterisk.org
Sun Nov 22 05:27:33 CST 2015
[ https://issues.asterisk.org/jira/browse/ASTERISK-25586?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228415#comment-228415 ]
Asterisk Team commented on ASTERISK-25586:
------------------------------------------
Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.
A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.
Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].
> uuid_generate_random detection failure
> --------------------------------------
>
> Key: ASTERISK-25586
> URL: https://issues.asterisk.org/jira/browse/ASTERISK-25586
> Project: Asterisk
> Issue Type: Bug
> Security Level: None
> Components: Core/BuildSystem
> Affects Versions: 13.6.0
> Reporter: John Nemeth
> Severity: Minor
>
> configure.ac has the following (checked gitweb and trunk has the same):
> # Find required UUID support.
> # * -luuid on Linux
> # * -le2fs-uuid on OpenBSD
> # * in libsystem on OS X
> AST_EXT_LIB_CHECK([LIBUUID], [uuid], [uuid_generate_random], [uuid/uuid.h], [])
> AST_EXT_LIB_CHECK([E2FSUUID], [e2fs-uuid], [uuid_generate_random], [uuid/uuid.h]
> , [])
> AC_CHECK_FUNCS([uuid_generate_random], [SYSUUID=true], [SYSUUID=""])
> On my system (NetBSD with libuuid package installed), the first test returns "yes", and the rest return "no":
> checking for uuid_generate_random in -luuid... yes
> checking uuid/uuid.h usability... yes
> checking uuid/uuid.h presence... yes
> checking for uuid/uuid.h... yes
> checking for uuid_generate_random in -le2fs-uuid... no
> checking for uuid_generate_random... no
> The problem is that the result of the later tests overwrite the results of the earlier test. Thus the final answer is "no", even though it should be "yes".
> I have marked this bug as "minor" because the test result isn't actually used. This could be considered to be a seperate bug, i.e. the result should be used, or the test should be eliminated.
> i386devel: {1266} grep -r HAVE_UUID_GENERATE_RANDOM *
> configure:#define HAVE_UUID_GENERATE_RANDOM 1
> include/asterisk/autoconfig.h.in:#undef HAVE_UUID_GENERATE_RANDOM
> include/asterisk/autoconfig.h:/* #undef HAVE_UUID_GENERATE_RANDOM */
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list