On 4 May 2010 15:25, Luke Imhoff
Ok, so I can get the build past the pre-install and into the install state, but then I get
installing autotools-dev_20090611.1 tar: ./md5sums: Cannot utime: Bad file descriptor tar: ./control: Cannot utime: Bad file descriptor tar: .: Cannot utime: Bad file descriptor tar: Exiting with failure status due to previous errors dpkg-deb: subprocess tar returned error exit status 2 dpkg: error processing .init_b_cache/autotools-dev.deb (--install): subprocess dpkg-deb --control returned error exit status 2 Errors were encountered while processing: .init_b_cache/autotools-dev.deb
Any ideas?
Can I query full buildlog please? cause it looks like the problem started earlier. And maybe all those other fields were defined on purpose. you can look up home:dmitrijledkov/debhelper & home:dmitrijledkov/sword they both have sucessful 10.04 builds there. utime is part of the default set / base system in general so something didn't get installed? Random guesses here.....
On Tue, 2010-05-04 at 08:58 -0500, Dmitrijs Ledkovs wrote:
As far as deboostrap works on buildds, pbuilder, sbuild & generating debian/ubuntu installer-cd you should not have any other fields at all.
This set of packages is carefully marked with build-essentials and minimal control fields in the ubuntu/debian archive and debootstrap has done full resolve of dependencies.
I can send over the logs of deboostrap if you would like to have the exact sequence of boostrating debian-like distro in the subdir.
I did not manage to override other fields defined in Ubuntu:10.04 to test it without other fields that are currently defined in 10.04 & 09.10.
I wonder if you can modify osd itself or use magic of the prjconf cause to debootstrap any debian/ubuntu release you do need to
1) preinstall deboostrap 2) $ sudo deboostrap --variant=buildd <codename> <dir-to-create-deboostrap-in> & appropriate args pointing at the local mirror.
Pbuilder script wraps around that and keep the deboostraped environment as a tarball and during each build simply unpacks it into tempdir. Keeping the deboostrapped environment does required running --upgrade in it to get security fixes for example.
In anycase there shouldn't be required to specify anything else except for PreInstall: the packageset I have provided. All of this packages should be "kept" if I understand this keyword correctly cause they are meant to be guaranteed to be availaible in the builddaemon.
You might want to drop ubuntu-keyring if you are validating local mirror already and it is propected from contamination.
On 4 May 2010 14:42, Luke Imhoff
wrote: What about the other directive in the prjconf like VMinstall, Runscripts, Support, Required, Keep, Prefer, Conflict, Ignore, Substitute that were in the Ubuntu:9.10 prjconf? Should those just work and I only need to change the Preinstall's?
On Mon, 2010-05-03 at 18:14 -0500, Dmitrijs Ledkovs wrote:
Preinstall: adduser base-files base-passwd bash bsdutils busybox-initramfs coreutils cpio Preinstall: dash debconf debconf-i18n debianutils diffutils dpkg e2fslibs e2fsprogs Preinstall: findutils gcc-4.4-base grep gzip hostname ifupdown initramfs-tools Preinstall: initramfs-tools-bin initscripts insserv klibc-utils libacl1 libattr1 libblkid1 Preinstall: libc-bin libc6 libcomerr2 libdb4.8 libdbus-1-3 libdrm-intel1 libdrm-nouveau1 Preinstall: libdrm-radeon1 libdrm2 libgcc1 libglib2.0-0 libklibc liblocale-gettext-perl Preinstall: libncurses5 libnih-dbus1 libnih1 libpam-modules libpam-runtime libpam0g libpcre3 Preinstall: libplymouth2 libpng12-0 libselinux1 libsepol1 libslang2 libss2 libssl0.9.8 Preinstall: libstdc++6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl Preinstall: libudev0 libusb-0.1-4 libuuid1 locales login lsb-base lzma makedev mawk Preinstall: module-init-tools mount mountall ncurses-base ncurses-bin net-tools netbase Preinstall: passwd perl-base plymouth procps python-minimal python2.6-minimal sed Preinstall: sensible-utils sysv-rc sysvinit-utils tar tzdata udev upstart util-linux zlib1g Preinstall: apt binutils build-essential bzip2 ca-certificates cpp cpp-4.4 dpkg-dev fakeroot Preinstall: g++ g++-4.4 gcc gcc-4.4 gnupg gnupg-curl gpgv libbz2-1.0 libc-dev-bin libc6-dev Preinstall: libcurl3-gnutls libgcrypt11 libgdbm3 libgmp3c2 libgnutls26 libgomp1 Preinstall: libgpg-error0 libgssapi-krb5-2 libidn11 libk5crypto3 libkeyutils1 libkrb5-3 Preinstall: libkrb5support0 libldap-2.4-2 liblzma1 libmpfr1ldbl libreadline6 libsasl2-2 Preinstall: libsasl2-modules libstdc++6-4.4-dev libtasn1-3 libtimedate-perl linux-libc-dev Preinstall: make manpages manpages-dev openssl patch perl perl-modules readline-common Preinstall: ubuntu-keyring xz-utils
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org