Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2894

Fails to download avro tar file

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 2.4, 2.4.5, 2.4.7
    • 2.3.18
    • avrorouter
    • None
    • x86

    Description

      While building MariaDB MaxScale from Source Code (link) , install build dependencies step : "../MaxScale/BUILD/install_build_deps.sh" fails with following error:

      ls: cannot access 'avro*.tar.gz': No such file or directory
      tar: option requires an argument – 'f'
      Try 'tar --help' or 'tar --usage' for more information.
      /build /tmp/tmp.l7OyoX4WKb
      sed: can't read ../lang/c/CMakeLists.txt: No such file or directory
      CMake Error: The source directory "/" does not appear to contain CMakeLists.txt.
      Specify --help for usage, or press the help button on the CMake GUI.
      make: *** No targets specified and no makefile found. Stop.
      make: *** No rule to make target 'install'. Stop.
      /tmp/tmp.l7OyoX4WKb

      Root cause:
      The link used to download avro tar file at (link) has been moved.

      root@1c45994869a5:~/build# wget -r -l1 -nH --cut-dirs=2 --no-parent -A.tar.gz --no-directories https://www-eu.apache.org/dist/avro/stable/c
      -2020-02-18 12:12:33- https://www-eu.apache.org/dist/avro/stable/c
      Resolving www-eu.apache.org (www-eu.apache.org)... 95.216.24.32, 2a01:4f9:2a:185f::2
      Connecting to www-eu.apache.org (www-eu.apache.org)|95.216.24.32|:443... connected.
      Unable to establish SSL connection.
      root@1c45994869a5:~/build#

      root@1c45994869a5:~/build# curl https://www-eu.apache.org/dist/avro/stable/c
      <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
      <html><head>
      <title>302 Found</title>
      </head><body>
      <h1>Found</h1>
      <p>The document has moved <a href="https://downloads.apache.org/avro/stable/c">here</a>.</p>
      </body></html>
      root@1c45994869a5:

      Fix:
      Need to replace the link to download avro from "https://www-eu.apache.org/dist/avro/stable/c" to "https://downloads.apache.org/avro/stable/c"

      Attaching log of "install_build_deps.sh" for reference.

      Attachments

        Activity

          People

            tturenko Timofey Turenko
            sangitan Sangita Nalkar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

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