• Re: sbuild wiki page - cross compiling section query

    From Jochen Sprickerhof@21:1/5 to All on Mon Jan 20 18:00:02 2025
    Hi Phil,

    * Phil Wyett <[email protected]> [2025-01-20 16:35]: >https://wiki.debian.org/sbuild

    https://wiki.debian.org/sbuild#Cross-compiling_packages


    On the sbuild wiki page in the cross compiling section should we be advising >users that they need to create a chroot for the {ARCH} they wish to cross build
    for and also have the relevant crossbuild-essential-{ARCH} package installed?

    No, why?

    Cross compiling means that you need that normal build arch chroot as
    initial set up. An other thing is using sbuild --arch=, that uses qemu
    most of the time, where you need the arch chroot.

    Cheers Jochen

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmeOf3gACgkQW//cwljm lDPeBg//Vqc6px023kVwFMhREvDS3xpgX9Iy5S7qQZRVc2g6KSh2GFwzlKreb8O/ 03ijJFcHiqShp4HR4s52LjDOD0W4QU8unCmbhWxjO9NS9ALLIZw4rIyoFbx34vW6 qzc8MSK3+mPqtj0uXx9LDE2KgNII0ydV+MCw8FqZF1kBHpj9huFvA7/UBruDK1Is RrWIJzNgeGUAXgpwziCgGQavr4Is9I/rduC4FqBYDivliDNAp9YgFOVDnEEjlHm1 K4j4mp9sMbpFS7NVUetMOjW8navKlak6NLpT7SpSQj3eTh1hpy+4noqUONCLlQow LjhUnFaC3twimUouaNiWg6256l7QK2yyIPbDfTG3frzU1t6yhcf3/BME0pFjgtvO Dzjn1t6imYOGKLLW9Wy6tXSKcLFSW57dRaW/gbAZHArI+ViPS7ER+JW0YgkcKOgx R4aLBNGqwoqRi+MqVLug7zKgQTpd59hcqUR8Ijv+H4qIvH7kNtOm6If7lTpo25e9 MAXmECZNI4lE1vwsFuvgYjzZMuYOx5dwGzOyoNiQbCQuhV/vLURC4Tf5wPycqDr/ etdXNxZ6B7Zg0dhbm07elwvOrtoiN5RjJGOENYKj5BJeOXWZgKtF+7WaI7Zr6UBF vpU3LNSCfdRRiEHkKnLtAYcr7pR3Z7zuYSiqikod5TXEIS3/s1o=
    =20ua
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Phil Wyett on Mon Jan 20 18:00:02 2025
    On Mon, Jan 20, 2025 at 04:35:12PM +0000, Phil Wyett wrote:
    https://wiki.debian.org/sbuild

    https://wiki.debian.org/sbuild#Cross-compiling_packages


    On the sbuild wiki page in the cross compiling section should we be advising users that they need to create a chroot for the {ARCH} they wish to cross build
    for and also have the relevant crossbuild-essential-{ARCH} package installed?

    Are you confusing cross-building with building in foreign chroots? The
    section you linked says "To build a package for arm64 in an amd64 chroot
    (as created above)".


    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmeOf/8tFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh B+EP/1FU/td62XLMqFZsmzySVDNl52XHrzZS9WDPhxMN46nKfygl1ctKixm88ZaA OfqDneykeGzZ3u+/eyl10dpjpZ82Krsn3neSS6lBeeGtBhy2JZG9kKrKcTbhQDFL stEEsfAEKun5sfSf/TdldrzuGYc6lP0W196x5vHcYUSI9f8vXsUgFC+MBtu3CwLO 8UfF0HqsV/9AU2Hq5ctpd0S5xoFFEiSKpmnccOYDJ8pe2iBjp1YKCz4LtI/9AQ/H l+nyfKaU0eh1Zbq/+Pmt/HG2rN6o17c1S1//gXtiCbbqzobMNIZRbg/j1vE1iTOi oZqr4UPHZ+QFNbyroEF/vm5u04c59mCYPgvN8wWc+EJ5+VQZL4LVzj82cF+n0dp8 llHpx8hqQTHHh0Yqg6/kKxox4+JXCvKLmEOAYUTy8+I6QeGIsqle0uvbwfVGbdme yp5tgQ8XdpdhWH+gZ6IqN//QsG1r78KSw3PsD/Bd7HtxZtgqRaUTN7E6GgvMniRa qvUvpqu1/Ex21xIXEtIG0MKCpg3rRdX+TbOzu0mURTnRw9zU4sMwY/1+gcC/CBdl Za8rdXeBMwuZfdFciTET6sdoyaSFN/Nem+A4qWpqix1T1szDBq7NKydt979IUr2O WGBgQfPUitfQuB2gu6kdh0uGhKahCLZ6NmQbK/DPUzBcZDzh
    =w3Zy
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phil Wyett@21:1/5 to All on Mon Jan 20 17:40:01 2025
    Hi all,

    https://wiki.debian.org/sbuild

    https://wiki.debian.org/sbuild#Cross-compiling_packages


    On the sbuild wiki page in the cross compiling section should we be advising users that they need to create a chroot for the {ARCH} they wish to cross build for and also have the relevant crossbuild-essential-{ARCH} package installed?

    Regards

    Phil

    --

    Donations...

    Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

    --

    "I play the game for the game’s own sake"

    Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

    --

    Internet Relay Chat (IRC): kathenas

    Website: https://kathenas.org

    Instagram: https://instagram.com/kathenasorg

    Threads: https://www.threads.net/@kathenasorg

    --


    -----BEGIN PGP SIGNATURE-----

    iQJOBAABCAA4FiEEcKCsRax3nv6E9jrtckqptS8CTIsFAmeOezUaHHBoaWxpcC53 eWV0dEBrYXRoZW5hcy5vcmcACgkQckqptS8CTItWhg//ffnob6QrVzNspw+HxLGM wdQEtk12aJLq9dF9/Cw3Y0f/twMNZMj9LO1Sk0l00Jy81Nr1yGwSD8nkRqyq0yHC 06zJJyf9UrCcduL+GOfODVKShSh8PFn64gzUuD4HQB3+PIwqLmvBHbKyeFgirVI+ ayLyjw2YC9fNqQ2/0Li4sVZa09+2Q1CirUpLUYrec9QTPpe17Vaoj5c1ih3EnOPt ydGdgHZUHenXxuxjh8hJRJwrIUmUPYUEWoSxBg+qoRRfbwGugB/ifaB2NNb6YsrP TchTzGsfxFgkAdYvfIaZV16FYxjeLY8cQu0d/wiYz40xCAjtb+F/nA8TRhru+od5 p6BmC/q9W4kS8lzmNu9HW8831TTGNNKUpc6EeBLNwhrPLTktmmzp/pBTA8bfT2dV pZVCLDBllZXOIhByidR3e9TQ9kKIFkG1jeFUVt7ZpNYtUaNwqjvFnanj+XdQpVGF
    o/n5eKlhlNLEy
  • From Jochen Sprickerhof@21:1/5 to All on Mon Jan 20 18:30:01 2025
    * Phil Wyett <[email protected]> [2025-01-20 17:10]:
    * A VM with Debian trixie install - standard utilities plus ssh server.

    Which arch has the VM?

    For --host=arm64 I have to generate an arm64 chroot and install crossbuild- >essential-arm64 for crossbuilds to work.

    If you want to cross build a package, i.e. your system is not arm64 and
    you want to compile a package that is arm64 you need a chroot from host
    system arch and sbuild will take care of the rest, no need to manually
    install crossbuild-essential-arm64 or anything. Did you try that?

    Cheers Jochen

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmeOhpEACgkQW//cwljm lDNQ7BAAh9W7AfynFNpIXBMZNQ4CCAege4xWDB9HDp+AQ6a+VbXmekMfl4rrVsTo lxX9RRnLPjHbwEDnifk1GXilRtVHzFNg3jQ1mUwiAiOu2LVmu/Itdc6S8JCM/V/R 99FjCjDoYFLbrRslPr+EPq4GuMdv3MBNbpVOVxpeQpkflhf+ukwuBL3QH10YLe0D syhK8DPKUMmTQhdI3ukSf8z6p5UoyQyzMeKNyTED10guLjHkbYTAkTUMVffbjXMu erOhvNDZYe/MRozumb1eO4BSj3UHCBaHvvw+Eh+24MPT9z9i0wqPwxDCccVCRH/T OLqTM+OpVIfyLR1gfwf5AWMwSv5mNt9VZVXXqNu/wtzTV3kbyotSK+9e8Y1w1o03 nukCqq7YLJdiGW5JX2yjWRSti2t/lQWhV6sxy3/yQBR8GAcYgBEig3PXaASRVLil X5lCmwCcWoCvcs0CwYTIqFgMeh0PnoPO+iKV/t8a8LTvcsyMAzOjpU62eXAYTPz4 p8iISIitwrtwWdpPIUHaAqVcQofXqX9QdLaYjV3REiM2x0g2z6JgdiJDsNFX8NqZ rT5rEnSZcAhzAXCW+h4Ic1ndfuitD2QmrHzv37yIV8Mad7jPvDjvOH8qeGNXZCqP t+/2MO8zj3UgHVX97eZsTR1XBv3vzwQYeJjGazwKZYN5zK3ADhM=
    =Ob4R
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrey Rakhmatullin@21:1/5 to Phil Wyett on Mon Jan 20 18:30:01 2025
    On Mon, Jan 20, 2025 at 05:18:01PM +0000, Phil Wyett wrote:
    I mainly ran into issue with autopkgtest

    Good.
    autopkgtest and package building are separate unrelated activities.


    --
    WBR, wRAR

    -----BEGIN PGP SIGNATURE-----

    iQJhBAABCgBLFiEEolIP6gqGcKZh3YxVM2L3AxpJkuEFAmeOhdctFIAAAAAAFQAP cGthLWFkZHJlc3NAZ251cGcub3Jnd3JhckBkZWJpYW4ub3JnAAoJEDNi9wMaSZLh kegP/R50asQZvQW4E3PSH7vcvMvxfc1Ol9qclTwKC2b1Nh1i6lYPGZGwsps4azZw dFF53YYRn5I/Kheo17QLEKBXMNWsxjZwpQ1/7Ja6fdNsce0RZxIlARWXcCOY1F7y G9JBX16OwbdTyBTqNXo3nWpv5n+qSEh0QYsFdjtx05EUHK6lj15LL6sV0KAhb59t 96Ed7jWfqrI/JrOP7aSw01UUH47VYruq0f4/RwRvILNUJ0KBvBuEhakDySUXinx6 OJ0aajrRWU5syjrSx/fiDq9N5ZLoPkICIgq+X53KFXGLAZqwrUy5KFzml4qsFRTm vcATKwsAAsp7NxdQ1pJ914OsL7ZfX6zBU+YaKaZq+59Rzy4J0TTJzzl1dHJZ7Zst /mOwSiV74M/MmjlWKFJDwplP6hdsEBZFpPqbcXi/IlrTj89bBwcwEw50z9oaDy+Q k7A6ldCiDf0qPuTwkbkEGkCpXInSxVyuZlo2G4AJjEZW2/jc6wCtE8lv2z/hLBon 2JPVKpE4Qy9h2NCKGkzyrW4nDUmIODY3YBe/AOAMFWHodpEOxdfZXZZyqZFSQv9I g8HvfcnCRs5plU3lt9S+VJMSxVErt77c3ofAGZxiuxoI9OJsx3C88JjRY/o6RNhS AoMO8W4xf/Aa6EuJsMq6d9FrSfR7tEM2EeTTfYY4zZIgAi9x
    =1Pa5
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phil Wyett@21:1/5 to Jochen Sprickerhof on Mon Jan 20 18:20:01 2025
    On Mon, 2025-01-20 at 17:53 +0100, Jochen Sprickerhof wrote:
    Hi Phil,

    * Phil Wyett <[email protected]> [2025-01-20 16:35]:
    https://wiki.debian.org/sbuild

    https://wiki.debian.org/sbuild#Cross-compiling_packages


    On the sbuild wiki page in the cross compiling section should we be advising
    users that they need to create a chroot for the {ARCH} they wish to cross build
    for and also have the relevant crossbuild-essential-{ARCH} package installed?

    No, why?

    Cross compiling means that you need that normal build arch chroot as
    initial set up. An other thing is using sbuild --arch=, that uses qemu
    most of the time, where you need the arch chroot.

    Cheers Jochen

    Hi,

    Ah... Let me describe my setup.

    * A VM with Debian trixie install - standard utilities plus ssh server.
    * sbuild, pbuilder, piuparts and reprotest etc. installed.
    * qemu is not the install.

    For --host=arm64 I have to generate an arm64 chroot and install crossbuild- essential-arm64 for crossbuilds to work.

    Regards

    Phil

    --

    Donations...

    Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

    --

    "I play the game for the game’s own sake"

    Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

    --

    Internet Relay Chat (IRC): kathenas

    Website: https://kathenas.org

    Instagram: https://instagram.com/kathenasorg

    Threads: https://www.threads.net/@kathenasorg

    --


    -----BEGIN PGP SIGNATURE-----

    iQJOBAABCAA4FiEEcKCsRax3nv6E9jrtckqptS8CTIsFAmeOg4EaHHBoaWxpcC53 eWV0dEBrYXRoZW5hcy5vcmcACgkQckqptS8CTIvLVQ//ayMb7YKMzHS6WRhKNg2j QiFynZUZVi5p24EfXHpg6Bpu6R2jt2UK15gSySiZe36NAB7/YTaVWVEnC4PEIaA0 rp6k0tbmwCw1K8X5uHxhrN1owF4RoOlVRT7o8cJcWvJVo4D1VZtyHHhzn90/5cyQ meR2j6U+epM1mQN0T8aY/bH6+zZgc+jaWDJ4ctmqW+O49PscyIT2aFPyXkOoy9lM Uf0zX/hDwErkNXEmSWetNkB+qtaRSrylTPTklcfPd+5TG9+vdcqg6laeTbgE4cNS 2mrCqWEgk/3ka6vKnFmbWERRRqlNxtKJ0RHs+Mkw0ZzzDOcurPO1l7NFI7FpjHn4 FeiYH1YaiRee/e0QV9M0ble9AUdHqoSZyiJCVVMjcFdVQmbdz6kJTqackE2KEDMT xAEjEW0aTafZjvCU9fDEEqvYOgHWVMv/L+2r/bZHjiRoUgkd40xm5Zxs8TUDafqp
    l/SvzRaGSK1wX
  • From Phil Wyett@21:1/5 to Phil Wyett on Mon Jan 20 18:20:02 2025
    On Mon, 2025-01-20 at 17:10 +0000, Phil Wyett wrote:
    On Mon, 2025-01-20 at 17:53 +0100, Jochen Sprickerhof wrote:
    Hi Phil,

    * Phil Wyett <[email protected]> [2025-01-20 16:35]:
    https://wiki.debian.org/sbuild

    https://wiki.debian.org/sbuild#Cross-compiling_packages


    On the sbuild wiki page in the cross compiling section should we be advising
    users that they need to create a chroot for the {ARCH} they wish to cross build
    for and also have the relevant crossbuild-essential-{ARCH} package installed?

    No, why?

    Cross compiling means that you need that normal build arch chroot as initial set up. An other thing is using sbuild --arch=, that uses qemu most of the time, where you need the arch chroot.

    Cheers Jochen

    Hi,

    Ah... Let me describe my setup.

    * A VM with Debian trixie install - standard utilities plus ssh server.
    * sbuild, pbuilder, piuparts and reprotest etc. installed.
    * qemu is not the install.

    For --host=arm64 I have to generate an arm64 chroot and install crossbuild- essential-arm64 for crossbuilds to work.

    Regards

    Phil


    Hi,

    I mainly ran into issue with autopkgtest which looked for --arch (unshare default config) and failed unless I generated the arm64 chroot.

    Regards

    Phil

    --

    Donations...

    Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

    --

    "I play the game for the game’s own sake"

    Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

    --

    Internet Relay Chat (IRC): kathenas

    Website: https://kathenas.org

    Instagram: https://instagram.com/kathenasorg

    Threads: https://www.threads.net/@kathenasorg

    --


    -----BEGIN PGP SIGNATURE-----

    iQJOBAABCAA4FiEEcKCsRax3nv6E9jrtckqptS8CTIsFAmeOhUkaHHBoaWxpcC53 eWV0dEBrYXRoZW5hcy5vcmcACgkQckqptS8CTItHCQ/+PNVSHUiaP/awslMKwHWU zJCpaxQyRBv9X86OgaImXuH9ZbQM84uoSxdwiRXdu43J0jImwombDrlcuzKpUmYr cVy2boRK1rWD9ApuvXQZfq8hlCjRhXf0ri7OQkAFviwdJburmyr2RNNLTzHCYV2E 08pfWpJTk9QFCZUXHqRY4iJcorfBqhVOSIYGwHkpstNc0d0GfMCOWWOKvj0Yuxqb sE5zlVehUJ1FXtzQ2+X/ZrhjVeCTSCRulhYB60JKxkYBAaLTvBebyHShb3Tve891 NmWfOjcSi5AChHbJfTIuYIQPuO6XpqeaUutq8n+iXE1YXlBcBu0AQwW1ZKnDLZRd ThC59veD4/Nx8eyqhQI9kNTTcHE+zIg13VXV/MehCDL+OerMYD/5aOrM/uMW+mWz PJoNp9iDt3YrS3h7OtVK00+qWn+4nDG75cKVxodopsTlctwxOcL2pO6N9gT4y93Q
    kpdbCDwmt2HkM
  • From Phil Wyett@21:1/5 to Jochen Sprickerhof on Mon Jan 20 18:40:01 2025
    On Mon, 2025-01-20 at 18:23 +0100, Jochen Sprickerhof wrote:
    * Phil Wyett <[email protected]> [2025-01-20 17:10]:
    * A VM with Debian trixie install - standard utilities plus ssh server.

    Which arch has the VM?

    For --host=arm64 I have to generate an arm64 chroot and install crossbuild- essential-arm64 for crossbuilds to work.

    If you want to cross build a package, i.e. your system is not arm64 and
    you want to compile a package that is arm64 you need a chroot from host system arch and sbuild will take care of the rest, no need to manually install crossbuild-essential-arm64 or anything. Did you try that?

    Cheers Jochen

    Hi,

    The VM arch is amd64.

    I have a build running at the moment. When it completes (probably the early hours of tomorrow), I will clone it and perform tests to see what is and is not required.

    Regards

    Phil

    --

    Donations...

    Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

    --

    "I play the game for the game’s own sake"

    Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

    --

    Internet Relay Chat (IRC): kathenas

    Website: https://kathenas.org

    Instagram: https://instagram.com/kathenasorg

    Threads: https://www.threads.net/@kathenasorg

    --


    -----BEGIN PGP SIGNATURE-----

    iQJOBAABCAA4FiEEcKCsRax3nv6E9jrtckqptS8CTIsFAmeOiEgaHHBoaWxpcC53 eWV0dEBrYXRoZW5hcy5vcmcACgkQckqptS8CTIuHtQ//dsTBXjgqG5rBdAC/ZWzf gJEPGXKV76ZLSGO13U5fc/mrNXPUv9ri762mJIbHZUItUFBgBBv5rq9abxlvXktf 6IyLhbO/6EJe6ikjTlNzJIy9fpfO9hdcfmhj15tADLmzimWxZGwzdYMKPqzCZofC Q82lfJUZLwC79jz4waEM6f6GbLLRUQ5PraZwB8o5T0lOWCYMIgSuJcxkz9yct8w0 Po9cQ9jSoWB+/F/MGD2LfxxN4FIu0zxUoy4zgaeb6djcL7xpK2GHgJEaJco9jbLJ 7n894zdrh1UtqKSJwb6V6O9s3+rdvrwFjwUWCVlIYZVLJ3Gtkh1RkR7/15FE7+4x r6t6tEGIUeHNk4DPMerPU0NAINXydkU95jZhcpqCRToQ+mxQ5qwjVSd4SpzvQ8Rt 9CWmBpwTD9O31qQOPKnIm6L1GfdUg1pNzyM/fAP/dzCckYlVrfV+fdpVDaSCJHft
    zxw7heVdp64wv
  • From Jochen Sprickerhof@21:1/5 to All on Mon Jan 20 19:00:01 2025
    * Phil Wyett <[email protected]> [2025-01-20 17:18]:
    I mainly ran into issue with autopkgtest which looked for --arch (unshare >default config) and failed unless I generated the arm64 chroot.

    sbuild passes --arch to autopkgtest as you can't run tests in a cross
    compile setup. autopkgtest then uses qemu to run them. This works in
    principal but is really slow so I recommend to run autopkgtest on a
    native system and not via sbuild when cross compiling. Also note that autopkgtest-virt-unshare, like sbuild, can create chroots automatically
    in trixie and I would prefer to drop the chroot creation parts from the
    wiki page instead at some point.

    Cheers Jochen

    -----BEGIN PGP SIGNATURE-----

    iQIzBAABCgAdFiEEc7KZy9TurdzAF+h6W//cwljmlDMFAmeOjLAACgkQW//cwljm lDP4Cw/9FAyTgGQAADhAhPpQ5/THmIKes0HXHE4m5EawMQWru+uCV4Uag5bXCwMD URGl2sRdVVxOQscuKrezywUSeACCWFpA9nRQfsBYIZe+S+v/sjBAeLX1mFSXN/9y lGPn3FDRw/bG2q1NIDJH023XPgqfiHInRy6MLd4a6XezPqcMJYaJHDLc3uSLj+On XDQCUtOB6eEsHteAJeRw5AFNGywbbH+obZRKtuzu6L0fGVDuzXpFewUpOnGk+ikC P7mRVD6c7gphnVReuUz31I7g1TI757cifJEJ1EfemoGnizWxGZmIImgjlZYyym7C ytLwbCLDIzYApsPxGMYDOYrC73udEq4u+Hg10oUjMGuZh5kDXxiF89yQvgb2tNxk rEbmpEIot8CFx83Ju9GI6JBRibbGZ7L3yMN1tYFHSp86PhvQvx42LTts97Sk0RB2 d4ZQzYmLGAW66zW4AhIJpVrtXrRlEJgbdc0nWQpAx+vw2SRnC2eqc9wQ1Cb7qRFT 4nzxWy4DfkW8Bp7WAOWaEzsJfqKUlhOfZ6cgR1435RYyOXZh8hZ692eOMvFudMUe S3VG39FRGc6aLmmAvJUEJ3MwvgmfQUOugo71YA+aXJ62FSL8+3Hdm03MKBg9vDq1 GfcaDork9whfALMvAIOONAY1GrsGqOlFum2EdqiMnwHQR+dGG/w=
    =LdpN
    -----END PGP SIGNATURE-----

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Phil Wyett@21:1/5 to Jochen Sprickerhof on Tue Jan 21 10:50:01 2025
    On Mon, 2025-01-20 at 18:23 +0100, Jochen Sprickerhof wrote:
    * Phil Wyett <[email protected]> [2025-01-20 17:10]:
    * A VM with Debian trixie install - standard utilities plus ssh server.

    Which arch has the VM?

    For --host=arm64 I have to generate an arm64 chroot and install crossbuild- essential-arm64 for crossbuilds to work.

    If you want to cross build a package, i.e. your system is not arm64 and
    you want to compile a package that is arm64 you need a chroot from host system arch and sbuild will take care of the rest, no need to manually install crossbuild-essential-arm64 or anything. Did you try that?

    Cheers Jochen

    Hi Jochen and all,

    Indeed, the crossbuild-essential-* were not necessary and have now been removed.

    I will be keeping the arm64 riscv64 chroots to enable autopkgtest to run successfully with sbuild and I find the tests run extremely quickly.

    Running native methods mentioned I will test on another laptop I shall make full Debian testing. These things are not possible on my daily driver that due to circumstance it runs Red Hat Enterprise Linux 9.x.

    Regards

    Phil

    --

    Donations...

    Buy Me A Coffee: https://buymeacoffee.com/kathenasorg

    --

    "I play the game for the game’s own sake"

    Arthur Conan Doyle - The Adventure of the Bruce-Partington Plans

    --

    Internet Relay Chat (IRC): kathenas

    Website: https://kathenas.org

    Instagram: https://instagram.com/kathenasorg

    Threads: https://www.threads.net/@kathenasorg

    --


    -----BEGIN PGP SIGNATURE-----

    iQJOBAABCAA4FiEEcKCsRax3nv6E9jrtckqptS8CTIsFAmePa/QaHHBoaWxpcC53 eWV0dEBrYXRoZW5hcy5vcmcACgkQckqptS8CTItuQA//b4h0PiiHyLruHPKDHUKQ /nurOEjI2XNvXYIdJA7na2gl69Shrsl5CIieLxUopeHqWs6ALX+mMp+CDf8ABsvf sZ4YCz14PTDm/CEhtVLWVS9oHHpPA6GdvklN+vxRQ4wjsmz6NBkCCMBqtbkqgmJ/ nVaUrBgKAfRIQDKK9aI49qK8r/DPfn+HKc5edu/Fqa6JJwk5DgIMZAKNaTKLNJbs JTRu8YQ0kaZ9T0rYoj0Sn8dQgi3J6f7rFeTYaG2ROzd7tV4HXhxMcwPXLtrOsMbO 8EdZg76wBxMnn8JXyT012fNPSJ5f1S3CI0jcWl+oQejnKVOZCkw7J5j0+iACjmP3 bkPg3n9ZpdYZqHjx1NLUd8HCZcLqnNUgOTwAjeWG4mD+AN6wUk8VQrBP8np4MDX5 z0eVfeLqxIAJI13fGggwhK3g43ffvCfel1UkWAq58JdniB29Wwi8AmvLi68p7eOx
    /pa/8yoGrq3j1