Your message dated Fri, 25 Nov 2016 14:56:24 -0800
with message-id <[email protected]>
and subject line Re: #760309: simple-cdd: build of squeeze image fails due to 
missing images/SHA256SUMS file
has caused the Debian Bug report #760309,
regarding simple-cdd: build of squeeze image fails due to missing 
images/SHA256SUMS file
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
760309: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=760309
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: simple-cdd
Version: 0.5.0
Severity: normal
Tags: upstream patch

Dear Maintainer,

   * What led up to the situation?
$ cat simple-cdd.conf
server="ftp.de.debian.org"
debian_mirror="http://$server/debian/";
wget_debian_mirror="ftp://$server/debian/";
rsync_debian_mirror="$server::debian"

$ simple-cdd --conf ./simple-cdd.conf --dist squeeze

   * What was the outcome of this action?
simple-cdd aborts with an error:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Checking checksum file... dists/squeeze/main/installer-
amd64/current/images/SHA256SUMS
sha256sum: standard input: no properly formatted SHA256 checksum lines found
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

   * What outcome did you expect instead?
An image of a squeeze installer.

If I apply the following changes to simple-cdd:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- tmp/simple-cdd      2014-09-02 20:33:32.236476817 +0200
+++ /usr/bin/simple-cdd 2014-09-02 20:44:58.051014315 +0200
@@ -410,7 +410,11 @@
                 i386|amd64) di_match_files="/cdrom" ;;
                 *) di_match_files="." ;;
             esac
-            checksum_files="$checksum_files
dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+            if [ "$DI_CODENAME" = "squeeze" ]; then
+                checksum_files="$checksum_files
dists/$DI_CODENAME/main/installer-$a/$di_release/images/MD5SUMS"
+            else
+                checksum_files="$checksum_files
dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+            fi
         done
     fi
     # run mirroring hooks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.... the existing MD5SUMS file is used. But then the process fails with:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Reading in package information for amd64:
  Done: Read details of 332 packages for amd64
WARNING: no translated descriptions found for squeeze/main
Starting to lay out packages into images:
  Adding the required directories
  Generating the image label and volume id
  Adding .disk/base_components
  Adding .disk/cd_type
  Adding udeb/base includes/excludes
WARNING: Unable to read UDEB_EXCLUDE file /home/kai/tmp/test-simple-cdd/tmp
//debian-cd/data/squeeze/amd64_netinst_udeb_exclude
  Adding docs to CD1
  Extracting FAQ on CD1
  Adding common docs on CD1
  Adding Release files
  Trying to add upgrade* directories
  (Optionally) making the image bootable for amd64:
    No script to make CDs bootable for amd64
    We've not been asked to ignore this. Aborting.
    Failed to start disc 1, error 256
Makefile:406: recipe for target 'image-trees' failed
make: *** [image-trees] Error 1
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



-- System Information:
Debian Release: jessie/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages simple-cdd depends on:
ii  apt-utils    1.0.6
ii  dctrl-tools  2.23
ii  debian-cd    3.1.15
ii  debootstrap  1.0.60
ii  lsb-release  4.1+Debian13
ii  python       2.7.8-1
ii  reprepro     4.15.0-1
ii  rsync        3.1.1-2
ii  wget         1.15-1+b1

Versions of packages simple-cdd recommends:
ii  dose-distcheck  3.2.2-2+b1

Versions of packages simple-cdd suggests:
ii  qemu-kvm     2.1+dfsg-2
ii  qemu-system  2.1+dfsg-2

-- no debconf information
--- tmp/simple-cdd	2014-09-02 20:33:32.236476817 +0200
+++ /usr/bin/simple-cdd	2014-09-02 20:44:58.051014315 +0200
@@ -410,7 +410,11 @@
                 i386|amd64) di_match_files="/cdrom" ;;
                 *) di_match_files="." ;;
             esac
-            checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+            if [ "$DI_CODENAME" = "squeeze" ]; then
+                checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/MD5SUMS"
+            else
+                checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+            fi
         done
     fi
     # run mirroring hooks
--- tmp/simple-cdd	2014-09-02 20:33:32.236476817 +0200
+++ /usr/bin/simple-cdd	2014-09-02 20:44:58.051014315 +0200
@@ -410,7 +410,11 @@
                 i386|amd64) di_match_files="/cdrom" ;;
                 *) di_match_files="." ;;
             esac
-            checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+            if [ "$DI_CODENAME" = "squeeze" ]; then
+                checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/MD5SUMS"
+            else
+                checksum_files="$checksum_files dists/$DI_CODENAME/main/installer-$a/$di_release/images/SHA256SUMS"
+            fi
         done
     fi
     # run mirroring hooks

--- End Message ---
--- Begin Message ---
Version: 0.6.0

On 2014-09-02, Kai Harries wrote:
> $ simple-cdd --conf ./simple-cdd.conf --dist squeeze
>
>    * What was the outcome of this action?
> simple-cdd aborts with an error:
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Checking checksum file... dists/squeeze/main/installer-
> amd64/current/images/SHA256SUMS
> sha256sum: standard input: no properly formatted SHA256 checksum lines found
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Since version 0.6.0, simple-cdd allows for setting the checksum file to
use with the variable "checksum_file_type", which defaults to
"SHA256SUMS".

Other issues may still prevent building a squeeze image, but many of
those issues are probably in other tools, such as debian-cd.


live well,
  vagrant

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to