Hi,
On Wed, Sep 03, 2025 at 08:49:58AM -0700, Keith Packard wrote:
> Package: git-buildpackage
> Version: 0.9.38
> Severity: wishlist
> X-Debbugs-Cc: [email protected]
> 
> It would be convenient to have an easy way to use gbp buildpackage for cross
> compiling
> packages. Right now, I pass the --host-arch=arm64 parameter using
> GIT_PBUILDER_OPTIONS:
> 
> $ export GIT_PBUILDER_OPTIONS="--host-arch=arm64"
> $ gbp buildpackage
> 
> 
> It would be nice to have something like --git-host-arch to mirror the existing
> --git-arch
> option:
> 
> $ gbp buildpackage --git-host-arch=arm64

Makes sense. We should also amend `git-pbuilder` slightly to read a
`GIT_PBUILDER_HOST_ARCH` to be consistent with what we do for `--git-arch`.

Am I assuming correctly that you're using plain
/var/cache/pbuilder/base.cow/ / /var/cache/pbuilder/base-$DIST.cow for
that or do you have special chroots setup for that purpose?

Cheers,
 -- Guido

> 
> 
> -- System Information:
> Debian Release: forky/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 
> 'oldstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
> 
> Kernel: Linux 6.16.3+deb14-amd64 (SMP w/8 CPU threads; PREEMPT)
> Kernel taint flags: TAINT_USER
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not 
> set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages git-buildpackage depends on:
> ii  devscripts        2.25.19
> ii  git               1:2.51.0-1
> ii  man-db            2.13.1-1
> ii  python3           3.13.7-1
> ii  python3-dateutil  2.9.0-4
> ii  python3-yaml      6.0.2-2
> ii  sensible-utils    0.0.26
> 
> Versions of packages git-buildpackage recommends:
> ii  cowbuilder        0.90
> ii  pbuilder          0.231.1
> ii  pristine-tar      1.50+nmu2
> ii  python3-requests  2.32.5+dfsg-1
> ii  sbuild            0.90.2
> 
> Versions of packages git-buildpackage suggests:
> ii  python3-notify2  0.3.1-1
> ii  sudo             1.9.17p2-1
> ii  unzip            6.0-29
> 
> -- no debconf information

Reply via email to