[buildd-tools-devel] Bug#549407: ivtools 1.2.6-1 FTBFS on sparc and powerpc
Agustin Martin
agustin.martin at hispalinux.es
Tue Dec 8 02:11:32 UTC 2009
2009/12/6 Agustin Martin <agmartin at debian.org>:
>
> Good news. I finally found the reason for this problem. An explanation
> was not that far. Quoting http://www.ivtools.org/ivtools/faq.html,
>
> -----------------------
> ... For example, most
> PC-based uses of gcc have i386 defined to 1, so a path like
> /usr/src/i386/ivtools-1.0 gets expanded to /usr/src/1/ivtools-1.0. ..
> -----------------------
>
> As I understand it, this problem should also be present in other
> packages using imake. Not sure if many packages still use imake, but
> if so there is a problem with the temporary dir naming in sbuild.
In case this is ever needed, seems that is enough to change to a
lowbar one of the hyphen $(ARCH) boundaries in tempdir name, like in
-----------------
--- Build.pm.orig 2009-11-20 19:48:42.000000000 +0100
+++ Build.pm 2009-12-07 01:00:07.000000000 +0100
@@ -233,7 +233,7 @@
$self->set('Chroot Build Dir',
tempdir($self->get_conf('USERNAME') . '-' .
$self->get('Package_SVersion') . '-' .
- $self->get('Arch') . '-XXXXXX',
+ $self->get('Arch') . '_XXXXXX',
DIR => $session->get('Build Location')));
# TODO: Don't hack the build location in; add a means to customise
# the chroot directly.
------------
Cheers,
--
Agustin
More information about the Buildd-tools-devel
mailing list