Debian Bug report logs - #960738
simple-cdd: Does not mirror non-free or contrib

version graph

Package: simple-cdd; Maintainer for simple-cdd is Simple-CDD Developers <[email protected]>; Source for simple-cdd is src:simple-cdd (PTS, buildd, popcon).

Reported by: Oliver <[email protected]>

Date: Sat, 16 May 2020 00:42:02 UTC

Severity: normal

Tags: d-i

Found in version simple-cdd/0.6.7

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Simple-CDD Developers <[email protected]>:
Bug#960738; Package simple-cdd. (Sat, 16 May 2020 00:42:04 GMT) (full text, mbox, link).


Acknowledgement sent to Oliver <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Simple-CDD Developers <[email protected]>. (Sat, 16 May 2020 00:42:04 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Oliver <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: simple-cdd: Does not mirror non-free or contrib
Date: Fri, 15 May 2020 17:39:44 -0700
Package: simple-cdd
Version: 0.6.7
Severity: normal
Tags: d-i

Dear Maintainer,

I am trying to build a CD via simple-cdd by running

build-simple-cdd --conf ./cd.conf

The contents of that conf file are:

mirror_components="non-free main contrib"
server=debian.osuosl.org
debian_mirror="http://debian.osuosl.org/debian/"
locale="en_US"
keyboard=us
dist=buster
profiles=revl
auto_profiles=revl

It does not mirror non-free or contrib. The build exits with a valid CD
but outputs:

2020-05-15 16:24:57 ERROR Last 2 lines of standard error:
2020-05-15 16:24:57 ERROR distcheck:: Fatal error in module common/input.ml:
2020-05-15 16:24:57 ERROR distcheck::  Input file /home/oliver/Documents/code/revl/configs/site-box/preseed/tmp/cd-build/buster/CD1/dists/buster/contrib/binary-amd64/Packages.gz does not exist.

It is also the case that neither `non-free` nor `contrib` is not mirrored and the
`tmp/mirror/dists/buster/X/ ../Packages.gz` file exists but is empty for
X = non-free or contrib.

I did notice that if I change `mirror_components="main contrib
non-free"` to `mirror_components="non-free main"` then I do get non-free
and main packages and it all seems to work (luckily I don't actually
need anything from contrib).


-- System Information:
Debian Release: 10.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE= (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages simple-cdd depends on:
ii  dctrl-tools         2.24-3
ii  debian-cd           3.1.25
ii  lsb-release         10.2019051400
ii  python3             3.7.3-1
ii  python3-simple-cdd  0.6.7
ii  reprepro            5.3.0-1
ii  rsync               3.1.3-6
ii  wget                1.20.1-1.1

Versions of packages simple-cdd recommends:
ii  dose-distcheck  5.0.1-12

Versions of packages simple-cdd suggests:
pn  qemu-system | qemu-kvm  <none>

-- no debconf information



Information forwarded to [email protected], Simple-CDD Developers <[email protected]>:
Bug#960738; Package simple-cdd. (Sat, 16 May 2020 19:57:03 GMT) (full text, mbox, link).


Acknowledgement sent to Imran Hussain <[email protected]>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <[email protected]>. (Sat, 16 May 2020 19:57:03 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: Imran Hussain <[email protected]>
To: [email protected]
Subject: RE: simple-cdd: Does not mirror non-free or contrib
Date: Sat, 16 May 2020 20:39:28 +0100
Hi,

I stumbled into this too, thanks to your report I was able to work out 
the following:

It seems to be the behaviour is that unless you are using packages from 
those specific components then that local component-mirror doesn't get 
created properly therefore you end up with errors, but a working CD.

The only component-mirrors that fail to get created properly are the 
ones with 0 packages anyway, so these errors are ignorable.

Thanks,
Imran



Information forwarded to [email protected], Simple-CDD Developers <[email protected]>:
Bug#960738; Package simple-cdd. (Sat, 16 May 2020 20:24:02 GMT) (full text, mbox, link).


Acknowledgement sent to Oliver Dain <[email protected]>:
Extra info received and forwarded to list. Copy sent to Simple-CDD Developers <[email protected]>. (Sat, 16 May 2020 20:24:02 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: Oliver Dain <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: Re: Bug#960738: simple-cdd: Does not mirror non-free or contrib
Date: Sat, 16 May 2020 13:20:29 -0700
[Message part 1 (text/plain, inline)]
I think I figured this out. It seems that the contents of `Packages` and
`Packages.gz` in tmp/mirror/dists/buster/non-free/binary-amd64/Packages is
the intersection of the packages available in that section and the set of
packages selected in a NAME.packages profile. If that intersection is empty
the CD build fails. When I added some packages from non-free things started
working again. The ordering issue reported in the original bug seems to be
a red herring.

On Fri, May 15, 2020 at 5:42 PM Oliver <[email protected]> wrote:

> Package: simple-cdd
> Version: 0.6.7
> Severity: normal
> Tags: d-i
>
> Dear Maintainer,
>
> I am trying to build a CD via simple-cdd by running
>
> build-simple-cdd --conf ./cd.conf
>
> The contents of that conf file are:
>
> mirror_components="non-free main contrib"
> server=debian.osuosl.org
> debian_mirror="http://debian.osuosl.org/debian/"
> locale="en_US"
> keyboard=us
> dist=buster
> profiles=revl
> auto_profiles=revl
>
> It does not mirror non-free or contrib. The build exits with a valid CD
> but outputs:
>
> 2020-05-15 16:24:57 ERROR Last 2 lines of standard error:
> 2020-05-15 16:24:57 ERROR distcheck:: Fatal error in module common/
> input.ml:
> 2020-05-15 16:24:57 ERROR distcheck::  Input file
> /home/oliver/Documents/code/revl/configs/site-box/preseed/tmp/cd-build/buster/CD1/dists/buster/contrib/binary-amd64/Packages.gz
> does not exist.
>
> It is also the case that neither `non-free` nor `contrib` is not mirrored
> and the
> `tmp/mirror/dists/buster/X/ ../Packages.gz` file exists but is empty for
> X = non-free or contrib.
>
> I did notice that if I change `mirror_components="main contrib
> non-free"` to `mirror_components="non-free main"` then I do get non-free
> and main packages and it all seems to work (luckily I don't actually
> need anything from contrib).
>
>
> -- System Information:
> Debian Release: 10.4
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 4.19.0-9-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=
> (charmap=UTF-8)
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages simple-cdd depends on:
> ii  dctrl-tools         2.24-3
> ii  debian-cd           3.1.25
> ii  lsb-release         10.2019051400
> ii  python3             3.7.3-1
> ii  python3-simple-cdd  0.6.7
> ii  reprepro            5.3.0-1
> ii  rsync               3.1.3-6
> ii  wget                1.20.1-1.1
>
> Versions of packages simple-cdd recommends:
> ii  dose-distcheck  5.0.1-12
>
> Versions of packages simple-cdd suggests:
> pn  qemu-system | qemu-kvm  <none>
>
> -- no debconf information
>
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 19:04:03 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.