Hi Helmut,

On 20 June 2025 at 06:50, Helmut Grohne wrote:
| Source: jags
| Version: 4.3.2-1
| Tags: patch
| User: [email protected]
| Usertags: cross-satisfiability
| 
| jags cannot be cross built from source, because it depends on g++ and
| gfortran. These dependencies refer to the host architecture toolchain
| installed for the host architecture. If it were installable, it could
| not be run. What is really needed here is a native toolchain for the
| host architecture. We may get that by appending a "-for-host" suffix.
| That comes with a downside attached though. We may no longer just run
| "gfortran" and instead must invoke it as "${DEB_HOST_GNU_TYPE}-gfortran"
| even in native builds. dpkg's buildtools.mk may export a suitable F77

What do you mean by "may" ? It either does, or doesn't, no? Did you apply the
patch and it built as desired?

| environment variable to achieve that. I'm attaching a patch meant for
| forky for your convenience.

Happy to apply it. Adding a single line of including buildtools.mk (plus
debian/control adjustment) is pretty clean.

Cheers, Dirk
 
| Helmut
| x[DELETED ATTACHMENT jags_4.3.2-1.1.debdiff, plain text]

-- 
dirk.eddelbuettel.com | @eddelbuettel | [email protected]

Reply via email to