Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-12305

MariaDB doesn't compile on Debian GNU Hurd (PATH_MAX issue)

Details

    • Bug
    • Status: In Review (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 10.1.22
    • 10.5
    • Compiling
    • Debian GNU Hurd i386

    Description

      MariaDB 10.1.22 doesn't compile on Debian GNU Hurd, because Hurd doesn't have PATH_MAX defined.

      A simple

      #ifndef PATH_MAX
      #define PATH_MAX 4096
      #endif
      

      is usually needed to fix the issue.

      A full build log is available from here: https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.1&arch=hurd-i386&ver=10.1.22-1&stamp=1490003259&raw=0

      Attachments

        Activity

          danblack Daniel Black added a comment - ref: https://www.gnu.org/software/hurd/hurd/porting/guidelines.html#PATH_MAX_tt_MAX_PATH_tt_MAXPATHL
          danblack Daniel Black added a comment - taking downstream patch https://salsa.debian.org/mariadb-team/mariadb-server/-/blob/debian/latest/debian/patches/hurd-i386-plugin_disks_information_schema_disks.cc.patch?ref_type=heads

          People

            otto Otto Kekäläinen
            oerdnj Ondřej Surý (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.