Re: Re: Re: OpenLiteSpeed Build Script Violating Debian Upstream Guide
On 2020-03-07 15:47 +0700, Bagas Sanjaya wrote: > > Packages must be self-contained, using only their contents and the Debian > > repo during the build process. There are multiple technical and > > non-technical reasons for this requirement, including knowing that the > > package is DFSG-compliant and being able to always rebuild the package. > But I found that `configure` script shipped with the OLS sources also invoke > `git-clone` > > BoringSSL instead of relying on yet-to-be-packaged Debian package, though So you need to package boringSSL before uploading this package. Including this local patch assuming that it is necessary - and in the process try to get that patch upstreamed in which case you will be able to drop it. Separately packaging build-dependencies is good policy, although it's not an absolute requirement (unlike the network download). You could ship a copy of the patched boringSSL as part of the openlightspeed source. But check how many other debian packages actually use boringSSL. There may be several packages in the same boat. (e.g when I packaged something that had an embedded copy of libsquish it turned out that 6 other packages were also shipping an embedded or patched embedded version, and it was fairly straightforward (with a bit of help from upstream) to incorporate all the various patches into one libsquish which then all those packages could just depend on. This is the right way to do things, but it does of course take more time and work then just stuffing yet another embedded 3rd party library into the source. Ideally upstreams would be doing this work, but many leave it to distros to tidy up their mess (and incorporate their laziness into build systems which just adds more bodging to undo). Wookey -- Principal hats: Linaro, Debian, Wookware, ARM http://wookware.org/ signature.asc Description: PGP signature
Re: Re: Re: OpenLiteSpeed Build Script Violating Debian Upstream Guide
On Sat, Mar 07, 2020 at 03:47:56PM +0700, Bagas Sanjaya wrote: > > Packages must be self-contained, using only their contents and the Debian > > repo during the build process. There are multiple technical and > > non-technical reasons for this requirement, including knowing that the > > package is DFSG-compliant and being able to always rebuild the package. > But I found that `configure` script shipped with the OLS sources also invoke > `git-clone` So? That's unacceptable too. -- WBR, wRAR signature.asc Description: PGP signature
Re: Re: Re: OpenLiteSpeed Build Script Violating Debian Upstream Guide
Packages must be self-contained, using only their contents and the Debian repo during the build process. There are multiple technical and non-technical reasons for this requirement, including knowing that the package is DFSG-compliant and being able to always rebuild the package. But I found that `configure` script shipped with the OLS sources also invoke `git-clone` BoringSSL instead of relying on yet-to-be-packaged Debian package, though I didn't mention the actual command in the script itself. -- An old man doll... just what I always wanted! - Clara
Re: Re: OpenLiteSpeed Build Script Violating Debian Upstream Guide
On Sat, Mar 07, 2020 at 10:35:13AM +0700, Bagas Sanjaya wrote: > > No. > > And downloading stuff during the build process is strictly prohibited, not > > just discouraged. > > > Why did you say that? Why Debian prohibit downloading stuffs (including git > clone repository) during build process? Packages must be self-contained, using only their contents and the Debian repo during the build process. There are multiple technical and non-technical reasons for this requirement, including knowing that the package is DFSG-compliant and being able to always rebuild the package. -- WBR, wRAR signature.asc Description: PGP signature
Re: Re: OpenLiteSpeed Build Script Violating Debian Upstream Guide
No. And downloading stuff during the build process is strictly prohibited, not just discouraged. Why did you say that? Why Debian prohibit downloading stuffs (including git clone repository) during build process? -- An old man doll... just what I always wanted! - Clara