Am Dienstag, 11. Mai 2010, 18:26:40 schrieb Dmitrijs Ledkovs:
Right well then further trianging is needed.
$ osc meta prj home:dmitrijledkov
<project name="home:dmitrijledkov"> <title>dmitrijledkov's Home Project</title> <description>Xiphos and things</description> <person role="maintainer" userid="dmitrijledkov"/> <person role="bugowner" userid="dmitrijledkov"/> <repository name="xUbuntu_10.04"> <path repository="standard" project="Ubuntu:10.04"/> <arch>x86_64</arch> <arch>i586</arch> </repository> </project>
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
Am I still pulling in the current Ubuntu:10.04 repository configuration and then mine added on top?
If yes then bisection is required then by merging the two configs together and testing whether it works.
Afaik the current setup in Ubuntu:10.04 is working now (Thanks a lot to bitshuffler, who debugged the missing Preinstall packages). I still don't like the config with almost everything in Preinstall. It means the packages get unpacked twice (one time from external without running scripts and again from internal VM with running scripts). In case someone starts to try bootstrap Ubuntu inside of OBS this config would also lead to an imense large boot strap cycle.
Also how do you do local osc build?
Just run "osc build"
Does it create a chroot to pull in deb packages to the local machine from Ubuntu mirror?
Yes, execpt that the debian/ubuntu mirror layout prevents us from using a mirror, so every single package gets downloaded from api.o.o :/ (you can also use kvm or xen builds like on our servers for secure build enviroment btw).
Cause I'm struggling to understand how it works if the local machine is e.g. openSUSE and user tries to do local osc build for Ubuntu.
I can promise that this works :) This is how I debugged some of the issues. bye adrian
On 11 May 2010 14:36, Luke Imhoff
wrote: I tried building against your home project and it still failed, so something in my local environment, probably some change I made to osc locally, is causing the problem.
On Tue, 2010-05-04 at 10:43 -0500, Luke Imhoff wrote:
Memory limit set to 10833928KB Using BUILD_ROOT=/tmp/root_1 Using BUILD_ARCH=x86_64:i686:i586:i486:i386
rsisys3 started "build python-cmdln.dsc" at Tue May 4 07:21:15 PDT 2010.
Building python-cmdln for project 'devel:languages:python' repository 'xUbuntu_10.04' arch 'x86_64' srcmd5 'bc48bb0a9b3731d4ba4b8a50df94c64f'
processing specfile /tmp/root_1/.build-srcdir/python-cmdln.dsc ... running changelog2spec --target debian --file /tmp/root_1/.build-srcdir/python-cmdln.dsc init_buildsystem --clean --rpmlist /tmp/root_1/.build.rpmlist /tmp/root_1/.build-srcdir/python-cmdln.dsc build rpmlint-Factory ... preinstalling adduser... preinstalling base-files... preinstalling base-passwd... preinstalling bash... preinstalling bsdutils... preinstalling busybox-initramfs... preinstalling coreutils... preinstalling cpio... preinstalling dash... preinstalling debconf... preinstalling debconf-i18n... preinstalling debianutils... preinstalling diffutils... preinstalling dpkg... preinstalling e2fslibs... preinstalling e2fsprogs... preinstalling findutils... preinstalling gcc-4.4-base... preinstalling grep... preinstalling gzip... preinstalling hostname... preinstalling ifupdown... preinstalling initramfs-tools... preinstalling initramfs-tools-bin... preinstalling initscripts... preinstalling insserv... preinstalling klibc-utils... preinstalling libacl1... preinstalling libattr1... preinstalling libblkid1... preinstalling libc-bin... preinstalling libc6... preinstalling libcomerr2... preinstalling libdb4.8... preinstalling libdbus-1-3... preinstalling libdrm-intel1... preinstalling libdrm-nouveau1... preinstalling libdrm-radeon1... preinstalling libdrm2... preinstalling libgcc1... preinstalling libglib2.0-0... preinstalling libklibc... preinstalling liblocale-gettext-perl... preinstalling libncurses5... preinstalling libnih-dbus1... preinstalling libnih1... preinstalling libpam-modules... preinstalling libpam-runtime... preinstalling libpam0g... preinstalling libpcre3... preinstalling libplymouth2... preinstalling libpng12-0... preinstalling libselinux1... preinstalling libsepol1... preinstalling libslang2... preinstalling libss2... preinstalling libssl0.9.8... preinstalling libstdc++6... preinstalling libtext-charwidth-perl... preinstalling libtext-iconv-perl... preinstalling libtext-wrapi18n-perl... preinstalling libudev0... preinstalling libusb-0.1-4... preinstalling libuuid1... preinstalling locales... preinstalling login... preinstalling lsb-base... preinstalling lzma... preinstalling makedev... preinstalling mawk... preinstalling module-init-tools... preinstalling mount... preinstalling mountall... preinstalling ncurses-base... preinstalling ncurses-bin... preinstalling net-tools... preinstalling netbase... preinstalling passwd... preinstalling perl-base... preinstalling plymouth... preinstalling procps... preinstalling python-minimal... preinstalling python2.6-minimal... preinstalling sed... preinstalling sensible-utils... preinstalling sysv-rc... preinstalling sysvinit-utils... preinstalling tar... preinstalling tzdata... preinstalling udev... preinstalling upstart... preinstalling util-linux... preinstalling zlib1g... preinstalling apt... preinstalling binutils... preinstalling build-essential... preinstalling bzip2... preinstalling ca-certificates... preinstalling cpp... preinstalling cpp-4.4... preinstalling dpkg-dev... preinstalling fakeroot... preinstalling g++... preinstalling g++-4.4... preinstalling gcc... preinstalling gcc-4.4... preinstalling gnupg... preinstalling gnupg-curl... preinstalling gpgv... preinstalling libbz2-1.0... preinstalling libc-dev-bin... preinstalling libc6-dev... preinstalling libcurl3-gnutls... preinstalling libgcrypt11... preinstalling libgdbm3... preinstalling libgmp3c2... preinstalling libgnutls26... preinstalling libgomp1... preinstalling libgpg-error0... preinstalling libgssapi-krb5-2... preinstalling libidn11... preinstalling libk5crypto3... preinstalling libkeyutils1... preinstalling libkrb5-3... preinstalling libkrb5support0... preinstalling libldap-2.4-2... preinstalling liblzma1... preinstalling libmpfr1ldbl... preinstalling libreadline6... preinstalling libsasl2-2... preinstalling libsasl2-modules... preinstalling libstdc++6-4.4-dev... preinstalling libtasn1-3... preinstalling libtimedate-perl... preinstalling linux-libc-dev... preinstalling make... preinstalling manpages... preinstalling manpages-dev... preinstalling openssl... preinstalling patch... preinstalling perl... preinstalling perl-modules... preinstalling readline-common... preinstalling ubuntu-keyring... preinstalling xz-utils... Calculating installed packages... reordering...cycle: libc6 -> libc-bin breaking dependency libc6 -> libc-bin cycle: debconf -> debconf-i18n breaking dependency debconf-i18n -> debconf cycle: libc6 -> debconf -> debconf-i18n -> liblocale-gettext-perl breaking dependency libc6 -> debconf cycle: libc6 -> libgcc1 breaking dependency libc6 -> libgcc1 cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> liblocale-gettext-perl breaking dependency debconf-i18n -> liblocale-gettext-perl cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-iconv-perl breaking dependency debconf-i18n -> libtext-iconv-perl cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-wrapi18n-perl -> libtext-charwidth-perl breaking dependency libtext-charwidth-perl -> libc6 cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-wrapi18n-perl -> libtext-charwidth-perl -> perl-base breaking dependency perl-base -> libc6 cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-wrapi18n-perl -> libtext-charwidth-perl -> perl-base -> dpkg breaking dependency dpkg -> libc6 cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-wrapi18n-perl -> libtext-charwidth-perl -> perl-base -> dpkg -> coreutils -> libacl1 -> libattr1 breaking dependency coreutils -> libacl1 cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-wrapi18n-perl -> libtext-charwidth-perl -> perl-base -> dpkg -> coreutils -> libattr1 breaking dependency coreutils -> libattr1 cycle: libc6 -> tzdata -> debconf -> debconf-i18n -> libtext-wrapi18n-perl -> libtext-charwidth-perl -> perl-base -> dpkg -> coreutils breaking dependency libc6 -> tzdata cycle: libc6 -> findutils breaking dependency libc6 -> findutils cycle: perl -> perl-modules breaking dependency perl -> perl-modules cycle: libpam-modules -> base-files breaking dependency libpam-modules -> base-files cycle: upstart -> initscripts breaking dependency upstart -> initscripts cycle: upstart -> mountall -> udev breaking dependency udev -> upstart cycle: upstart -> mountall -> udev -> module-init-tools breaking dependency udev -> module-init-tools cycle: upstart -> mountall -> udev -> initramfs-tools -> module-init-tools breaking dependency mountall -> udev cycle: upstart -> mountall -> plymouth breaking dependency plymouth -> upstart cycle: upstart -> mountall -> plymouth -> udev -> initramfs-tools -> module-init-tools breaking dependency upstart -> mountall cycle: upstart -> ifupdown breaking dependency upstart -> ifupdown cycle: g++-4.4 -> libstdc++6-4.4-dev breaking dependency g++-4.4 -> libstdc++6-4.4-dev cycle: initramfs-tools -> udev breaking dependency udev -> initramfs-tools cycle: mountall -> plymouth breaking dependency plymouth -> mountall done 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
On Tue, 2010-05-04 at 10:20 -0500, Dmitrijs Ledkovs wrote:
On 4 May 2010 15:25, Luke Imhoff
wrote: 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
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org