Compiling software with same options
Lanoxx
lanoxx at gmx.net
Sun Jan 27 16:33:39 UTC 2013
On 27/01/13 17:21, Emmet Hikory wrote:
> Lanoxx wrote:
>> thanks a lot for this explanation. I tried it and everything works
>> until the last step. When I run sbuild, then it get a warning like
>> this:
>>
>> W: No chroots are defined in ‘/etc/schroot/schroot.conf’ or
>> ‘/etc/schroot/chroot.d’
>>
>> And the build finishes with this message:
>> Finished at 20130127-1604
>> Build needed 00:00:00, 0k disc space
>>
>> So it appears that no .deb package was generated, right? Do I need
>> to do something to set up the chroots?
> Yes, to use sbuild, you would need to set up build chroots. The
> sbuild documentation discusses a few ways to do this, and there are
> many variations you might find online. The simplest to document
> is to install the ubuntu-dev-tools package and run `mk-sbuild`,
> although this makes many assumptions about your environment and
> build preferences.
>
Thanks a lot. I found some documentation earlier and was able to setup
the chroot environment. I used [1] with some specific changes to fix
Ubuntu 12.10 such as
distribution=quantal
mirror=http://at.archive.ubuntu.com/ubuntu
The package has been building for a long time now (must been 30 minutes
or so). When I tried to install it on my local system just now I was
told something this:
dpkg: error processing libglib2.0-0:amd64 (--install):
package libglib2.0-0:amd64 2.34.1-1ubuntu2 cannot be configured
because libglib2.0-0:i386 is at a different version (2.34.1-1ubuntu1)
dpkg: error processing libglib2.0-0:i386 (--install):
package libglib2.0-0:i386 2.34.1-1ubuntu1 cannot be configured because
libglib2.0-0:amd64 is at a different version (2.34.1-1ubuntu2)
Errors were encountered while processing:
libglib2.0-0:amd64
I guess I need to invest another hour and build the 32bit package as
well. I find it unbelievable that I need one hour of package building to
apply a fix that is a single line of code. Particulaly since 'make'
finishes the task in about a minute.
Regards
Lanoxx
[1] http://wiki.debian.org/sbuild
More information about the Ubuntu-devel-discuss
mailing list