[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Ports CD build broke since Jigdo V2 format commit



On 2 Jan 2020, at 10:34, John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
> 
> Hi!
> 
> With the changes from:
> 
> commit 0dd4219af48f2ffd9d86d6e79a71af4c9b813cf0 (HEAD -> master, origin/master, origin/HEAD)
> Author: Steve McIntyre <steve@einval.com>
> Date:   Thu Nov 21 19:03:11 2019 +0000
> 
>    Add initial support for jigdo v2 format
> 
>    Add the option to switch to format v2 which uses sha256 everywhere
>    instead of md5. We can't actually turn this on yet, need to wait for
>    users to upgrade a bit and get new v2-aware jigdo clients.
> 
>    But this works as-is for generating v1 until we hit that switch - see
>    the new JIGOO_CHECKSUM option in CONF.sh
> 
> it's no longer possible to build CD images for Debian Ports as the checksums verification
> always fails:
> 
> glaubitz@casulana:~/debian-cd$ ./easy-build-ports.sh NETINST ppc64
> Starting the actual debian-cd build...
> Thu 02 Jan 2020 10:31:54 AM UTC: Using CONF from ./CONF-ports.sh.
> rm -rf /home/glaubitz/tmp/sid/CD[1234567890]*
> rm -rf /home/glaubitz/tmp/sid/tasks
> rm -f /home/glaubitz/tmp/sid/*.filelist*
> rm -f  /home/glaubitz/tmp/sid/packages-stamp /home/glaubitz/tmp/sid/upgrade-stamp /home/glaubitz/tmp/sid/checksum-check
> echo "Cleaning the build directory"
> Cleaning the build directory
> rm -rf /home/glaubitz/tmp/apt
> rm -rf /home/glaubitz/tmp
> mkdir -p /home/glaubitz/tmp
> mkdir -p /home/glaubitz/tmp/sid
> mkdir -p /home/glaubitz/tmp/apt
> echo "Updating task files..."
> Updating task files...
> mkdir -p /home/glaubitz/tmp/sid/tasks
> echo "- copying task files from 'tasks/sid/'"
> - copying task files from 'tasks/sid/'
> cp -r /home/glaubitz/debian-cd/tasks/sid/* /home/glaubitz/tmp/sid/tasks
> echo "- generating dynamic task files"
> - generating dynamic task files
> (...)
> Reading package lists...
> Building dependency tree...
> make[1]: Leaving directory '/home/glaubitz/debian-cd'
> ... checking your mirror
> /home/glaubitz/debian-cd/tools/grab_checksums  /srv/mirrors/debian-ports "ppc64" sid sid /home/glaubitz/tmp/sid/checksum-check
> /home/glaubitz/debian-cd/tools/grab_checksums: Unsupported checksum specified: /srv/mirrors/debian-ports
> Abort
> make: *** [Makefile:509: mirrorcheck] Error 1
> ERROR: Your mirror has a problem, please correct it.
> glaubitz@casulana:~/debian-cd$
> 
> Any clues before I start digging?

You need to export JIGDO_CHECKSUM in your CONF-ports.sh; see the commit
message.

James


Reply to: