Debian Bug report logs - #614370
live-build: sysllinux failes with: mkdir: cannot create directory `': No such file or directory

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: "Stefan Voelkel" <bd@bc-bd.org>

Date: Mon, 21 Feb 2011 13:45:02 UTC

Severity: normal

Tags: patch

Found in version live-build/2.0.12-2

Done: Daniel Baumann <daniel.baumann@progress-technologies.net>

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#614370; Package live-build. (Mon, 21 Feb 2011 13:45:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Stefan Voelkel" <bd@bc-bd.org>:
New Bug report received and forwarded. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 21 Feb 2011 13:45:05 GMT) Full text and rfc822 format available.

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

From: "Stefan Voelkel" <bd@bc-bd.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: live-build: sysllinux failes with: mkdir: cannot create directory `': No such file or directory
Date: Mon, 21 Feb 2011 14:07:31 +0100
[Message part 1 (text/plain, inline)]
Package: live-build
Version: 2.0.12-2
Severity: normal

This is on Debian Squeeze:

...
P: Begin installing syslinux...
mkdir: cannot create directory `': No such file or directory
P: Begin unmounting filesystems...

Reproduceable with lb clean; lb build. binary.log attached.

	Stefan

-- Package-specific info:

-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-bpo.5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

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

Versions of packages live-build recommends:
ii  cpio                          2.11-4     GNU cpio -- a program to manage ar
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.11-1          Creates ISO-9660 CD-ROM filesystem
ii  grub                 0.97-64             GRand Unified Bootloader (dummy pa
ii  memtest86+           4.10-1.1            thorough real-mode memory tester
ii  mtools               4.0.12-1            Tools for manipulating MSDOS files
pn  parted               <none>              (no description available)
ii  squashfs-tools       1:4.0-8             Tool to create and append to squas
ii  sudo                 1.7.4p4-2.squeeze.1 Provide limited super user privile
ii  syslinux             2:4.02+dfsg-7       collection of boot loaders
pn  uuid-runtime         <none>              (no description available)
pn  win32-loader         <none>              (no description available)

-- no debconf information
[binary.log (text/plain, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#614370; Package live-build. (Mon, 21 Feb 2011 14:24:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Armstrong <synrg@sanctuary.nslug.ns.ca>:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 21 Feb 2011 14:24:05 GMT) Full text and rfc822 format available.

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

From: Ben Armstrong <synrg@sanctuary.nslug.ns.ca>
To: Stefan Voelkel <bd@bc-bd.org>, 614370@bugs.debian.org
Subject: Re: Bug#614370: live-build: sysllinux failes with: mkdir: cannot create directory `': No such file or directory
Date: Mon, 21 Feb 2011 10:21:45 -0400
The large # of "Skipping" messages indicates you did not build in a
clean build tree (maybe a prior build failed, leaving the build tree
broken?)  You should always build from a clean tree before filing bugs,
as per:

http://live.debian.net/manual/en/html/bugs.html#562

For future bug filings, please read and follow all the suggestions in
that chapter.  Thanks.

Ben




Reply sent to daniel.baumann@progress-technologies.net:
You have taken responsibility. (Mon, 21 Feb 2011 14:33:11 GMT) Full text and rfc822 format available.

Notification sent to "Stefan Voelkel" <bd@bc-bd.org>:
Bug acknowledged by developer. (Mon, 21 Feb 2011 14:33:11 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: Stefan Voelkel <bd@bc-bd.org>
Cc: 614370-done@bugs.debian.org
Subject: Re: Bug#614370: live-build: sysllinux failes with: mkdir: cannot create directory `': No such file or directory
Date: Mon, 21 Feb 2011 15:31:25 +0100
On 02/21/2011 03:21 PM, Ben Armstrong wrote:
> For future bug filings, please read and follow all the suggestions in
> that chapter.  Thanks.

also, the bts is not a 'please debug the output i got', closing. if in
doubt, ask on the mailinglist first.

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




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#614370; Package live-build. (Mon, 21 Feb 2011 14:45:11 GMT) Full text and rfc822 format available.

Acknowledgement sent to bd@bc-bd.org:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 21 Feb 2011 14:45:11 GMT) Full text and rfc822 format available.

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

From: bd@bc-bd.org
To: 614370@bugs.debian.org
Subject: LB_BINARY_IMAGES "wrong"
Date: Mon, 21 Feb 2011 15:06:36 +0100
Looks like my LB_BINARY_IMAGES was set "wrong"

How about this patch:

diff --git a/lb_binary_syslinux b/lb_binary_syslinux
index fa4d963..67d1615 100755
--- a/lb_binary_syslinux
+++ b/lb_binary_syslinux
@@ -402,6 +402,10 @@ case "${LB_BINARY_IMAGES}" in
                LIVE_DATA_PATH="${LIVE_SCREEN_PATH}"
                MEDIA="hd-media"
                ;;
+       default)
+               echo "Error: unsupported option '${LB_BINARY_IMAGES}' for LB_BINARY_IMAGES"
+               exit 1
+               ;;
 esac

 Check_multiarchitecture

-- 
BOFH excuse #357:

I'd love to help you -- it's just that the Boss won't let me near the computer. 




Added tag(s) patch. Request was from bd@bc-bd.org to control@bugs.debian.org. (Mon, 21 Feb 2011 14:45:12 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#614370; Package live-build. (Mon, 21 Feb 2011 16:18:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel.baumann@progress-technologies.net:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 21 Feb 2011 16:18:08 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: bd@bc-bd.org
Cc: 614370@bugs.debian.org
Subject: Re: Bug#614370: live-build: sysllinux failes with: mkdir: cannot create directory `': No such file or directory
Date: Mon, 21 Feb 2011 17:16:14 +0100
please keep the bts in the loop, otherwise your answer gets lost (and
please write english, so others who don't understand german can follow
the issue as well).

On 02/21/2011 03:47 PM, bd@bc-bd.org wrote:
>> also, the bts is not a 'please debug the output i got', closing. if in
>> doubt, ask on the mailinglist first.
> 
> hier soll keiner meinen output debuggen. live-build stürzt(e) reproduzierbar ab.
>
> wie im original report geschrieben, auch mit nach einem lb clean.

[translation: nobody needs to debug the output. live-build reproducible
crashes.

like i wrote in the original report, it crashes, even after an lb clean.]

in order to be able to fix bugs, we first need to be able to reproduce
it. in order to reproduce it, we need to first make sure, as the manual
says in detail, a) that you can reproduce it yourself and b) that you
give us enough information to reproduce it ourselfs.

for a), you're advised (as ben said) to rebuild from scratch with 'lb
clean --purge && lb build'. for b), a start would be to give the lb
config call you used.

> wie auch immer, ein patch und eine control@b.d.o mail hängen wohl noch in einer
> queue fest, nach den reaktionen gehe ich aber nicht davon aus, dass ihr daran
> interesse habt ...

[translation: however, a patch and a message to control@b.d.o seem to be
still in the queue, according to the answers i assume that you don't
have any interest in it...]

well, we're always interested in patches..

> 
> 	stefan
> 

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




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Live Project <debian-live@lists.debian.org>:
Bug#614370; Package live-build. (Mon, 21 Feb 2011 16:27:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to daniel.baumann@progress-technologies.net:
Extra info received and forwarded to list. Copy sent to Debian Live Project <debian-live@lists.debian.org>. (Mon, 21 Feb 2011 16:27:08 GMT) Full text and rfc822 format available.

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

From: Daniel Baumann <daniel.baumann@progress-technologies.net>
To: bd@bc-bd.org
Cc: 614370@bugs.debian.org
Subject: Re: Bug#614370: LB_BINARY_IMAGES "wrong"
Date: Mon, 21 Feb 2011 17:22:48 +0100
On 02/21/2011 03:06 PM, bd@bc-bd.org wrote:
> Looks like my LB_BINARY_IMAGES was set "wrong"
> 
> How about this patch:

thanks, but i think it's not the right way to "fix" it.

first, lb clearly documents which values are valid values as parameters
for the -b|--binary-images option. adding one that is called 'default'
(sic!) and failing on that with a warning doesn't make much sense. much
more sense would make to fail on all other values (which would be '*)'
in the case statement).

second, even when using the '*)' expression in the case statement, i
still think it's not the right way to fix it. lb should fail as early as
possible if the config is invalid. therefore, we do have a
'Check_defaults()' function in functions/defaults.sh.

and even there, i don't think we should fail hard (exit 1) on invalid
configs, but give a warning only: by that, we allow users to hook into
live-build for testing stuff and implementing additional features with
minimal changes required to lb itself. lb should only fail hard for
certain combinations that will never work (and we do have very few of
those, see Check_defaults in defaults.sh).

Regards,
Daniel

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




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 22 Mar 2011 07:39:08 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: Thu Apr 24 22:31:20 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.