title: Do Conan Debug and Release Build_Types have Different Package Dependencies?
body: <p><br></p>
  
  <h2>Context:</h2>
  
  <hr>
  
  <p>I was trying to build my project on the gitlab pipeline when I ran into some issues. While running the gitlab-ci.yml in the pipeline on AWS, out of two testing sections, one of them fails on the conan install step.</p>
  
  <p><strong>Successful section:</strong></p>
  
  <pre><code>- conan install .. --build missing -s build_type=Release
  </code></pre>
  
  <p><strong>Failed Section:</strong></p>
  
  <pre><code>- conan install .. --build missing -s build_type=Debug
  </code></pre>
  
  <p>The only real difference between the two seems to be the conan build_type, as both use the same docker image. I am guessing that the error I get from this is due to the build_type change, making it try to find an extra package with an extra dependency (soci &amp; mariadb-connector).</p>
  
  <p><strong>Error:</strong></p>
  
  <pre><code>mariadb-connector-c/3.0.10@omitted/stable: Configuring sources in /root/.conan/data/mariadb-connector-c/3.0.10/omitted/stable/source
  
  WARN: OpenSSL/1.1.0j@conan/stable: requirement zlib/1.2.11@conan/stable overridden by mariadb-connector-c/3.0.10@omitted/stable to zlib/1.2.11 
  OpenSSL/1.1.0j@conan/stable: WARN: ----------MAKE OPENSSL 1.1.0j-------------
  
  ERROR: mariadb-connector-c/3.0.10@omitted/stable: Error in source() method, line 23
      "https://downloads.mariadb.org/f/connector-c-{0}/mariadb-connector-c-{0}-src.zip".format(self.version))
      NotFoundException: Not found: https://downloads.mariadb.org/f/connector-c-3.0.10/mariadb-connector-c-3.0.10-src.zip
  </code></pre>
  
  <p><strong>ConanFile:</strong></p>
  
  <pre><code>from conans import ConanFile, CMake
  
  
  class ProjectConan(ConanFile):
      settings = "os", "compiler", "build_type", "arch"
      requires = "rfc/2.2@ommited/stable", "soci/3.2.3@ommited/stable", "libxml2/2.9.9", "zlib/1.2.11"
      default_options = {"qt:openssl": "False", "qt:with_sqlite3": "False",
                         "qt:with_mysql": "False", "qt:with_odbc": "False", "qt:with_pq": "False"}
      generators = "cmake"
  
      def requirements(self):
          if self.settings.os == "Windows":
              self.requires("libiconv/1.15@bincrafters/stable")
              self.requires("qt/5.13.2@bincrafters/stable")
  
      def configure(self):
          if self.settings.os == "Windows":
              self.generators.append("qt")
  
      def imports(self):
          if self.settings.os == "Windows":
              self.copy("*.dll", dst="bin", src="bin")
              self.copy("*.pdb", dst="bin", src="bin")
          self.copy("*.dylib*", dst="bin", src="lib")
          self.copy("*.so*", dst="lib", src="lib")
  </code></pre>
  
  <p>I did some searching online about <a href="https://docs.conan.io/en/latest/creating_packages/package_approaches.html" rel="nofollow noreferrer">conan package build_types</a>, but was not able to understand the difference between the Debug and Release build_types from the official article. I also looked in my project conan file (above) and could not find any differences in dependencies between the debug and release build_types in it. </p>
  
  <hr>
  
  <h2>Question:</h2>
  
  <p>Can Conan Release and Debug build_types have different package dependencies, and where would I find these if they do? </p>
  
  <p>If they cannot have different package dependencies, what is the difference between the Release and Debug build_types?</p>
  
  <p>Please let me know if there is any additional information I need to provide. </p>
  
  <p>Thanks! </p>