#968529 s3switch: probably shouldn't use install -s

#968529#5
Date:
2020-08-16 22:48:03 UTC
From:
To:
A bug report against fteqcc (#968524) prompted me to look for other
instances of the same anti-pattern on codesearch.debian.net.

d/rules in s3switch sets INSTALL_PROGRAM to 'install -s'. However,
invoking 'install -s' is usually only harmful for a Debian package,
not helpful: it discards debugging symbols that could otherwise
have gone into a -dbgsym package, and when cross-compiling it uses
the wrong strip(1) implementation (from the build rather than host
architecture). Unconditionally using INSTALL_PROGRAM = install would
likely be better. Or, you could just use

    s3switch usr/bin

in debian/s3switch.install, and you wouldn't need the install step at all.

    smcv

#968529#10
Date:
2020-09-08 20:15:34 UTC
From:
To:
tag 968529 pending
thanks

Hi Simon,

Thanks for the report. I chose the latter of your suggestions (and
added dh_install).

I maintain the code at git@salsa.debian.org:tormod-guest/s3switch.git
Can you please create the repo at
git@salsa.debian.org:xorg-team/app/s3switch.git ?

Best regards,
Tormod

#968529#17
Date:
2020-09-08 20:58:12 UTC
From:
To:
Scratch that, the repo is already there now. But I cannot push to it.
If anyone can pull from mine and push there it would be good.

Tormod

#968529#22
Date:
2025-02-28 09:49:11 UTC
From:
To:
[Tormod Volden 2020-09-08]

As far as I can tell, someone already pushed the changes from
<URL: https://salsa.debian.org/tormod-guest/s3switch.git > to
<URL: https://salsa.debian.org/xorg-team/app/s3switch.git >.

What is next to get this fix into unstable?  The package have not seen
an upload since 2011, so I guess it might be time for an update.