Debian Bug report logs - #601905
Does not create image for usb

version graph

Package: live-helper; Maintainer for live-helper is Debian Live Project <debian-live@lists.debian.org>;

Reported by: Thomas Maass <inyourface@gmx.de>

Date: Sat, 30 Oct 2010 22:36:01 UTC

Severity: normal

Tags: moreinfo, unreproducible

Found in version live-build/2.0.5-1

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, inyourface@gmx.de, Debian Live Project <debian-live@lists.debian.org>:
Bug#601905; Package live-helper. (Sat, 30 Oct 2010 22:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Maass <inyourface@gmx.de>:
New Bug report received and forwarded. Copy sent to inyourface@gmx.de, Debian Live Project <debian-live@lists.debian.org>. (Sat, 30 Oct 2010 22:36:04 GMT) Full text and rfc822 format available.

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

From: Thomas Maass <inyourface@gmx.de>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-helper: Does not create image for usb
Date: Sun, 31 Oct 2010 00:33:14 +0200
Package: live-helper
Version: 2.0.5-1
Severity: normal

After a lh build for usb, the chroot is created, but the image creation fails
with
a message "too many levels of symbolic links".



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

Kernel: Linux 2.6.32-5-amd64 (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-helper depends on:
ii  live-build                    2.0.3-1    Debian Live - System Build Scripts

live-helper recommends no packages.

live-helper suggests no packages.

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#601905; Package live-helper. (Sat, 30 Oct 2010 22:45: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>. (Sat, 30 Oct 2010 22:45:05 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: Thomas Maass <inyourface@gmx.de>
Cc: 601905@bugs.debian.org
Subject: Re: Bug#601905: live-helper: Does not create image for usb
Date: Sun, 31 Oct 2010 00:41:58 +0200
retitle 601905 Does not create image for usb
tag 601905 unreproducible
tag 601905 moreinfo
thanks

On 10/31/2010 12:33 AM, Thomas Maass wrote:
> After a lh build for usb, the chroot is created, but the image creation fails
> with
> a message "too many levels of symbolic links".

sounds like a problem with symlinks in binary_local-includes. are you
using that? if so, it's a local problem and you should fix your includes
i guess.

if not, then please give all required information as outlined in
http://live.debian.net/manual/en/html/live-manual.html#427

in the normal case, it's working, as can be seen from e.g.
http://live.debian.net/cdimage/release/6.0_beta1/i386/usb-hdd/debian-squeeze-live-beta1-i386-gnome-desktop.img.log

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




Changed Bug title to 'Does not create image for usb' from 'live-helper: Does not create image for usb' Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Sat, 30 Oct 2010 22:45:06 GMT) Full text and rfc822 format available.

Added tag(s) unreproducible. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Sat, 30 Oct 2010 22:45:07 GMT) Full text and rfc822 format available.

Added tag(s) moreinfo. Request was from Daniel Baumann <daniel@debian.org> to control@bugs.debian.org. (Sat, 30 Oct 2010 22:45:08 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#601905; Package live-helper. (Sun, 31 Oct 2010 09:51:08 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, 31 Oct 2010 09:51:08 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: Thomas Maass <mase@setho.org>
Cc: 601905@bugs.debian.org
Subject: Re: Bug#601905: live-helper: Does not create image for usb
Date: Sun, 31 Oct 2010 10:46:42 +0100
On 10/31/2010 10:19 AM, Thomas Maass wrote:
> Hi!
> I have played again with live-helper. The messages in German are:

as the page sais, do use LC_ALL=C. and as the page also sais, you need
to give the requested information, otherwise we cannot try to reproduce
it. and please also don't forget to CC the bug.

> P: Mounting /dev/loop1 with offset 512
> mkfs.vfat 3.0.9 (31 Jan 2010)
> Loop device does not match a floppy size, using default hd params
> cp: Aufruf von stat für „binary/dists/unstable/squeeze“ nicht möglich:
> Zu viele Ebenen aus symbolischen Links
> cp: Aufruf von stat für „binary/dists/squeeze/squeeze“ nicht möglich: Zu
> viele Ebenen aus symbolischen Links
> cp: Aufruf von stat für „binary/dists/stable/squeeze“ nicht möglich: Zu
> viele Ebenen aus symbolischen Links
> cp: Aufruf von stat für „binary/dists/testing/squeeze“ nicht möglich: Zu
> viele Ebenen aus symbolischen Links
> cp: Aufruf von stat für „binary/dists/frozen/squeeze“ nicht möglich: Zu
> viele Ebenen aus symbolischen Links
> P: Begin unmounting filesystems...
> 
> An image is created only in chroot/binary.img.
> Is this correct? Although after copying it to the usb-stick with dd,
> the stick does not boot, saying unbootable device. A ready downloaded
> image boots. I have checked the bootflag via gparted.
> I used live-helper from Sid on Squeeze. No use of binary_local-includes.
> 
> Thomas

-- 
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#601905; Package live-helper. (Sun, 31 Oct 2010 23:03:23 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Maass <mase@setho.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Sun, 31 Oct 2010 23:03:23 GMT) Full text and rfc822 format available.

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

From: Thomas Maass <mase@setho.org>
To: daniel@debian.org
Cc: 601905@bugs.debian.org
Subject: Re: Bug#601905: live-helper: Does not create image for usb
Date: Sun, 31 Oct 2010 23:56:46 +0100
[Message part 1 (text/plain, inline)]
It works now!
I forgot to install live-build.

Am Sonntag, den 31.10.2010, 00:41 +0200 schrieb Daniel Baumann: 
> retitle 601905 Does not create image for usb
> tag 601905 unreproducible
> tag 601905 moreinfo
> thanks
> 
> On 10/31/2010 12:33 AM, Thomas Maass wrote:
> > After a lh build for usb, the chroot is created, but the image creation fails
> > with
> > a message "too many levels of symbolic links".
> 
> sounds like a problem with symlinks in binary_local-includes. are you
> using that? if so, it's a local problem and you should fix your includes
> i guess.
> 
> if not, then please give all required information as outlined in
> http://live.debian.net/manual/en/html/live-manual.html#427
> 
> in the normal case, it's working, as can be seen from e.g.
> http://live.debian.net/cdimage/release/6.0_beta1/i386/usb-hdd/debian-squeeze-live-beta1-i386-gnome-desktop.img.log
> 

-- 
gpg-id: D31AAEEA
http://www.setho.org/people
[signature.asc (application/pgp-signature, inline)]

Reply sent to daniel@debian.org:
You have taken responsibility. (Mon, 01 Nov 2010 06:45:03 GMT) Full text and rfc822 format available.

Notification sent to Thomas Maass <inyourface@gmx.de>:
Bug acknowledged by developer. (Mon, 01 Nov 2010 06:45:03 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: Thomas Maass <mase@setho.org>
Cc: 601905-done@bugs.debian.org
Subject: Re: Bug#601905: live-helper: Does not create image for usb
Date: Mon, 01 Nov 2010 07:41:58 +0100
On 10/31/2010 11:56 PM, Thomas Maass wrote:
> It works now!
> I forgot to install live-build.

good, closing then.

-- 
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#601905; Package live-helper. (Tue, 02 Nov 2010 20:21:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Maass <mase@setho.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Tue, 02 Nov 2010 20:21:08 GMT) Full text and rfc822 format available.

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

From: Thomas Maass <mase@setho.org>
To: 601905@bugs.debian.org
Subject: Bug#601905: live-helper: Does not create image for usb
Date: Tue, 02 Nov 2010 21:19:09 +0100
[Message part 1 (text/plain, inline)]
Now the image isn't created any more.
I used this:

lb config --architecture i386 --packages-lists minimal --distribution
squeeze --binary-images usb-hdd --debian-installer true --language "de"
--bootappend-live "noautologin persistent" --mirror-binary
"http://ftp.debian.org/debian/" --mirror-binary-security
"http://security.debian.org/"

After a lb build only an image is created in the ~/live/chroot/, but not
in ~/live/
live-build was updated with Squeeze today.
-- 
gpg-id: D31AAEEA
http://www.setho.org/people
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#601905; Package live-helper. (Wed, 03 Nov 2010 17:27:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Maass <mase@setho.org>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Wed, 03 Nov 2010 17:27:02 GMT) Full text and rfc822 format available.

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

From: Thomas Maass <mase@setho.org>
To: 601905@bugs.debian.org
Subject: Bug#601905: live-helper: Does not create image for usb
Date: Wed, 03 Nov 2010 18:24:21 +0100
[Message part 1 (text/plain, inline)]
The problem is, that a symlink
binary/dists/squeeze/squeeze is created,
which points to squeeze. This is an invalid
symlink. Removing the symlink, and running
/usr/share/live/build/scripts/build/lb_binary
creates a working image.
-- 
gpg-id: D31AAEEA
http://www.setho.org/people

[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#601905; Package live-helper. (Wed, 03 Nov 2010 19:09: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>. (Wed, 03 Nov 2010 19:09:03 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel@debian.org>
To: Thomas Maass <mase@setho.org>
Cc: 601905@bugs.debian.org
Subject: Re: Bug#601905: live-helper: Does not create image for usb
Date: Wed, 03 Nov 2010 20:04:28 +0100
On 11/03/2010 06:24 PM, Thomas Maass wrote:
> The problem is, that a symlink
> binary/dists/squeeze/squeeze is created,
> which points to squeeze. This is an invalid
> symlink. Removing the symlink, and running
> /usr/share/live/build/scripts/build/lb_binary
> creates a working image.

we sort of fixed that two days ago in git already, yes.

-- 
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#601905; Package live-helper. (Fri, 05 Nov 2010 09:42:12 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rubik Andrey <tirnotaure@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 05 Nov 2010 09:42:12 GMT) Full text and rfc822 format available.

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

From: Rubik Andrey <tirnotaure@gmail.com>
To: 601905@bugs.debian.org
Subject: Bug#601905: live-helper: Does not create image for usb
Date: Fri, 05 Nov 2010 12:41:45 +0300
[Message part 1 (text/plain, inline)]
Hi all!

I have the same problem.

Live-helper version: 2.0.5+20101028.074457~60squeeze+1

Solution: 

rm -f binary/dists/squeeze/squeeze
&& /usr/share/live/build/scripts/build/lb_binary

didn't work for me...

I had received:

loop: can't delete device /dev/loop2: Device or resource busy

I try "/usr/share/live/build/scripts/build/lb_binary" again and had
received this:

Can't open /proc/2013/fd/3: No such file or directory
Cannot initialize 'S:'
Bad target s:/ldlinux.sys
syslinux: failed to create ldlinux.sys
P: Begin unmounting filesystems...


-- 
Best regards
Rubik Andrey
email: tirnotaure@gmail.com
GPGKey: 1024D / 2EA8E207 2010-03-01
7E60 4450 CD90 6E2D E949  6254 7FDC 5F5C 2EA8 E207
[signature.asc (application/pgp-signature, inline)]

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

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

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

From: Thomas Maass <mase@setho.org>
To: 601905@bugs.debian.org
Subject: Re: Bug#601905: live-helper: Does not create image for usb
Date: Fri, 05 Nov 2010 14:45:54 +0100
[Message part 1 (text/plain, inline)]
rm binary/dists/squeeze/squeeze && lb build
does the job.
-- 
gpg-id: D31AAEEA
http://www.setho.org/people
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#601905; Package live-helper. (Fri, 05 Nov 2010 14:09:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Rubik Andrey <tirnotaure@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 05 Nov 2010 14:09:03 GMT) Full text and rfc822 format available.

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

From: Rubik Andrey <tirnotaure@gmail.com>
To: 601905@bugs.debian.org
Subject: Bug#601905: live-helper: Does not create image for usb
Date: Fri, 05 Nov 2010 17:06:56 +0300
[Message part 1 (text/plain, inline)]
Live-build version: 2.0.5+20101028.074457~60squeeze+1

However, I see this proplem only if I want include debian installer into
image.

I can build image without any problem when I use this (without
installer):

lb config \
--binary-images usb-hdd \
--distribution squeeze \
--volatile true \
--archive-areas main contrib non-free \
--packages-lists gnome \
--bootappend-live "locale=ru_RU.UTF-8 keyb=ru noautologin noxautologin
quickreboot silent" \
--language ru \
--hostname debian-live \
--apt-recommends true \
--apt-secure true \
--binary-indices true \
--debconf-frontend noninteractive \
--debconf-priority critical \
--memtest memtest86+ \
--mode debian \
--security true \
--win32-loader false \
--mirror-bootstrap http://mirror/debian/ \
--mirror-chroot http://mirror/debian/ \
--mirror-binary http://mirror/debian/

lb build



And what causes error (with installer):

lb config \
--binary-images usb-hdd \
--distribution squeeze \
--debian-installer true \
--debian-installer-gui true \
--debian-installer-distribution squeeze \
--volatile true \
--archive-areas main contrib non-free \
--packages-lists gnome \
--bootappend-live "locale=ru_RU.UTF-8 keyb=ru noautologin noxautologin
quickreboot silent" \
--language ru \
--hostname debian-live \
--apt-recommends true \
--apt-secure true \
--binary-indices true \
--debconf-frontend noninteractive \
--debconf-priority critical \
--memtest memtest86+ \
--mode debian \
--security true \
--win32-loader false \
--mirror-bootstrap http://mirror/debian/ \
--mirror-chroot http://mirror/debian/ \
--mirror-binary http://mirror/debian/

lb build


-- 
Best regards
Rubik Andrey
email: tirnotaure@gmail.com
GPGKey: 1024D / 2EA8E207 2010-03-01
7E60 4450 CD90 6E2D E949  6254 7FDC 5F5C 2EA8 E207
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#601905; Package live-helper. (Fri, 05 Nov 2010 15:54:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Arne Goetje <arne@linux.org.tw>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Fri, 05 Nov 2010 15:54:04 GMT) Full text and rfc822 format available.

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

From: Arne Goetje <arne@linux.org.tw>
To: 601905@bugs.debian.org
Subject: cp: cannot stat `binary/dists/squeeze/squeeze': Too many levels of symbolic links
Date: Fri, 05 Nov 2010 23:42:21 +0800
[Message part 1 (text/plain, inline)]
Hi there,

I have the same problem like the original poster.
Relevant bits from the binary.log:

------------snip---------------
P: Begin building binary usb image...
0+0 records in
0+0 records out
0 bytes (0 B) copied, 2.3466e-05 s, 0.0 kB/s
!!! The following error/warning messages can be ignored !!!
P: Mounting /dev/loop1 with offset 0
Warning: The resulting partition is not properly aligned for best
performance.
1+0 records in
1+0 records out
440 bytes (440 B) copied, 0.026872 s, 16.4 kB/s
P: Mounting /dev/loop1 with offset 512
mkfs.vfat 3.0.9 (31 Jan 2010)
Loop device does not match a floppy size, using default hd params
cp: cannot stat `binary/dists/stable/squeeze': Too many levels of
symbolic links
cp: cannot stat `binary/dists/frozen/squeeze': Too many levels of
symbolic links
cp: cannot stat `binary/dists/testing/squeeze': Too many levels of
symbolic links
cp: cannot stat `binary/dists/unstable/squeeze': Too many levels of
symbolic links
cp: cannot stat `binary/dists/squeeze/squeeze': Too many levels of
symbolic links
P: Begin unmounting filesystems...
------------snip----------------

live-build and live-helper version is 2.0.5-1 from testing, compiled
from debian testing source on a Ubuntu 10.10 and running on Ubuntu.

My auto/config looks like this:

#!/bin/sh
lb config noauto \
 --architecture i386 \
 -b usb-hdd \
 --cache true \
 --debian-installer live \
 --debian-installer-distribution squeeze \
 -d squeeze \
 --hostname debian \
 -k 686 \
 --memtest memtest86+ \
 --mirror-bootstrap http://ftp.tw.debian.org/debian/ \
 --mirror-chroot http://ftp.tw.debian.org/debian/ \
 --mode debian \
 -p lxde \
 --use-fakeroot false \
 --security true \
 --username debian \
 ${@}

Is anything missing there?

Cheers
Arne

-- 
Arne Götje (高盛華) <arne@linux.org.tw>
PGP/GnuPG key: 1024D/685D1E8C
Fingerprint: 2056 F6B7 DEA8 B478 311F  1C34 6E9F D06E 685D 1E8C
Key available at wwwkeys.pgp.net.   Encrypted e-mail preferred.


[signature.asc (application/pgp-signature, attachment)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sat, 04 Dec 2010 07:30:48 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: Fri Apr 18 05:39:20 2014; Machine Name: buxtehude.debian.org

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