]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Fix: CI: debian: comment about the pbuilder configuration (#10)
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 4 Jan 2025 18:12:43 +0000 (15:12 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 4 Jan 2025 18:12:43 +0000 (15:12 -0300)
.gitlab-ci.yml

index 91c302c42474798bc054656d6750a6c8918bae9d..4dfa4d20545e2e355a62558895bbf7f7ca31aff4 100644 (file)
@@ -3,6 +3,28 @@ debian:
   image: debian:stable
   script:
     # Configure pbuilder
+    #
+    # This should be done before pbuilder is installed.
+    # Pbuilder is a dependency of git-buildpackage.
+    #
+    # With doing this, pbuilder may fail to detect MIRRORSITE during package installation,
+    # giving errors like
+    #
+    #   Configuring pbuilder
+    #   --------------------
+    #   Default mirror not found
+    #   Mirror information detection failed and the user provided no mirror
+    #   information.
+    #   Please enter valid mirror information.
+    #   Please enter the default mirror you want to be used by pbuilder.
+    #   If you leave this field blank, there will be one attempt to autodetect this
+    #   information. If this attempt fails, you will be prompted again to insert some
+    #   valid mirror information.
+    #   Here is a valid mirror example: http://deb.debian.org/debian
+    #   Default mirror site:
+    #   Use of uninitialized value $_[1] in join or string at
+    #   /usr/share/perl5/Debconf/DbDriver/Stack.pm line 112.
+    #
     - echo 'DISTRIBUTION=sid'                           > /etc/pbuilderrc
     - echo 'MIRRORSITE=http://http.debian.net/debian/' >> /etc/pbuilderrc