Your message dated Mon, 3 Feb 2025 08:11:47 +0100
with message-id <Z6BsM2CPbkw6Fy6E@vis>
and subject line Re: Bug#1094996: sbuild can't cross compile any packages
has caused the Debian Bug report #1094996,
regarding sbuild can't cross compile any packages
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1094996: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1094996
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: sbuild
Version: 0.88.2
Severity: normal
X-Debbugs-Cc: [email protected]
Dear Maintainer,
I was following the steps from https://wiki.debian.org/CrossCompiling to cross
compile a package for ppc64:
bogdan@dragon:~$ sbuild --host=ppc64 -d unstable ffmpeg_7.1
sbuild (Debian sbuild) 0.88.2 (16 January 2025) on dragon.licentia.eu
+==============================================================================+
| ffmpeg 7.1 (ppc64) Sun, 02 Feb 2025 11:40:17 +0000
|
+==============================================================================+
Package: ffmpeg
Version: 7.1
Source Version: 7.1
Distribution: unstable
Machine Architecture: amd64
Host Architecture: ppc64
Build Architecture: amd64
Build Profiles: cross nocheck
Build Type: any
I: Unpacking /home/bogdan/.cache/sbuild/unstable-amd64.tar to
/tmp/tmp.sbuild.9X99k9x0KI...
I: Setting up the chroot...
I: Creating chroot session...
I: Setting up log color...
I: Setting up apt archive...
+------------------------------------------------------------------------------+
| Update chroot Sun, 02 Feb 2025 11:40:19 +0000
|
+------------------------------------------------------------------------------+
Get:1 http://deb.debian.org/debian unstable InRelease [205 kB]
Get:2 http://deb.debian.org/debian unstable/main amd64 Packages [10.0 MB]
Fetched 10.2 MB in 1s (12.1 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+------------------------------------------------------------------------------+
| Fetch source files Sun, 02 Feb 2025 11:40:21 +0000
|
+------------------------------------------------------------------------------+
Check APT
---------
There are no deb-src lines in your sources.list
Automatically adding to EXTRA_REPOSITORIES: deb-src
http://deb.debian.org/debian/ sid main
+------------------------------------------------------------------------------+
| Update chroot Sun, 02 Feb 2025 11:40:21 +0000
|
+------------------------------------------------------------------------------+
Hit:1 http://deb.debian.org/debian unstable InRelease
Get:2 http://deb.debian.org/debian sid InRelease [205 kB]
Get:3 http://deb.debian.org/debian sid/main Sources [10.9 MB]
Fetched 11.1 MB in 1s (9843 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Checking available source versions...
E: apt-cache returned no information about ffmpeg source
E: Are there any deb-src lines in your /etc/apt/sources.list?
+------------------------------------------------------------------------------+
| Cleanup Sun, 02 Feb 2025 11:40:23 +0000
|
+------------------------------------------------------------------------------+
Purging /build/reproducible-path
Not cleaning session: cloned chroot in use
E: Failed to fetch source files
+------------------------------------------------------------------------------+
| Summary Sun, 02 Feb 2025 11:40:23 +0000
|
+------------------------------------------------------------------------------+
Build Architecture: amd64
Build Profiles: cross nocheck
Build Type: any
Build-Space: n/a
Build-Time: 0
Distribution: unstable
Fail-Stage: fetch-src
Foreign Architectures: ppc64
Host Architecture: ppc64
Install-Time: 0
Job: ffmpeg_7.1
Machine Architecture: amd64
Package: ffmpeg
Package-Time: 0
Source-Version: 7.1
Space: n/a
Status: given-back
Version: 7.1
--------------------------------------------------------------------------------
Finished at 2025-02-02T11:40:17Z
Build needed 00:00:00, no disk space
E: Failed to fetch source files
The same results I get if I'm targeting arm64, riscv64, etc.
Am I doing something wrong?
-- System Information:
Debian Release: trixie/sid
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.11-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=ro_RO.UTF-8, LC_CTYPE=ro_RO.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 sbuild depends on:
ii adduser 3.137
ii libsbuild-perl 0.88.2
ii perl 5.40.0-8
Versions of packages sbuild recommends:
ii autopkgtest 5.43
ii debootstrap 1.0.140
ii iproute2 6.13.0-1
ii mmdebstrap 1.5.6-2
ii schroot 1.6.13-6
ii uidmap 1:4.16.0-7
Versions of packages sbuild suggests:
ii e2fsprogs 1.47.2-1
ii kmod 33+20240816-2
ii wget 1.24.5-2+b1
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi BogDan,
* BogDan Vatra <[email protected]> [2025-02-03 08:39]:
I also tested hello as you mentioned ($ sbuild --host=ppc64 -d unstable
hello_2.10-3) and I got more or less the same results. I tried a few archs,
some succeeded and some did not.
Closing this as it works for some and the problem is not in sbuild.
None of the debian-ports archs that I tried (ppc64, riscv64, sparc64)
succeed, so my hunch is that debian-ports archs are not supported properly
or I'm doing something wrong :).
You are correct and I looks like I automatically substituted ppc64 by
ppc64el when testing it. More generally sbuild needs a
crossbuild-essential-<arch> package to cross build and there is non for
ppc64 nor sparc64 in the archive. The error for riscv64 is due to gcc-14
still building on the buildds.
Cheers Jochen
signature.asc
Description: PGP signature
--- End Message ---