[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help needed for cross-building tsocks



Hi Nilesh,

On Mon, Aug 18, 2025 at 03:43:55PM +0530, Nilesh Patra wrote:
> Interestingly, your mail arrived now (after 3 days) and headers suggest that there was a lot of delay b/w your SMTP and debian relay servers.

The delay is partially deliberate. It occasionally happens that I send
angry mails and the delay allows me to delete a mail instead of
regretting it though three days has turned out to be excessive.

> Do you find it acceptable to use libc6-dev instead? It would at least make the package cross build on release architectures (if not ports) and is incrementally better than current situation.

No. I think cross build fixes should not regress ports architecture
builds.

Reading Dpkg/Substvars.pm, "my $maxsubsts = 50;" jumped into my eyes.
It suggests to me that expansion could be recursive. Would it be
possible to define a variable containing the C library name and then
interpolate it?

Built-Using: ${dh-builtusing:${libcdev:Package}}

I haven't tried it. I'm merely guessing. The other option could be
listing an invalid package:

Build-Using: ${dh-builtusing:libc6-dev}, ${dh-builtusing:lib6.1-dev}, ${dh-builtusing:libc0.3-dev}, ${dh-builtusing:musl-dev}

I kinda expect this latter variant to error out when it misses one of
those packages.

If all of this fails, consider doing your own substitution variable and
generating suitable content yourself.

Helmut


Reply to: