Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 10.0.21
-
Fix Version/s: 10.0
-
Component/s: Storage Engine - Mroonga
-
Labels:None
-
Environment:OpenBSD
Description
The mroonga storage engine fails to build on OpenBSD.
Looking at the code it appears as if netinet/tcp.h is not being included at the bare minimum. The CMake test for netinet/tcp.h is failing. The test needs to include sys/types.h when testing for netinet/tcp.h.
/home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c: In function 'grn_com_send': /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c:717: error: array type has incomplete element type /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c:717: warning: unused variable 'msg_iov' /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c: In function 'grn_com_copen': /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c:947: error: 'TCP_NODELAY' undeclared (first use in this function) /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c:947: error: (Each undeclared identifier is reported only once /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c:947: error: for each function it appears in.) /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c: In function 'grn_com_sopen': /home/ports/pobj/mariadb-10.0.15/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib/com.c:1063: error: 'TCP_NODELAY' undeclared (first use in this function)
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Any comment? I can build test any proposed diffs even against a 10.0.15 code base.