Article View: linux.debian.bugs.rc
Article #2624Bug#1152371: oscar: unregistered vendor copy of botan
From: Sergio Durigan Junior
Date: Sun, 08 Nov 2026 04:00
Date: Sun, 08 Nov 2026 04:00
111 lines
7170 bytes
7170 bytes
--=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Monday, 02 November 2026, Helmut Grohne wrote: > Hi Sergio, Hi Helmut, > On Sun, Nov 01, 2026 at 09:31:27PM -0500, Sergio Durigan Junior wrote: >> I don't vehemently disagree with you, but if upstream chose to keep >> -Werror in the release then I tend to follow their lead here. For >> example, OSCAR has this snippet in their .pro file: >>=20 >> --8<---------------cut here---------------start------------->8--- >> # Always treat warnings as errors, even (especially!) in release >> QMAKE_CFLAGS +=3D -Werror >> QMAKE_CXXFLAGS +=3D -Werror >> --8<---------------cut here---------------end--------------->8--- >>=20 >> So using -Werror in the release build was intentional. I understand we >> may see FTBFSes due to that, but I'm personally willing to go through >> the trouble of reporting problems upstream in this case. > > To me, that's precisely the problem. Keeping -Werror in your CI allows > you to go through the trouble of handling those FTBFSes. Enabling it in > the package makes *others* go through that trouble. That's fair. I'll put in my TODO list to disable -Werror in the next upload. >> Ah, right. I thought this was a problem with OSCAR itself. In this >> case, let's keep things in this bug. > >> It wasn't as hard as I was thinking, although TBH I haven't checked if >> upstream is patching their amalgamation of botan (I don't think so). >>=20 >> I've just uploaded the package to experimental; feel free to take a look >> at the patch and let me know. I will probably give it a week before >> uploading to unstable, unless upstream agrees with my changes. > > I spent a brief look and it mostly looks fine. In principle, this could > be upstreamable if changing two more aspects. I guess upstream would > want to keep the vendor copy, so adding a conditional for selecting the > vendored vs system one would likely be required. The other aspect is > using pkg-config to discover the flags for botan. Maybe you can try this > snippet? > > CONFIG +=3D link_pkgconfig > PKGCONFIG +=3D botan-3 Yes, that works, thanks. I wondered what it would take to make the build use the pkgconfig file, but honestly I didn't have more time to investigate. >> Oh, I haven't unvendored the existing botan either. We can do that >> later. > > I don't think there is much point in repacking the source to remove the > vendored botan so long as it is distributable (and it is). The problem > to solve here is not copying vulnerabilities and that is achieved by > linking the system version. To me, your experimental upload fully > addresses the reported problem. Upstream released version 2.1.1 in the meantime, so I packaged that and took the opportunity to repack the tarball and remove the vendored botan. I've just uploaded the new package with the changes. > How about also looking at bookworm and trixie? Unvendoring botan there > probably is not appropriate. But maybe updating the > debian-security-support package to call oscar unsupported in those > releases would be worthwhile? > > See for example > https://sources.debian.org/src/debian-security-support/1%3A14%2B2026.05.0= 7/security-support.deb13 That's a good idea. As I said in my previous message my Debian time is pretty limited nowadays, so I don't know when I'll be able to get to this. Feel free to do it if you're in a hurry. Thanks, =2D-=20 Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible https://sergiodj.net/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJKBAEBCgA0FiEEI3pUsQKHKL8A7zH00Ot2KGX8XjYFAmrv7xwWHHNlcmdpb2Rq QHNlcmdpb2RqLm5ldAAKCRDQ63YoZfxeNls1D/9+Fzz+aFPDFjxqvoU2QQY7o2Y/ /rpKU5Yd1ipQoHcrktC4MBdMb/OPXX/LFN35PLO3x2ltrcVKaYxf/v3QBCST+D6g EE5t9Fgzmx3ugUnnlq+vkzjje7lkWkRPUU/ykuc2M6fcinDphMUmsQTtO+8yteED LTTPtrfyTTVySFuTZDhERnxuDC0CHbiZRQukO9VU+WjO5CL1MWRt/gUbRapFU/AI l8KgLgvzSOAqjCBO0vlMe09jGYJwtUpW9crcND7xdTtBiyP9JtEpYfbHsH1eXAfF NQbuP+5TE2ZTkcTm3GHNuQ9c20WjRwMykmyv78XdDwGzEwgMEOFxekz6aNS94ULc YUQoWfVPZJ4HJeUyf3xQt2Ujk2mukAF5/i8HD0oUL94BnoUHPQa8BA37FjjNYYep dTVRwFBb1vwaqLUngOmWNRKrFjFKP73WTBlCz38F5NxuLIFHeCUhIwVAGM5YVm7y wLhp0TPuRrYzXhOHkFrA6xfbD3A/guoAVhKAHVRXWZi3acPtila+Gk2RdHlMGO/i 2BIF7aQGAApR9UvuOGx8epnMn4l4a4j8GYWBHipc1qJaaB6RNBbkiBJpXtHpqrOm KLZIVLY/yAuZtxJ1YPx5hjPPKGoa0+GE86Rg3uJfDoGCzds06yR6TiOi+hY5yNOV V4CpyCmDx/2sBdi5XQ== =jAyx -----END PGP SIGNATURE----- --=-=-=--
Technical Details
Message-ID:
<NX2et-axuc-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomodReferences:
<NTeed-8rU2-13@gated-at.bofh.it> <NTJi1-8ICA-5@gated-at.bofh.it> <NUobv-94sU-5@gated-at.bofh.it> <NUQhr-9k7P-1@gated-at.bofh.it> <NTeed-8rU2-13@gated-at.bofh.it> <NV78B-9tbZ-1@gated-at.bofh.it> <NTeed-8rU2-13@gated-at.bofh.it> <NV78B-9tbZ-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod From: Sergio Durigan Junior <sergiodj@sergiodj.net> Newsgroups: linux.debian.bugs.rc Subject: Bug#1152371: oscar: unregistered vendor copy of botan Date: Sun, 08 Nov 2026 05:00:01 +0100 Message-ID: <NX2et-axuc-5@gated-at.bofh.it> References: <NTeed-8rU2-13@gated-at.bofh.it> <NTJi1-8ICA-5@gated-at.bofh.it> <NUobv-94sU-5@gated-at.bofh.it> <NUQhr-9k7P-1@gated-at.bofh.it> <NTeed-8rU2-13@gated-at.bofh.it> <NV78B-9tbZ-1@gated-at.bofh.it> <NTeed-8rU2-13@gated-at.bofh.it> <NV78B-9tbZ-1@gated-at.bofh.it> X-Original-To: Helmut Grohne <helmut@subdivi.de> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Sun Nov 8 03:57:07 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.45 Reply-To: Sergio Durigan Junior <sergiodj@sergiodj.net>, 1152371@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: debian-med-packaging@lists.alioth.debian.org X-Debian-Pr-Message: followup 1152371 X-Debian-Pr-Package: src:oscar X-Debian-Pr-Keywords: security X-Debian-Pr-Source: oscar User-Agent: mu4e 1.14.2; emacs 31.1.50 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Report-Abuse: Please forward a copy of this message, including all headers, to <abuse-report@smtp2go.com> Feedback-ID: 1044564m:1044564aEhjoWm:1044564sABUZ4rLda X-Smtpcorp-Track: mGkKt_AbBMl5.OuWvPglwtpqL.VKp4FwogYUY X-Greylist: delayed 903 seconds by postgrey-1.37 at buxtehude; Sun, 08 Nov 2026 03:55:24 UTC X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/837542 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 111 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: 1152371@bugs.debian.org X-Original-Date: Sat, 07 Nov 2026 22:40:12 -0500 X-Original-Message-ID: <87zevkt2hv.fsf@sergiodj.net> X-Original-References: <20261027200150.GA485264@subdivi.de> <87a4nwvwkn.fsf@sergiodj.net> <20261030055804.GA3105568@subdivi.de> <87jymwufpc.fsf@sergiodj.net> <20261027200150.GA485264@subdivi.de> <20261102110451.GA1920252@subdivi.de> <20261027200150.GA485264@subdivi.de> <20261102110451.GA1920252@subdivi.de>