[Buildd-tools-devel] Bug#478044: Bug#478044: consider building under /build/$user/$arch/$pkg please

Roger Leigh rleigh at whinlatter.ukfsn.org
Sun Apr 27 17:57:06 UTC 2008


martin f krafft <madduck at debian.org> writes:

> sbuild builds package foo at /build/$USERNAME/foo-1.0. For various
> reasons, I would like to use a bind mount for /build across several
> chroots, including chroots of different architectures. This might
> cause clashes if the same package is built on two different
> architectures at the same time. This problem could be prevented if
> the architecture became part of the path, e.g.
> /build/$USERNAME/$arch/foo-1.0.

I have implemented something similar earlier today as part of another
feature: making puring of the build directory more reliable.

sbuild now creates /build/user-package_version-XXXXXX/ in the chroot,
and all the files go in there.  If you like, I can add arch-package or
package-arch as part of that, but the XXXXXX for the temporary part
should prevent conflicts.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080427/7803439d/attachment-0001.pgp 


More information about the Buildd-tools-devel mailing list