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

Re: reliability problem



I found the problem - I'm an idiot.
I was running lh_clean before my script got to my build directory.
Thanks anyway,
David

On Wed, 2009-02-25 at 10:31 +1100, David Cottrill wrote:
> Here we are...
> 
> As you can see it is skipping many things. My workaround currently is to
> delete the entire build directory and start from scratch each time -
> apt-cacher comes in handy for that.
> David
> 
> P: Cleaning chroot
> P: Setting up cleanup function
> P: Begin caching bootstrap stage...
> W: skipping bootstrap_cache.restore
> P: Begin bootstrapping system...
> W: skipping bootstrap
> P: Begin caching bootstrap stage...
> W: skipping bootstrap_cache.save
> P: Begin unmounting filesystems...
> P: Setting up cleanup function
> P: Begin caching chroot stage...
> P: Begin mounting /dev/pts...
> P: Begin mounting /proc...
> P: Begin mounting /sys...
> P: Configuring file /etc/debian_chroot
> P: Configuring file /sbin/start-stop-daemon
> P: Configuring file /usr/sbin/policy-rc.d
> P: Configuring file /etc/hosts
> P: Configuring file /etc/resolv.conf
> P: Configuring file /etc/hostname
> P: Configuring file /bin/hostname
> P: Configuring file /etc/apt/apt.conf
> W: skipping chroot_apt
> P: Configuring file /etc/apt/sources.list
> Hit http://security.debian.org lenny/updates
> Release.gpg                      
> Hit http://localhost lenny Release.gpg        
> Hit http://security.debian.org lenny/updates Release
> Hit http://localhost lenny Release            
> Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
> Hit http://security.debian.org lenny/updates/main Packages
> Ign http://localhost lenny/main Packages/DiffIndex
> Hit http://localhost lenny/main Packages
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> debian-archive-keyring is already the newest version.
> The following packages were automatically installed and are no longer
> required:
>   dosfstools mtools libparted1.8-10 syslinux-common
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Hit http://security.debian.org lenny/updates
> Release.gpg                      
> Hit http://localhost lenny Release.gpg        
> Hit http://security.debian.org lenny/updates Release
> Hit http://localhost lenny Release            
> Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
> Hit http://security.debian.org lenny/updates/main Packages
> Ign http://localhost lenny/main Packages/DiffIndex
> Hit http://localhost lenny/main Packages
> Reading package lists... Done
> P: Configuring file /etc/kernel-img.conf
> P: Begin executing preseed...
> P: Begin executing local preseeds...
> P: Begin installing tasks...
> P: Begin queueing installation of packages lists...
> W: skipping chroot_packageslists
> P: Begin queueing installation of packages...
> W: skipping chroot_packages
> P: Begin queueing installation of local packages...
> P: Begin installing packages...
> W: skipping chroot_install-packages
> P: Begin installing localization packages...
> W: skipping chroot_localization
> P: Begin copying chroot local includes...
> P: Begin applying chroot local patches...
> P: Configuring package sysvinit
> P: Begin executing local hooks...
> W: skipping chroot_local-hooks
> P: Begin executing hooks...
> P: Begin executing hacks...
> W: skipping chroot_hacks
> P: Deconfiguring file /etc/kernel-img.conf
> P: Deconfiguring file /etc/apt/sources.list
> Get:1 http://security.debian.org lenny/updates Release.gpg
> [189B]             
> Get:2 http://localhost lenny Release.gpg [386B]
> Get:3 http://security.debian.org lenny/updates Release [40.7kB]
> Get:4 http://localhost lenny Release [63.2kB]      
> Get:5 http://localhost lenny/main Packages [6909kB]   
> Get:6 http://security.debian.org lenny/updates/main Packages [42.6kB]
> Fetched 7056kB in 4s (1660kB/s)                             
> Reading package lists... Done
> P: Deconfiguring file /etc/apt/apt.conf
> P: Deconfiguring file /etc/hostname
> P: Deconfiguring file /bin/hostname
> P: Deconfiguring file /etc/resolv.conf
> P: Deconfiguring file /etc/hosts
> P: Deconfiguring file /usr/sbin/policy-rc.d
> P: Deconfiguring file /sbin/start-stop-daemon
> P: Deconfiguring file /etc/debian_chroot
> P: Begin unmounting /sys...
> P: Begin unmounting /selinux...
> P: Begin unmounting /proc...
> P: Begin unmounting /dev/pts...
> P: Begin caching chroot stage...
> P: Begin unmounting filesystems...
> P: Setting up cleanup function
> P: Begin copying chroot...
> W: skipping binary_chroot
> P: Begin mounting /dev/pts...
> P: Begin mounting /proc...
> P: Begin mounting /sys...
> P: Configuring file /etc/hosts
> P: Configuring file /etc/resolv.conf
> P: Configuring file /etc/hostname
> P: Configuring file /bin/hostname
> P: Configuring file /etc/apt/apt.conf
> P: Configuring file /etc/apt/sources.list
> Hit http://security.debian.org lenny/updates
> Release.gpg                      
> Hit http://localhost lenny Release.gpg        
> Hit http://security.debian.org lenny/updates Release
> Hit http://localhost lenny Release            
> Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
> Hit http://security.debian.org lenny/updates/main Packages
> Ign http://localhost lenny/main Packages/DiffIndex
> Hit http://localhost lenny/main Packages
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> debian-archive-keyring is already the newest version.
> The following packages were automatically installed and are no longer
> required:
>   dosfstools mtools libparted1.8-10 syslinux-common
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Hit http://security.debian.org lenny/updates
> Release.gpg                      
> Hit http://localhost lenny Release.gpg        
> Hit http://security.debian.org lenny/updates Release
> Hit http://localhost lenny Release            
> Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
> Hit http://security.debian.org lenny/updates/main Packages
> Ign http://localhost lenny/main Packages/DiffIndex
> Hit http://localhost lenny/main Packages
> Reading package lists... Done
> P: Begin building root filesystem image...
> W: skipping binary_rootfs
> P: Begin creating manifest...
> W: skipping binary_manifest
> P: Begin installing local packages lists...
> P: Begin install linux-image...
> W: skipping binary_linux-image
> P: Begin installing syslinux...
> W: skipping binary_syslinux
> P: Begin installing disk information...
> W: skipping binary_disk
> P: Begin copying win32-loader...
> W: skipping binary_win32-loader
> P: Begin copying binary includes...
> W: skipping binary_includes
> P: Begin copying binary local includes...
> P: Begin executing local hooks...
> P: Begin creating binary md5sum.txt...
> W: skipping binary_md5sum
> P: Begin building binary usb-hdd image...
> W: skipping binary_usb-hdd
> P: Deconfiguring file /etc/hostname
> P: Deconfiguring file /bin/hostname
> P: Deconfiguring file /etc/resolv.conf
> P: Deconfiguring file /etc/hosts
> P: Begin unmounting /sys...
> P: Begin unmounting /selinux...
> P: Begin unmounting /proc...
> P: Begin unmounting /dev/pts...
> P: Begin unmounting filesystems...
> P: Setting up cleanup function
> P: Configuring file /etc/hosts
> P: Configuring file /etc/resolv.conf
> P: Configuring file /etc/hostname
> P: Configuring file /bin/hostname
> P: Configuring file /etc/apt/sources.list
> Hit http://security.debian.org lenny/updates
> Release.gpg                      
> Hit http://localhost lenny Release.gpg        
> Hit http://security.debian.org lenny/updates Release
> Hit http://localhost lenny Release            
> Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
> Hit http://security.debian.org lenny/updates/main Packages
> Ign http://localhost lenny/main Packages/DiffIndex
> Hit http://localhost lenny/main Packages
> Reading package lists... Done
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> Calculating upgrade... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> debian-archive-keyring is already the newest version.
> The following packages were automatically installed and are no longer
> required:
>   dosfstools mtools libparted1.8-10 syslinux-common
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Hit http://security.debian.org lenny/updates
> Release.gpg                      
> Hit http://localhost lenny Release.gpg        
> Hit http://security.debian.org lenny/updates Release
> Hit http://localhost lenny Release            
> Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
> Hit http://security.debian.org lenny/updates/main Packages
> Ign http://localhost lenny/main Packages/DiffIndex
> Hit http://localhost lenny/main Packages
> Reading package lists... Done
> P: Deconfiguring file /etc/hostname
> P: Deconfiguring file /bin/hostname
> P: Deconfiguring file /etc/resolv.conf
> P: Deconfiguring file /etc/hosts
> P: Begin unmounting filesystems...
> 
> 
> 
> On Wed, 2009-02-25 at 09:50 +1100, David Cottrill wrote:
> > I'll send out a log next time it happens...
> > Thanks again,
> > David
> > 
> > 
> > On Tue, 2009-02-24 at 06:16 +0100, Daniel Baumann wrote:
> > > David Cottrill wrote:
> > > > What is the correct way to call the build scripts after changing
> > > > configuration?
> > > 
> > > depends on what changes you make. whichwever stage is influenced by that
> > > needs to be rebuild.
> > > 
> > > > Currently I'm using
> > > > lh_clean
> > > > lh_config clean
> > > > lh_config $NEW_OPTIONS
> > > > lh_build
> > > 
> > > assuming that you don't change options that influence bootstrap stage,
> > > and that you don't select an non-working combination of options
> > > (lh_config will warn you about it if so), this is safe.
> > > 
> > > (btw, calling lh_config clean before an lh_config defeats the purpose of
> > > running lh_config clean in the first place; but it's no harm, it's just
> > > useless).
> > > 
> > > > Frequently the build fails silently because it hasn't noticed the
> > > > changes made (I assume).
> > > 
> > > what exactly fails? without a log of the failure, we might not be able
> > > to help you at all.
> > > 
> > > Regards,
> > > Daniel
> > > 
> > > -- 
> > > Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
> > > Email:          daniel.baumann@panthera-systems.net
> > > Internet:       http://people.panthera-systems.net/~daniel-baumann/
> > > 
> > > 
> > 
> > 
> 
> 


Reply to: