Mailinglist Archive: opensuse-buildservice (250 mails)

< Previous Next >
Re: [opensuse-buildservice] How to build deb packages
  • From: Richard Bos <rbos@xxxxxxxxxxxx>
  • Date: Thu, 2 Apr 2009 13:05:06 +0200
  • Message-id: <200904021305.06915.rbos@xxxxxxxxxxxx>
Op donderdag 02 april 2009 09:56:11 schreef Michael Schroeder:
On Wed, Apr 01, 2009 at 11:52:10PM +0200, Richard Bos wrote:
Which seems to be known one, it was reported 2 months ago:
http://lists.opensuse.org/opensuse-buildservice/2009-01/msg00067.html
http://lists.opensuse.org/opensuse-buildservice/2009-01/msg00070.html

Would it be possible to adapt the Debtransformer and have tar.bz2 files
be repackaged into tar.gz files? For rpms bz2 is required, and to have
multiple tar files of the same version for 1 project seems to be against
the philosophy of the build service...

No, rpm doesn't require bz2 (why should it). Just use a gzipped
tarball if you also want to build debs.


I changed to gz and tried to build for Ubuntu-8.10. I now get:

ib2008> osc build xUbuntu_8.10 i586 *dsc

/usr/lib/python2.6/site-packages/osc/conf.py:324: DeprecationWarning: Use of
the 'scheme' or 'apisrv' config option is deprecated!
DeprecationWarning)

Building ib2008.dsc for xUbuntu_8.10/i586

Getting buildinfo from server

Updating cache of required packages

Writing build configuration

Getting buildconfig from server

Running build

sudo /usr/bin/build --root=/var/tmp/build-root-xUbuntu_8.10-i586
--rpmlist=/tmp/rpmlist.D7paBa --dist=/tmp/buildconfig.b3fDuP --arch=i586
ib2008.dsc --norootforbuild --changelog --debug

logging output to /var/tmp/build-root-xUbuntu_8.10-i586/.build.log...

Memory limit set to 2049976KB

Using BUILD_ROOT=/var/tmp/build-root-xUbuntu_8.10-i586

Using BUILD_ARCH=i586:i486:i386



med111 started "build ib2008.dsc" at Thu Apr 2 12:58:53 CEST 2009.


processing specfile /home...../ib2008/ib2008.dsc...
running changelog2spec --target debian --file /home......./ib2008/ib2008.dsc
init_buildsystem --rpmlist /tmp/rpmlist.D7paBa /home/...../ib2008/ib2008.dsc ...
preinstalling bash...

preinstalling perl-base...

preinstalling sed...

preinstalling grep...

preinstalling coreutils...

preinstalling debianutils...

preinstalling libc6...

preinstalling libncurses5...

preinstalling libacl1...

preinstalling libattr1...

preinstalling libreadline5...

preinstalling tar...

preinstalling gawk...

preinstalling dpkg...

preinstalling sysv-rc...

preinstalling gzip...

preinstalling base-files...

preinstalling readline-common...

ar:
/var/tmp/build-root-xUbuntu_8.10-i586/.init_b_cache/rpms/readline-common.deb:
File format not recognized
tar: control.tar.gz: Cannot open: No such file or directory

tar: Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error exit delayed from previous errors

tar: data.tar.gz: Cannot open: No such file or directory

tar: Error is not recoverable: exiting now

tar: Child returned status 2

tar: Error exit delayed from previous errors
preinstalling libselinux1...
preinstalling libsepol1...
preinstalling belocs-locales-bin...
preinstalling util-linux...
running base-files preinstall script
running base-files postinstall script
chown: invalid user: `root:root'
reordering.../var/tmp/build-root-xUbuntu_8.10-i586/.init_b_cache/rpms/readline-common.deb:
not a debian package
bad binary: readline-common.deb
done
removing nis flags from
/var/tmp/build-root-xUbuntu_8.10-i586/etc/nsswitch.conf...
now finalizing build dir...
running debian transformer...
chroot: cannot run command `su': No such file or directory
-----------------------------------------------------------------
----- building ib2008.dsc (user abuild)
-----------------------------------------------------------------
-----------------------------------------------------------------
chroot: cannot run command `su': No such file or directory

The buildroot was: /var/tmp/build-root-xUbuntu_8.10-i586

Does it have something to do with the restart of the build service today
between 10 and 12?

--
Richard

--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups