#432192 pdebuild: support cross-arch build (e.g. DEB_{HOST,BUILD,TARGET}_ARCH stuff)

#432192#5
Date:
2007-07-08 10:32:19 UTC
From:
To:
Hello,

I've amd64 Debian on my workstation. Using pbuilder I created an environment
to build i386 packages using pdebuild. Everything works good except signing
the package. At the end of build process I receive an error message:
debsign: Can't find or can't read changes file /home/arturcz/debs/sid32/libqglviewer_2.2.2-3-0+4_amd64.changes!
There is libqglviewer_2.2.2-3-0+4_i386.changes file to be signed.

My .pbuilderrc file:
BASETGZ=/home/arturcz/.pbuilder/sid-32-build.tgz
BUILDPLACE=/smietnik
BUILDRESULT=/home/arturcz/debs/sid32
MIRRORSITE=http://http.us.debian.org/debian
USEPROC=yes
USEDEVPTS=yes
DISTRIBUTION=sid
APTCACHE=/tmp/aptcache32
APTCACHEHARDLINK=no
DEBEMAIL="Artur R. Czechowski <arturcz@hell.pl>"
BUILDUSERID=1000
BUILDUSERNAME=arturcz
TIMEOUT_TIME=3600
DEBOOTSTRAPOPTS[0]='-fbuild'
DEBOOTSTRAPOPTS[1]='-arch=i386'
DEBOOTSTRAP=cdebootstrap
export DEBIAN_BUILDARCH=i386
DEBBUILDOPTS='-B -ai386'
AUTO_DEBSIGN=yes

Regards
	Artur

#432192#10
Date:
2007-07-09 09:46:17 UTC
From:
To:
you're forgetting to set DEB_HOST_ARCH

regards,
	junichi

#432192#15
Date:
2007-07-09 16:26:41 UTC
From:
To:
You're right.
Please consider my bugreport as a wishlist to create an unified support
for pbuilder arch differs from host arch. It would be nice to put just
sth like: PBUILDER_ARCH=foo into .pbuilderrc and use it ether for create
a brand new pbuilder tarball as for compile package for different arch.
Or, if you think it is unnecesary, just close the bug.

Thank you for support :)

Best regards
	Artur

#432192#20
Date:
2007-07-09 22:39:53 UTC
From:
To:
Hi,


Well, there is already a '--arch' option for qemubuilder, it can be
implemented to pbuilder also.


However, I think I need the full list of things that's required for
full arch support before I commit into doing arch stuff.

I think pbuilder will treat i386 / amd64 case specially; I am not sure
if other cases really exist.



regards,
	junichi

#432192#27
Date:
2009-12-12 12:28:35 UTC
From:
To:
# After browsing through all bugreports submitted by me I found the
# following ones or as fixed (at least I cannot reproduce the bug
# anymore), or I am just simple not interested in fixing them due
# to some other reasons. As a maintainer you can simply close them,
# I don't mind.

# 432017 - works for me now
submitter 432017 !

# 294115 - see the bugreport for explanation
submitter 294115 !

# 338386 - works for me now
submitter 338386 !

# 432192 - solution given by maintainer, works for me
submitter 432192 !

# 451639 - already not interested in having this implemented
submitter 451639 !