bugzilla-daemon at bugzilla.mindrot.org
2019-Oct-09 19:33 UTC
[Bug 3081] New: Build fails on IRIX since memmem() is not declared
https://bugzilla.mindrot.org/show_bug.cgi?id=3081
Bug ID: 3081
Summary: Build fails on IRIX since memmem() is not declared
Product: Portable OpenSSH
Version: 8.1p1
Hardware: MIPS
OS: IRIX
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at mindrot.org
Reporter: mindrot at canavan.de
Created attachment 3334
--> https://bugzilla.mindrot.org/attachment.cgi?id=3334&action=edit
declare MEMMEM patch
Compilation of sshbuf-misc.c, fails on IRIX:
cc-1196 c99: WARNING File = sshbuf-misc.c, Line = 225
The indicated function is declared implicitly.
if ((p = memmem(sshbuf_ptr(b) + start_offset,
^
cc-1515 c99: ERROR File = sshbuf-misc.c, Line = 225
A value of type "int" cannot be assigned to an entity of type
"void
*".
if ((p = memmem(sshbuf_ptr(b) + start_offset,
^
1 error detected in the compilation of "sshbuf-misc.c".
I would suspect that there's a typo in openbsd-compat.h in that #ifdef
has been used instead of #ifndef for HAVE_MEMMEM. With the trivial
patch below, compilation succeeds for me on IRIX 6.5.30.
--
You are receiving this mail because:
You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2019-Oct-09 22:47 UTC
[Bug 3081] Build fails on IRIX since memmem() is not declared
https://bugzilla.mindrot.org/show_bug.cgi?id=3081
Darren Tucker <dtucker at dtucker.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
CC| |dtucker at dtucker.net
Blocks| |3079
--- Comment #1 from Darren Tucker <dtucker at dtucker.net> ---
Done, thanks. It'll be in the next release.
Referenced Bugs:
https://bugzilla.mindrot.org/show_bug.cgi?id=3079
[Bug 3079] Tracking bug for 8.2 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.
bugzilla-daemon at mindrot.org
2021-Apr-23 04:56 UTC
[Bug 3081] Build fails on IRIX since memmem() is not declared
https://bugzilla.mindrot.org/show_bug.cgi?id=3081
Damien Miller <djm at mindrot.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--- Comment #2 from Damien Miller <djm at mindrot.org> ---
closing resolved bugs as of 8.6p1 release
--
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.