Debian Bug report logs - #598991
3.0: exits with error when using "--source true"

version graph

Package: live-build; Maintainer for live-build is Live Systems Maintainers <debian-live@lists.debian.org>; Source for live-build is src:live-build.

Reported by: Mark Schneider <ms@it-infrastrukturen.org>

Date: Sun, 3 Oct 2010 17:25:25 UTC

Severity: normal

Tags: experimental, moreinfo, unreproducible

Found in version 3.0~a4+20101002.083849

Done: Daniel Baumann <daniel@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Sun, 03 Oct 2010 17:25:27 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Schneider <ms@it-infrastrukturen.org>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sun, 03 Oct 2010 17:25:27 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Mark Schneider <ms@it-infrastrukturen.org>
To: submit@bugs.debian.org
Subject: live-build 3.0a4 exits with error when using option "--source true"
Date: Sun, 03 Oct 2010 17:19:05 +0200
Subject: live-build 3.0a4 exits with error when using option "--source true"
Package: live-build
Version: 3.0~a4+20101002.083849
Severity: minor

*** Please type your report below this line ***

Only the live image has been created. source.debian.tar doesn't have any entries.

# Used live-packages
# ---
ii  live-boot                                3.0~a8+20101002.081637            Debian Live - System Boot Scripts
ii  live-boot-initramfs-tools                3.0~a8+20101002.081637            Debian Live - System Boot Scripts (initramfs-tools back
ii  live-build                               3.0~a4+20101002.083849            Debian Live - System Build Scripts
ii  live-config                              3.0~a9+20101002.084242            Debian Live - System Configuration Scripts
ii  live-config-sysvinit                     3.0~a9+20101002.084242            Debian Live - System Configuration Scripts (sysvinit ba
# ---

# Some important lines from the build.log
# ---
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source squashfs-tools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source genext2fs
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source mtd-tools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source mtools
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source syslinux
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source grub
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Executing: apt-get --yes --download-only source memtest86+
Reading package lists...
Building dependency tree...
Reading state information...
E: Could not open file /var/lib/apt/lists/_live_image_debian_dists_sid_main_source_Sources - open (2: No such file or directory)
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
P: Begin creating source md5sum.txt...
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
D: Reading configuration file config/common
D: Reading configuration file config/bootstrap
D: Reading configuration file config/chroot
D: Reading configuration file config/binary
D: Reading configuration file config/source
P: Begin building source tarball...
P: This may take a while.
tar: source/debian: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
LH='1'
P: Begin unmounting filesystems...
# ---


-- Package-specific info:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages live-build depends on:
ii  debootstrap                   1.0.23     Bootstrap a basic Debian system

Versions of packages live-build recommends:
ii  cpio                          2.11-4     GNU cpio -- a program to manage ar
ii  gettext-base                  0.17-11    GNU Internationalization utilities
pn  gnu-fdisk<none>      (no description available)

Versions of packages live-build suggests:
ii  dosfstools                    3.0.9-1    utilities for making and checking
ii  fakeroot                      1.14.4-1   Gives a fake root environment
ii  genisoimage                   9:1.1.10-1 Creates ISO-9660 CD-ROM filesystem
pn  memtest86+ | memtest86<none>      (no description available)
pn  mtools<none>      (no description available)
ii  parted                        2.3-1      The GNU Parted disk partition resi
pn  squashfs-tools | genext2fs |<none>      (no description available)
ii  sudo                          1.7.2p7-1  Provide limited super user privile
pn  syslinux | grub<none>      (no description available)
pn  uuid-runtime<none>      (no description available)
pn  win32-loader<none>      (no description available)

-- no debconf information


regards
Mark

-- 
IT-Infrastrukturen.ORG

ms@it-infrastrukturen.org

+++ Free infrastructure software for all. +++





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Sun, 03 Oct 2010 17:36:15 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sun, 03 Oct 2010 17:36:15 GMT) Full text and rfc822 format available.

Message #10 received at 598991@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Mark Schneider <ms@it-infrastrukturen.org>
Cc: 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Sun, 03 Oct 2010 19:34:53 +0200
severity 598991 normal
tag 598991 unreproducible
tag 598991 moreinfo
thanks

On 10/03/2010 05:19 PM, Mark Schneider wrote:
> Only the live image has been created. source.debian.tar doesn't have any
> entries.

this looks like either an unclean build error, or, caused by local
modifications, can't reproduce it here. please follow the guidelines[0]
for reporting bugs, try to reproduce it with a minimal case and provide
the necessary information.

[0] http://live.debian.net/manual/en/html/15.html

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Severity set to 'normal' from 'minor' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Sun, 03 Oct 2010 17:36:16 GMT) Full text and rfc822 format available.

Added tag(s) unreproducible. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Sun, 03 Oct 2010 17:36:17 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Sun, 03 Oct 2010 17:36:18 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Mon, 04 Oct 2010 10:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 04 Oct 2010 10:21:03 GMT) Full text and rfc822 format available.

Message #21 received at 598991@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: 598991-submitter@bugs.debian.org
Cc: 598991@bugs.debian.org
Subject: Re: live-build 3.0a4 exits with error when using option "--source true"
Date: Mon, 04 Oct 2010 12:19:28 +0200
[Message part 1 (text/plain, inline)]
retitle 598991 3.0: exits with error when using "--source true"
thanks

attached is a log. please provide the requested information, otherwise
i'm going to close the bug.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/
[log.gz (application/x-gzip, attachment)]

Changed Bug title to '3.0: exits with error when using "--source true"' from 'live-build 3.0a4 exits with error when using option "--source true"' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Mon, 04 Oct 2010 10:21:05 GMT) Full text and rfc822 format available.

Message sent on to Mark Schneider <ms@it-infrastrukturen.org>:
Bug#598991. (Mon, 04 Oct 2010 10:21:23 GMT) Full text and rfc822 format available.

Added tag(s) experimental. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Mon, 04 Oct 2010 10:27:02 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Mon, 04 Oct 2010 10:39:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Schneider <ms@it-infrastrukturen.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 04 Oct 2010 10:39:08 GMT) Full text and rfc822 format available.

Message #33 received at 598991@bugs.debian.org (full text, mbox):

From: Mark Schneider <ms@it-infrastrukturen.org>
To: daniel@debian.org, 598991-quiet@bugs.debian.org
Cc: 598991-submitter@bugs.debian.org, 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Mon, 04 Oct 2010 10:24:48 +0200
On 04.10.2010 12:19, Daniel Baumann wrote:
> retitle 598991 3.0: exits with error when using "--source true"
> thanks
>
> attached is a log. please provide the requested information, otherwise
> i'm going to close the bug.
>
>    
What kind of information do you need? There is a reportbug "output" 
included and should contain all details you need.

I can repeat the test using a minimal config (due to your 
recommendation) and unpatched version of lb 3.0a4 first in few days 
(probably the next weekend)

Regards,
Mark

-- 
IT-Infrastrukturen.ORG

ms@it-infrastrukturen.org

+++ Free infrastructure software for all. +++





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Mon, 04 Oct 2010 10:39:09 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 04 Oct 2010 10:39:09 GMT) Full text and rfc822 format available.

Message #38 received at 598991@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Mark Schneider <ms@it-infrastrukturen.org>
Cc: 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Mon, 04 Oct 2010 12:34:41 +0200
On 10/04/2010 10:24 AM, Mark Schneider wrote:
> What kind of information do you need? There is a reportbug "output"
> included and should contain all details you need.

no, please see http://live.debian.net/manual/en/html/15.html.

> I can repeat the test using a minimal config (due to your
> recommendation) and unpatched version of lb 3.0a4 first in few days
> (probably the next weekend)

umm, why are you reporting a bug against mainline if you're not using
mainline in the first place?

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Information stored :
Bug#598991; Package live-build. (Mon, 04 Oct 2010 10:39:13 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Schneider <ms@it-infrastrukturen.org>:
Extra info received and filed, but not forwarded. (Mon, 04 Oct 2010 10:39:13 GMT) Full text and rfc822 format available.

Message sent on to Mark Schneider <ms@it-infrastrukturen.org>:
Bug#598991. (Mon, 04 Oct 2010 10:39:15 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Fri, 08 Oct 2010 13:48:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel@debian.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 08 Oct 2010 13:48:05 GMT) Full text and rfc822 format available.

Message #51 received at 598991@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Mark Schneider <ms@it-infrastrukturen.org>
Cc: 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Fri, 08 Oct 2010 15:43:52 +0200
On 10/04/2010 11:43 AM, Mark Schneider wrote:
> I had already the same error messages *without this patch* in the past
> (can't remember what version I have used .. probably 3.0a1). I will
> retest it *without my patch* and lb 3.0a4 again.

ping.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Sat, 09 Oct 2010 14:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Schneider <ms@it-infrastrukturen.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sat, 09 Oct 2010 14:51:05 GMT) Full text and rfc822 format available.

Message #56 received at 598991@bugs.debian.org (full text, mbox):

From: Mark Schneider <ms@it-infrastrukturen.org>
To: daniel@debian.org, 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Sat, 09 Oct 2010 14:48:15 +0200
On 08.10.2010 15:43, Daniel Baumann wrote:
> On 10/04/2010 11:43 AM, Mark Schneider wrote:
>    
>> I had already the same error messages *without this patch* in the past
>> (can't remember what version I have used .. probably 3.0a1). I will
>> retest it *without my patch* and lb 3.0a4 again.
>>      
> ping.
>    

First I have retested it with most current 2.0.x (at least I hope so). 
If there is a newer verson I can repeat the test with it.

"lb build" stopped with the following error message:

W: Failed to fetch file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not found


More details from build.log - http://paste.debian.net/94890

I have used local-includes for live-media.list:

../local-includes-i386/etc/apt/sources.list.d/live-media.list:#deb file:/live/image/debian squeeze main
../local-includes-i386/etc/apt/sources.list.d/live-media.list:deb file:/live/image/debian sid main

I have used *unpatched" live-build scripts as follows:
# ---

live-boot                            2.0.7+20101002.080803~60squeeze+1
live-boot-initramfs-tools            2.0.7+20101002.080803~60squeeze+1
live-build                           2.0.2+20101002.080418~60squeeze+1
live-config                          2.0.8+20101002.081229~60squeeze+1
live-config-sysvinit                 2.0.8+20101002.081229~60squeeze+1
live-helper                          2.0.2+20101002.080418~60squeeze+1
# ---

My lb_config.sh:
# ---

#!/bin/sh
if [ $# != 1 ]; then
 echo "Usage: $0<where_to_build_the_live_image_dir_name>">&2
 exit 1
fi

mkdir -p ${1}/cache
#cp -R auto ${1}
cd ${1}

lb config --bootloader syslinux --syslinux-timeout 7 --syslinux-menu enabled --linux-flavours 486 --architecture i386 \
          --distribution sid --debian-installer-distribution daily --debian-installer live \
          --repositories "live.debian.net" --debian-installer-gui true --binary-indices false \
          --memtest memtest86+ --win32-loader true --source true \
          --packages "debian-installer-launcher xserver-xorg-video-all slim iceweasel" \
          --packages-lists "standard-x11 vbox-ose awesome dev-utils sys-utils net-utils vim pdf-tools " \
          --iso-preparer ironm --iso-publisher IT-Infrastrukturen.ORG --iso-application typo3mcore --iso-volume t3mcore-i386-$(date +%Y-%m-%d) \
          --hostname debian --username ironm --language "de" \
          --bootappend-live "locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich keyboard-layouts=de" \
          --bootappend-install "locales=de_DE.UTF-8 utc=no timezone=Europe/Zurich keyboard-layouts=de"
# ---

My lb_buil.sh
# ---

#!/bin/sh
export LANG=C
export LC_ALL=C
if [ $# != 1 ]; then
 echo "Usage: $0<where_to_build_the_live_image_dir_name>">&2
 exit 1
fi
if [ $(id -u) != 0 ]; then
 echo "Error: You must be root to run this script!">&2
 exit 2
fi
if ! [ -d ${1} ]; then
  echo "Error: the directory does not exist!">&2
  exit 1
fi
cp binary_local-packageslists/* ${1}/config/binary_local-packageslists/
cp local-packageslists/* ${1}/config/chroot_local-packageslists/
cd local-includes-i386
cp -pR ./* ../${1}/config/chroot_local-includes/
cd ../${1}/config/chroot_local-packages
wget -Nc http://ftp.de.debian.org/debian/pool/main/d/debian-installer-launcher/debian-installer-launcher_3_all.deb
cp ../../../local-packages-i386/* .
cd ../binary_local-udebs
cp ../../../binary_local-udebs-i386/* .
cd ../binary_local-debs
cp ../../../binary_local-debs-i386/* .
cd ../../
lb build --debug 2>&1 | tee build.log
# ---

Please don't tell me again I should use auto/conf.
I am comfortable with my scripts and will move first to auto/conf when I have more time.

In second step I will test the same config but using unpatched 3.0-a5.

regards
Mark

-- 
IT-Infrastrukturen.ORG

ms@it-infrastrukturen.org

+++ Free infrastructure software for all. +++





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Sat, 09 Oct 2010 18:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Schneider <ms@it-infrastrukturen.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sat, 09 Oct 2010 18:45:03 GMT) Full text and rfc822 format available.

Message #61 received at 598991@bugs.debian.org (full text, mbox):

From: Mark Schneider <ms@it-infrastrukturen.org>
To: daniel@debian.org, 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Sat, 09 Oct 2010 18:40:35 +0200
On 08.10.2010 15:43, Daniel Baumann wrote:
> On 10/04/2010 11:43 AM, Mark Schneider wrote:
>    
>> I had already the same error messages *without this patch* in the past
>> (can't remember what version I have used .. probably 3.0a1). I will
>> retest it *without my patch* and lb 3.0a4 again.
>>      

The test (to build sources) with lb 3.0-a8 was successful (s. below)
# ---

root@t60p:/home/ironm/LIVE/dls41-i386-sid# dpkg -l | grep "live.*3.0" | sed 's/Debian.*$//'
ii  live-boot                                3.0~a8+20101002.081637
ii  live-boot-initramfs-tools                3.0~a8+20101002.081637
ii  live-build                               3.0~a5+20101004.161858
ii  live-config                              3.0~a9+20101002.084242
ii  live-config-sysvinit                     3.0~a9+20101002.084242
root@t60p:/home/ironm/LIVE/dls41-i386-sid# ls -l
insgesamt 2513892
drwxr-xr-x  4 ironm ironm       4096  9. Okt 18:44 auto
drwxr-xr-x 12 root  root        4096  9. Okt 19:26 binary
-rw-r--r--  1 root  root   842006528  9. Okt 19:26 binary-hybrid.iso
-rw-r--r--  1 root  root       49916  9. Okt 19:26 binary.list
-rw-r--r--  1 root  root       19687  9. Okt 19:13 binary.packages
-rw-r--r--  1 root  root     1239004  9. Okt 20:30 build.log
drwxr-xr-x  8 ironm ironm       4096  9. Okt 19:25 cache
drwxr-xr-x 20 root  root       65536  9. Okt 20:23 chroot
drwxr-xr-x 22 ironm ironm       4096  9. Okt 18:44 config
drwxr-xr-x  4 root  root        4096  9. Okt 20:23 source
-rw-r--r--  1 root  root       87333  9. Okt 20:23 source.debian.list
-rw-r--r--  1 root  root       11182  9. Okt 20:23 source.debian-live.list
-rw-r--r--  1 root  root     2722868  9. Okt 20:30 source.debian-live.tar.gz
-rw-r--r--  1 root  root  1725449514  9. Okt 20:24 source.debian.tar.gz
# ---


I guess this Bug for lb 3.0 can be closed.

I will test the same config (--surces true") with lb 2.0 and give short feedback.

regards,
Mark

-- 
IT-Infrastrukturen.ORG

ms@it-infrastrukturen.org

+++ Free infrastructure software for all. +++





Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Sat, 09 Oct 2010 19:45:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Armstrong <synrg@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sat, 09 Oct 2010 19:45:03 GMT) Full text and rfc822 format available.

Message #66 received at 598991@bugs.debian.org (full text, mbox):

From: Ben Armstrong <synrg@debian.org>
To: 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Sat, 09 Oct 2010 16:42:37 -0300
On 09/10/10 09:48 AM, Mark Schneider wrote:
> "lb build" stopped with the following error message:
> 
> W: Failed to fetch
> file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not
> found

What, in your config, would create a Packages.gz in this location?  I
could find no option in the supplied config that would do that.  So
unless I am missing something, there is an error in your config and not
a bug here.  That is, I would expect apt to attempt to generate indices
for everything listed in /etc/apt/sources* -- isn't this what is
supposed to happen?  And yes, I see you have --binary-indices false, but
that only governs the final disposition of indices when the image is
built and does not guarantee that apt won't be run during the binary
stage.  If your intent is to add apt sources that aren't actually valid
until the image is booted, then you must defer adding the sources lines
to the binary image config until the image is booted too.

Please fill me in on anything I may have missed that would invalidate my
analysis.

Ben




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#598991; Package live-build. (Sat, 09 Oct 2010 20:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mark Schneider <ms@it-infrastrukturen.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sat, 09 Oct 2010 20:42:03 GMT) Full text and rfc822 format available.

Message #71 received at 598991@bugs.debian.org (full text, mbox):

From: Mark Schneider <ms@it-infrastrukturen.org>
To: Ben Armstrong <synrg@debian.org>, 598991@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Sat, 09 Oct 2010 20:37:36 +0200
On 09.10.2010 21:42, Ben Armstrong wrote:
> On 09/10/10 09:48 AM, Mark Schneider wrote:
>    
>> "lb build" stopped with the following error message:
>>
>> W: Failed to fetch
>> file:/live/image/debian/dists/sid/main/binary-i386/Packages.gz  File not
>> found
>>      
> What, in your config, would create a Packages.gz in this location?  I
> could find no option in the supplied config that would do that.  So
> unless I am missing something, there is an error in your config and not
> a bug here.  That is, I would expect apt to attempt to generate indices
> for everything listed in /etc/apt/sources* -- isn't this what is
> supposed to happen?  And yes, I see you have --binary-indices false, but
> that only governs the final disposition of indices when the image is
> built and does not guarantee that apt won't be run during the binary
> stage.  If your intent is to add apt sources that aren't actually valid
> until the image is booted, then you must defer adding the sources lines
> to the binary image config until the image is booted too.
>
> Please fill me in on anything I may have missed that would invalidate my
> analysis.
>
> Ben
>    

I didn't check the current lb code. As I have included lists of packages 
(in binary_local-packageslists)
to be placed into the local repo (without installing them in chroot-env) 
I was expecting that
lb would handle it to create such file (and I mean that it happens 
also). The problem is that
the whole "/live/image/debian/..." doesn't exist when you run "apt-get 
update" during "lb build".
In my patch (I *didn't use it* for this test) I was commenting out the 
active lines in "live-media.list"
before the lb code executed "apt-get update" and reverting it after as I 
don't know enough the flow
in Daniels code. I have checked it many times and it was always working 
for me (my patch).

This issue was just another one (s. subject line). I have had errors 
with "--source true" activated in the setting.
With lb 3.0-a5 havn't got any errors more. I am just creating a live 
image with lb 2.0 to retest it
as I had in the past also troubles with creating of the source file.

Thanks a lot for your analysis.

regards,
Mark

PS. just successfully finished creating live image with current lb 2.0 
(--source true) *without* any errors

-- 
IT-Infrastrukturen.ORG

ms@it-infrastrukturen.org

+++ Free infrastructure software for all. +++





Reply sent to daniel@debian.org:
You have taken responsibility. (Sat, 09 Oct 2010 21:54:08 GMT) Full text and rfc822 format available.

Notification sent to Mark Schneider <ms@it-infrastrukturen.org>:
Bug acknowledged by developer. (Sat, 09 Oct 2010 21:54:08 GMT) Full text and rfc822 format available.

Message #76 received at 598991-done@bugs.debian.org (full text, mbox):

From: Daniel Baumann <daniel@debian.org>
To: Mark Schneider <ms@it-infrastrukturen.org>
Cc: 598991-done@bugs.debian.org
Subject: Re: Bug#598991: live-build 3.0a4 exits with error when using option "--source true"
Date: Sat, 09 Oct 2010 23:52:23 +0200
closing then, thanks.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 07 Nov 2010 07:37:09 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 12:45:57 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.