Details

      Description

      http://buildbot.askmonty.org/buildbot/builders/sol10-64/builds/3411/steps/compile/logs/stdio

      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c: In function `grn_com_send':
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:723: error: structure has no member named `msg_control'
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:724: error: structure has no member named `msg_controllen'
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:725: error: structure has no member named `msg_flags'
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:726: warning: assignment from incompatible pointer type
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c: In function `grn_com_copen':
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:947: error: `TCP_NODELAY' undeclared (first use in this function)
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:947: error: (Each undeclared identifier is reported only once
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:947: error: for each function it appears in.)
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c: In function `grn_com_sopen':
      /export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16/storage/mroonga/vendor/groonga/lib/com.c:1063: error: `TCP_NODELAY' undeclared (first use in this function)
      gmake[2]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/com.c.o] Error 1
      gmake[2]: Leaving directory `/export/home/buildbot/maria-slave/solaris10-x86/build/mariadb-10.0.16'
      gmake[1]: *** [storage/mroonga/vendor/groonga/lib/CMakeFiles/libgroonga.dir/all] Error 2
      

      Should Mroonga be disabled for Solaris?

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              Kentoku Kentoku added a comment -

              Please disable it for now.

              Show
              Kentoku Kentoku added a comment - Please disable it for now.
              Hide
              predrag.zecevic Predrag Zečević added a comment -

              HI,
              I have spent some time trying to compile it and at the end managed with (most challenging was to find how to disable mroonga):

              a) gcc 3.4 (4.x is not working yet)
              b) dtrace disabled
              c) mroonga disabled

              Commands used on directory where source were unpacked:
              $ CFLAGS="-m$

              {MY_ARCH} -O3" CXXFLAGS="-m${MY_ARCH}

              " LDFLAGS="-m$

              {MY_ARCH}

              " PKG_CONFIG_PATH="/usr/lib/pkgconfig" \
              cmake . -DCMAKE_INSTALL_PREFIX=$

              {MY_PREFIX}

              -DDTRACE=off -DWITHOUT_MROONGA_STORAGE_ENGINE=1
              $ nice gmake -j1
              $ pfexec gmake install DESTDIR=/

              Where:
              MY_ARCH=

              {32,64}

              MY_PREFIX=/some/path

              Regards.

              Show
              predrag.zecevic Predrag Zečević added a comment - HI, I have spent some time trying to compile it and at the end managed with (most challenging was to find how to disable mroonga): a) gcc 3.4 (4.x is not working yet) b) dtrace disabled c) mroonga disabled Commands used on directory where source were unpacked: $ CFLAGS="-m$ {MY_ARCH} -O3" CXXFLAGS="-m${MY_ARCH} " LDFLAGS="-m$ {MY_ARCH} " PKG_CONFIG_PATH="/usr/lib/pkgconfig" \ cmake . -DCMAKE_INSTALL_PREFIX=$ {MY_PREFIX} -DDTRACE=off -DWITHOUT_MROONGA_STORAGE_ENGINE=1 $ nice gmake -j1 $ pfexec gmake install DESTDIR=/ Where: MY_ARCH= {32,64} MY_PREFIX=/some/path Regards.
              Hide
              bar Alexander Barkov added a comment - - edited

              Definition of "struct msghdr" on Linux:

              struct msghdr {
                void         *msg_name;       /* optional address */
                socklen_t     msg_namelen;    /* size of address */
                struct iovec *msg_iov;        /* scatter/gather array */
                size_t        msg_iovlen;     /* # elements in msg_iov */
                void         *msg_control;    /* ancillary data, see below */
                size_t        msg_controllen; /* ancillary data buffer len */
                int           msg_flags;      /* flags on received message */
              };
              

              Definition of "struct msghdr" on SunOS:

              struct msghdr {
                void            *msg_name;              /* optional address */
                socklen_t       msg_namelen;            /* size of address */
                struct iovec    *msg_iov;               /* scatter/gather array */
                int             msg_iovlen;             /* # elements in msg_iov */
              #if defined(_XPG4_2) || defined(_KERNEL)
                void            *msg_control;           /* ancillary data */
                socklen_t       msg_controllen;         /* ancillary data buffer len */
                int             msg_flags;              /* flags on received message */
              #else
                caddr_t         msg_accrights;  /* access rights sent/received */
                int             msg_accrightslen;
              #endif  /* defined(_XPG4_2) || defined(_KERNEL) */
              };
              
              Show
              bar Alexander Barkov added a comment - - edited Definition of "struct msghdr" on Linux: struct msghdr { void *msg_name; /* optional address */ socklen_t msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ size_t msg_iovlen; /* # elements in msg_iov */ void *msg_control; /* ancillary data, see below */ size_t msg_controllen; /* ancillary data buffer len */ int msg_flags; /* flags on received message */ }; Definition of "struct msghdr" on SunOS: struct msghdr { void *msg_name; /* optional address */ socklen_t msg_namelen; /* size of address */ struct iovec *msg_iov; /* scatter/gather array */ int msg_iovlen; /* # elements in msg_iov */ # if defined(_XPG4_2) || defined(_KERNEL) void *msg_control; /* ancillary data */ socklen_t msg_controllen; /* ancillary data buffer len */ int msg_flags; /* flags on received message */ # else caddr_t msg_accrights; /* access rights sent/received */ int msg_accrightslen; #endif /* defined(_XPG4_2) || defined(_KERNEL) */ };
              Hide
              bar Alexander Barkov added a comment - - edited

              Adding this into storage/mrooga/vendor/groonga/CMakeLists.txt:

              if(CMAKE_SYSTEM_NAME STREQUAL "SunOS")
                add_definitions(-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__)
                add_definitions(-DHAVE_NETINET_TCP_H)
              endif()
              

              fixes the reported problem, but compilation starts to fail with more other symptoms.

              Show
              bar Alexander Barkov added a comment - - edited Adding this into storage/mrooga/vendor/groonga/CMakeLists.txt: if (CMAKE_SYSTEM_NAME STREQUAL "SunOS" ) add_definitions(-D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D__EXTENSIONS__) add_definitions(-DHAVE_NETINET_TCP_H) endif() fixes the reported problem, but compilation starts to fail with more other symptoms.
              Hide
              bar Alexander Barkov added a comment -

              Kentoku, I temporarily disabled Mroonga in the "10.0" git branch due to compilation failures.
              Please address. Thanks.

              Show
              bar Alexander Barkov added a comment - Kentoku, I temporarily disabled Mroonga in the "10.0" git branch due to compilation failures. Please address. Thanks.
              Hide
              kou Kouhei Sutou added a comment -

              Groonga at master is buildable on Solaris. This issue will be fixed when new Groonga version (It'll be released at 2015-05-29) is bundled into MariaDB.

              Show
              kou Kouhei Sutou added a comment - Groonga at master is buildable on Solaris. This issue will be fixed when new Groonga version (It'll be released at 2015-05-29) is bundled into MariaDB.
              Hide
              Aurelien_LEQUOY Aurélien LEQUOY added a comment -

              it's fail too on Rasberry Pi 1 version B on Rasbian (tested with 10.0.19)

              Show
              Aurelien_LEQUOY Aurélien LEQUOY added a comment - it's fail too on Rasberry Pi 1 version B on Rasbian (tested with 10.0.19)
              Hide
              elenst Elena Stepanova added a comment -

              Aurélien LEQUOY,
              See MDEV-7076 - we had to increase the amount of memory in our build machines from 2Gb to 3Gb just so Groonga could build. I doubt Rasberry has much chance.

              Show
              elenst Elena Stepanova added a comment - Aurélien LEQUOY , See MDEV-7076 - we had to increase the amount of memory in our build machines from 2Gb to 3Gb just so Groonga could build. I doubt Rasberry has much chance.

                People

                • Assignee:
                  Kentoku Kentoku
                  Reporter:
                  elenst Elena Stepanova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  6 Start watching this issue

                  Dates

                  • Created:
                    Updated: