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

Bug#513497: update-tasks: assumes i386, fails for other architectures

Package: debian-cd
Version: 3.1.0
Severity: normal


while running debian-cd as part of simple-cdd, I get this:

set -e; cd /home/enrico/lavori/truelite/npico/sys/tmp//cd-build/lenny/tasks; \
		/home/enrico/lavori/truelite/npico/sys/tmp//debian-cd/tools/update_tasks; \
		/home/enrico/lavori/truelite/npico/sys/tmp//debian-cd/tools/generate_di_list; \
gzip: /home/enrico/lavori/truelite/npico/sys/tmp//mirror/dists/lenny/main/binary-i386/Packages.gz: No such file or directory
make: *** [/home/enrico/lavori/truelite/npico/sys/tmp//cd-build/lenny/tasks] Error 1

Indeed that file isn't there, because I'm on amd64 and I'm trying to
build an amd64 lenny CD.

That path is hardcoded in /usr/share/debian-cd/tools/update_tasks:

  # We need to gunzip a copy of the appropriate Packages.gz file
  # Assume i386, use the $CODENAME main Packages file
  zcat $MIRROR/dists/$CODENAME/main/binary-i386/Packages.gz > $TMP_PKG

Changing that to amd64 in my case fixes the problem, although I can't
say how severe it is because it's one of many places where the build is
failing, and I'm still busy debugging it.



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

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages debian-cd depends on:
ii  apt                     0.7.20           Advanced front-end for dpkg
ii  bc                      1.06.94-3        The GNU bc arbitrary precision cal
ii  cpp                     4:4.3.2-2        The GNU C preprocessor (cpp)
ii  curl                    7.18.2-8         Get a file from an HTTP, HTTPS or 
ii  dctrl-tools [grep-dctrl 2.13.1           Command-line tools to process Debi
ii  genisoimage             9:1.1.9-1        Creates ISO-9660 CD-ROM filesystem
ii  libcompress-zlib-perl   2.012-1          Perl module for creation and manip
ii  lynx                    2.8.7dev9-2.1    Text-mode WWW Browser (transitiona
ii  lynx-cur                2.8.7dev9-2.1    Text-mode WWW Browser with NLS sup
ii  make                    3.81-5           The GNU version of the "make" util
ii  perl [libdigest-md5-per 5.10.0-19        Larry Wall's Practical Extraction 
ii  tofrodos                1.7.8.debian.1-1 Converts DOS <-> Unix text files, 

Versions of packages debian-cd recommends:
ii  hfsutils                   3.2.6-11      Tools for reading and writing Maci
ii  netpbm                     2:10.0-12     Graphics conversion tools
ii  syslinux-common            2:3.71+dfsg-5 Kernel loader which uses a FAT, ex

debian-cd suggests no packages.

-- no debconf information

Reply to: